/* ============================================================
   Core Industrial Solutions — Demo Rebuild
   Single font family, semantic structure, minimal footprint.
   Compare: live site loads 33 CSS files / 20 JS files / 4 fonts.
   This file + 1 font family + ~1 small JS file replaces all of it.
   ============================================================ */

:root {
  /* Real brand colors, pulled from the live site's Elementor global palette */
  --navy: #063A90;
  --navy-2: #042F6C;
  --amber: #FA6F01;
  --amber-dark: #C45A00;
  --cream: #FDF1E7;
  --ink: #222334;
  --grey-700: #55586b;
  --grey-400: #94a3b8;
  --grey-100: #F5F4F5;
  --grey-border: #DCDCDC;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(6, 58, 144, 0.1);
  --max: 1200px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
section { padding: 72px 0; }
.section-tight { padding: 48px 0; }
.section-alt { background: var(--grey-100); }

h1, h2, h3, h4, h5, h6 { font-family: var(--font); font-weight: 700; color: var(--navy); line-height: 1.25; margin: 0 0 16px; }
h1 { font-size: clamp(2rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 16px; color: var(--grey-700); }
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber-dark);
  margin-bottom: 10px;
}
.lede { font-size: 1.125rem; color: var(--grey-700); max-width: 640px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-primary { background: var(--amber); color: var(--white); }
.btn-primary:hover { background: var(--amber-dark); transform: translateY(-1px); }
.btn-outline { border-color: var(--white); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-outline-dark { border-color: var(--navy); color: var(--navy); }
.btn-outline-dark:hover { background: var(--navy); color: var(--white); }

/* ---------- Skip link (accessibility) ---------- */
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--amber); color: #fff;
  padding: 12px 20px; z-index: 999; border-radius: 0 0 6px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Utility bar (phone/email — kept for AU trust/NAP signals, moved out of the main nav row) ---------- */
.utility-bar { background: var(--navy-2); color: #cfe0ff; font-size: 0.82rem; }
.utility-bar .container { display: flex; justify-content: flex-end; gap: 28px; padding: 8px 24px; }
.utility-bar a { display: inline-flex; align-items: center; gap: 6px; color: #cfe0ff; font-weight: 500; }
.utility-bar a:hover { color: var(--white); }
.utility-bar svg { opacity: 0.85; }
@media (max-width: 640px) { .utility-bar .container { gap: 16px; } .utility-bar a span { display: none; } }
@media (max-width: 480px) { .utility-bar { display: none; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid #e7eaee;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; gap: 20px; }
.logo { flex: 0 0 auto; }
.logo img { height: 40px; width: auto; }
.main-nav { flex: 1 1 auto; display: flex; justify-content: center; }
.main-nav ul { display: flex; gap: clamp(14px, 2vw, 26px); align-items: center; flex-wrap: nowrap; }
.main-nav a { font-weight: 600; font-size: 0.92rem; color: var(--navy); padding: 6px 2px; border-bottom: 2px solid transparent; white-space: nowrap; }
.main-nav a:hover, .main-nav a[aria-current="page"] { border-color: var(--amber); }
.main-nav li.menu-item-has-children { position: relative; font-weight: 600; font-size: 0.92rem; color: var(--navy); cursor: default; padding: 6px 2px; white-space: nowrap; }
.main-nav ul.sub-menu { display: none; position: absolute; top: 100%; left: 0; padding-top: 14px; min-width: 220px; z-index: 20; }
.main-nav ul.sub-menu::before { content: ""; position: absolute; top: 6px; left: 0; right: 0; bottom: 0; background: var(--white); border: 1px solid #e7eaee; border-radius: var(--radius); box-shadow: var(--shadow); z-index: -1; }
.main-nav ul.sub-menu { padding-left: 10px; padding-right: 10px; padding-bottom: 10px; }
.main-nav li.menu-item-has-children:hover ul.sub-menu, .main-nav li.menu-item-has-children:focus-within ul.sub-menu { display: block; }
.main-nav ul.sub-menu li { width: 100%; }
.main-nav ul.sub-menu li + li { margin-top: 4px; }
.main-nav ul.sub-menu a { padding: 8px 10px; border-radius: 6px; white-space: normal; }
.main-nav ul.sub-menu a:hover { background: var(--grey-100); border-color: transparent; }

.header-cta { flex: 0 0 auto; display: flex; align-items: center; gap: 16px; }
.header-cta .phone { font-weight: 700; color: var(--navy); font-size: 0.92rem; white-space: nowrap; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 40px; height: 40px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; }

@media (max-width: 1140px) {
  .header-cta .phone { display: none; }
  .main-nav ul { gap: 16px; }
}
@media (max-width: 900px) {
  .site-header .container { flex-wrap: nowrap; }
  .main-nav { position: fixed; inset: 68px 0 0 0; background: var(--white); transform: translateX(100%); transition: transform .25s ease; overflow-y: auto; justify-content: flex-start; }
  .main-nav.open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; align-items: stretch; padding: 24px; gap: 4px; width: 100%; }
  .main-nav a { display: block; padding: 14px 4px; width: 100%; border-bottom: 1px solid #eef0f3; }
  .main-nav li.menu-item-has-children { padding: 14px 4px; border-bottom: 1px solid #eef0f3; }
  .main-nav ul.sub-menu { position: static; display: block; box-shadow: none; border: none; padding: 4px 0 0 14px; }
  .nav-toggle { display: flex; }
  .header-cta .btn-primary { padding: 11px 16px; font-size: 0.85rem; }
}
@media (max-width: 480px) {
  .header-cta .btn-primary span.btn-label-full { display: none; }
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { padding: 14px 0; font-size: 0.85rem; color: var(--grey-400); }
.breadcrumbs a { color: var(--grey-700); }
.breadcrumbs a:hover { color: var(--amber-dark); }
.breadcrumbs span[aria-current] { color: var(--navy); font-weight: 600; }

/* ---------- Hero (full-bleed photo + brand gradient overlay, matches live site) ---------- */
.hero {
  position: relative;
  color: var(--white);
  padding: 110px 0 0;
  overflow: hidden;
  background: #0a2a63 url("../img/hero-pump.jpg") center/cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(70deg, rgba(6,58,144,0.94) 0%, rgba(118,0,0,0.35) 100%);
}
.hero .container { position: relative; z-index: 1; padding-bottom: 96px; }
.hero .eyebrow { color: #ffd9ad; }
.hero h1 { color: var(--white); max-width: 680px; }
.hero p.lede { color: #dbe4f5; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

.feature-strip {
  position: relative;
  z-index: 2;
  margin-top: -64px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  overflow: hidden;
}
.feature-strip .fs-item { padding: 34px 30px; display: flex; gap: 16px; align-items: flex-start; }
.feature-strip .fs-item.fs-cta { background: var(--amber); color: var(--white); }
.feature-strip .fs-icon {
  width: 50px; height: 50px; min-width: 50px; border-radius: 50%;
  border: 1.5px solid var(--amber); display: flex; align-items: center; justify-content: center;
  color: var(--amber-dark); font-size: 1.2rem;
}
.fs-item.fs-cta .fs-icon { border-color: rgba(255,255,255,0.6); color: var(--white); }
.feature-strip h3 { font-size: 1.05rem; margin-bottom: 6px; }
.fs-item.fs-cta h3 { color: var(--white); }
.feature-strip p { font-size: 0.9rem; margin: 0; }
.fs-item.fs-cta p { color: rgba(255,255,255,0.9); }
@media (max-width: 860px) { .feature-strip { grid-template-columns: 1fr; } .hero .container { padding-bottom: 0; } .feature-strip { margin-top: 32px; position: static; } }

.page-hero {
  position: relative;
  color: var(--white);
  padding: 64px 0 72px;
  overflow: hidden;
  background: #0a2a63 url("../img/hero-pump.jpg") center/cover no-repeat;
}
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(70deg, rgba(6,58,144,0.93) 0%, rgba(118,0,0,0.3) 100%); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); margin-bottom: 10px; }
.page-hero p { color: #dbe4f5; max-width: 640px; }
.page-hero .eyebrow { color: #ffd9ad; }

/* ---------- Grids / cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 1px solid #e7eaee;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.card h3 { margin-bottom: 8px; font-size: 1.1rem; }
.card p { margin-bottom: 0; font-size: 0.95rem; }
.icon-badge {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(250,111,1,0.1); color: var(--amber-dark);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; margin-bottom: 14px;
}

/* ---------- Stats / counters ---------- */
.stats-media { position: relative; }
.stats-media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.stats-badge {
  position: absolute; right: -20px; bottom: -20px;
  width: 130px; height: 130px; border-radius: 50%;
  background: var(--white); box-shadow: var(--shadow);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
}
.stats-badge strong { font-size: 1.9rem; color: var(--amber); line-height: 1; }
.stats-badge span { font-size: 0.75rem; color: var(--navy); font-weight: 600; margin-top: 4px; }
.stats-section { text-align: center; }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 40px; }
.stats-row .stat-num { font-size: 2.6rem; font-weight: 800; color: var(--amber); line-height: 1; }
.stats-row .stat-label { font-size: 0.95rem; color: var(--navy); font-weight: 600; margin-top: 8px; }
@media (max-width: 760px) { .stats-row { grid-template-columns: repeat(2, 1fr); } }

/* Homepage trust stats: front-page.php actually renders "stat-row"/"stat-item"
   (no "s") — kept as its own rule so a future edit to the block above can't
   silently break this section again. */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-row .stat-item { display: flex; flex-direction: column; align-items: center; }
.stat-row .stat-num { font-size: 2.6rem; font-weight: 800; color: var(--amber); line-height: 1; }
.stat-row .stat-label { font-size: 0.95rem; color: var(--navy); font-weight: 600; margin-top: 8px; }
@media (max-width: 760px) { .stat-row { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; } }

/* ---------- Why choose us (line icons, no cards — matches live site) ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 32px; margin-top: 40px; }
.why-item { display: flex; gap: 18px; align-items: flex-start; }
.why-icon {
  width: 56px; height: 56px; min-width: 56px; border-radius: 50%;
  border: 1.5px solid var(--amber); color: var(--amber-dark);
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem;
}
.why-item h3 { font-size: 1.05rem; margin-bottom: 4px; }
.why-item p { font-size: 0.92rem; margin: 0; }
@media (max-width: 860px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }

/* ---------- Industry / case-study photo cards ---------- */
.industry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 36px; }
@media (max-width: 960px) { .industry-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .industry-grid { grid-template-columns: 1fr; } }
.industry-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.industry-card .ic-head { padding: 22px 24px 18px; display: flex; gap: 14px; align-items: flex-start; }
.industry-card .ic-icon { width: 40px; height: 40px; min-width: 40px; color: var(--amber-dark); font-size: 1.3rem; }
.industry-card h3 { font-size: 1.15rem; margin: 0 0 6px; }
.industry-card .ic-head p { font-size: 0.88rem; margin: 0; }
.industry-card img { aspect-ratio: 16/10; object-fit: cover; display: block; width: 100%; }
.industry-card .ic-image { aspect-ratio: 16/10; overflow: hidden; }
.industry-card .ic-body { padding: 20px 24px 22px; display: flex; flex-direction: column; flex: 1; }
.industry-card .ic-body p { font-size: 0.92rem; margin: 0 0 4px; opacity: 0.75; }

/* ---------- Two column feature ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature img { border-radius: var(--radius); box-shadow: var(--shadow); }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; gap: 32px; } }
.feature.reverse .feature-media { order: 2; }
@media (max-width: 860px) { .feature.reverse .feature-media { order: 0; } }

/* ---------- Process steps ---------- */
.steps { counter-reset: step; display: flex; flex-direction: column; gap: 0; max-width: 760px; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 26px 0; border-bottom: 1px solid #e7eaee; }
.step:last-child { border-bottom: none; }
.step-num {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy); color: var(--white); font-weight: 700;
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
}
.step h3 { margin-bottom: 6px; }
.step p { margin-bottom: 0; }

/* ---------- FAQ — two-column, numbered (matches live site's layout) ---------- */
.faq-columns { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
.faq-columns .faq-heading { position: sticky; top: 100px; }
.faq-list { display: flex; flex-direction: column; }
.faq-row { padding: 22px 0; border-bottom: 1px solid var(--grey-border); }
.faq-row:first-child { padding-top: 0; }
.faq-q { font-weight: 700; color: var(--navy); margin-bottom: 8px; font-size: 1.02rem; }
.faq-q span { color: var(--amber-dark); }
.faq-a { margin: 0; font-size: 0.95rem; }
@media (max-width: 860px) { .faq-columns { grid-template-columns: 1fr; gap: 20px; } .faq-columns .faq-heading { position: static; } }

/* Kept for the accordion-free FAQPage still eligible for rich results —
   this markup renders fully expanded like the live site, matching its UX. */
.faq-item { border-bottom: 1px solid #e7eaee; }
.faq-item summary {
  cursor: pointer; padding: 18px 0; font-weight: 700; color: var(--navy);
  list-style: none; position: relative; padding-right: 30px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 4px; top: 16px; font-size: 1.4rem; color: var(--amber-dark);
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { padding-bottom: 18px; margin: 0; }

/* ---------- FAQ section wrapper (heading + cis_faq_columns() grid) ---------- */
.faq-section { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; margin-top: 32px; }
.faq-section > div:first-child { position: sticky; top: 100px; }
@media (max-width: 860px) { .faq-section { grid-template-columns: 1fr; gap: 20px; } .faq-section > div:first-child { position: static; } }

/* ---------- FAQ grid actually rendered by cis_faq_columns(): numbered items ---------- */
.faq-grid { display: flex; flex-direction: column; max-width: 900px; }
.faq-grid .faq-item {
  display: grid; grid-template-columns: 44px 1fr; gap: 20px;
  padding: 26px 0; border-bottom: 1px solid var(--grey-border);
}
.faq-grid .faq-item:first-child { padding-top: 0; }
.faq-grid .faq-item:last-child { border-bottom: none; }
.faq-grid .faq-num {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy); color: var(--white); font-weight: 700;
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
}
.faq-grid .faq-item h3 { margin-bottom: 8px; font-size: 1.05rem; color: var(--navy); }
.faq-grid .faq-item p { margin: 0; color: var(--grey-700); }

/* ---------- Stat strip ---------- */
.stat-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stat-strip .stat { text-align: center; padding: 24px; background: var(--white); border-radius: var(--radius); border: 1px solid #e7eaee; }
.stat strong { display: block; font-size: 2rem; color: var(--amber-dark); }
.stat span { font-size: 0.9rem; color: var(--grey-700); }
@media (max-width: 620px) { .stat-strip { grid-template-columns: 1fr; } }

/* ---------- CTA band (solid brand blue, matches live site) ---------- */
.cta-band {
  background: var(--navy);
  color: var(--white);
  padding: 64px 24px; text-align: center;
}
.cta-band h2 { color: var(--white); font-size: clamp(1.75rem, 3.5vw, 2.4rem); }
.cta-band p { color: #cfe0ff; max-width: 620px; margin: 0 auto 28px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.section-flush { padding: 0; }

/* ---------- Forms ---------- */
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; color: var(--navy); }
.form-field input, .form-field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #d7dce3; border-radius: var(--radius);
  font-family: var(--font); font-size: 0.95rem;
}
.form-field textarea { min-height: 120px; resize: vertical; }
.contact-card { background: var(--white); border: 1px solid #e7eaee; border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-grid figure { margin: 0; border-radius: var(--radius); overflow: hidden; position: relative; box-shadow: var(--shadow); }
.gallery-grid img { aspect-ratio: 4/3; object-fit: cover; transition: transform .3s ease; }
.gallery-grid a:hover img { transform: scale(1.04); }
.gallery-grid figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 14px; background: linear-gradient(0deg, rgba(16,35,59,0.85), transparent); color: #fff; font-size: 0.85rem; font-weight: 600; }
@media (max-width: 760px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Case study ---------- */
.article-hero { background: var(--grey-100); padding: 48px 0; }
.article-meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: 0.85rem; color: var(--grey-700); margin-bottom: 12px; }
.article-body { max-width: 760px; margin: 0 auto; }
.article-body h2 { margin-top: 40px; }
.result-list { display: grid; gap: 12px; margin: 20px 0; }
.result-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--grey-700); }
.result-list li::before { content: "\2713"; color: var(--amber-dark); font-weight: 700; }
.pullquote { border-left: 4px solid var(--amber); padding: 4px 0 4px 20px; font-size: 1.15rem; color: var(--navy); font-weight: 600; margin: 28px 0; }

/* ---------- Footer ---------- */
.site-footer { background: #222334; color: #c7c9d6; padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; margin-bottom: 40px; }
.footer-grid h4, .footer-grid h5 { color: #fff; font-size: 0.95rem; margin-bottom: 14px; }
.footer-address { margin: 4px 0 0; }
.footer-grid a { color: #aab8c9; font-size: 0.9rem; line-height: 2; display: block; }
.footer-grid a:hover { color: var(--amber); }
.footer-logo img { height: 40px; width: auto; margin-bottom: 16px; display: block; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.35);
  display: flex; align-items: center; justify-content: center; color: #fff; transition: background .2s ease, border-color .2s ease;
}
.footer-social a:hover { background: var(--amber); border-color: var(--amber); }
.footer-grid p { color: #9fadc0; font-size: 0.88rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; font-size: 0.82rem; color: #8695ab; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Legal pages ---------- */
.legal-body { max-width: 760px; margin: 0 auto; }
.legal-body h2 { margin-top: 32px; }


/* ---------- Safety net: constrain unsized inline SVG icons in page content ---------- */
.article-body svg, .entry-content svg { width: 1em; height: 1em; display: inline-block; vertical-align: -0.15em; }

/* ---------- Scroll-reveal interactions (replaces Elementor's fadeInUp/etc.
   animation library — one small IntersectionObserver instead of a whole
   animations CSS/JS bundle) ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in-view { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.reveal-stagger.in-view > * { opacity: 1; transform: none; }
.reveal-stagger.in-view > *:nth-child(1) { transition-delay: .02s; }
.reveal-stagger.in-view > *:nth-child(2) { transition-delay: .08s; }
.reveal-stagger.in-view > *:nth-child(3) { transition-delay: .14s; }
.reveal-stagger.in-view > *:nth-child(4) { transition-delay: .2s; }
.reveal-stagger.in-view > *:nth-child(5) { transition-delay: .26s; }
.reveal-stagger.in-view > *:nth-child(6) { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; transition: none; }
}

/* ---------- Hero slideshow ---------- */
.hero-slideshow { position: absolute; inset: 0; z-index: 0; }
.hero-slideshow img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s ease; }
.hero-slideshow img.active { opacity: 1; }
.hero::before { z-index: 1; }
.hero .container { z-index: 2; }

/* ---------- Clickable service/industry cards ---------- */
.industry-card.is-link { text-decoration: none; color: inherit; display: flex; flex-direction: column; height: 100%; transition: transform .2s ease, box-shadow .2s ease; }
.industry-card.is-link:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(6,58,144,0.16); }
.industry-card .ic-more { display: inline-flex; align-items: center; gap: 6px; color: var(--amber-dark); font-weight: 700; font-size: 0.85rem; margin-top: auto; padding-top: 10px; }
.industry-card.is-link:hover .ic-more { text-decoration: underline; }

/* ---------- Benefits: key-benefits — one clear focal point, calm consistent grid ---------- */
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.benefit-card {
  background: var(--white); border-radius: var(--radius); padding: 26px 24px;
  border: 1px solid var(--grey-border);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.benefit-card:hover { transform: translateY(-4px); box-shadow: 0 16px 30px rgba(6,58,144,0.1); border-color: transparent; }
.benefit-card .bc-icon {
  width: 46px; height: 46px; border-radius: 50%; margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(6,58,144,0.07); color: var(--navy);
}
.benefit-card h3 { font-size: 1.02rem; margin-bottom: 6px; }
.benefit-card p { font-size: 0.9rem; margin: 0; color: var(--grey-700); }

/* First card is the lead benefit — larger, solid accent, sets the entry point for the eye */
.benefit-card:first-child {
  grid-column: span 2; background: var(--navy); border: none;
  display: flex; flex-direction: column; justify-content: center;
  padding: 32px 34px;
}
.benefit-card:first-child .bc-icon { width: 56px; height: 56px; background: rgba(255,255,255,0.15); color: var(--white); }
.benefit-card:first-child h3 { color: var(--white); font-size: 1.3rem; }
.benefit-card:first-child p { color: #cfe0ff; font-size: 0.98rem; }

@media (max-width: 860px) { .benefit-grid { grid-template-columns: 1fr 1fr; } .benefit-card:first-child { grid-column: span 2; } }
@media (max-width: 560px) { .benefit-grid { grid-template-columns: 1fr; } .benefit-card:first-child { grid-column: span 1; } }

/* ---------- Quote drawer (benefits page) — small edge tab that opens a 1/3-width overlay ---------- */
.quote-tab {
  position: fixed; right: 0; top: 45%; transform: translateY(-50%);
  z-index: 90; background: var(--navy); color: var(--white); border: none;
  border-radius: 10px 0 0 10px; padding: 16px 12px; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  box-shadow: -4px 0 16px rgba(6,58,144,0.25);
}
.quote-tab span.qt-label { writing-mode: vertical-rl; text-orientation: mixed; font-weight: 700; font-size: 0.82rem; letter-spacing: .03em; }
.quote-tab:hover { background: var(--amber); }

.quote-overlay {
  position: fixed; inset: 0; background: rgba(6,10,20,0.45);
  opacity: 0; pointer-events: none; transition: opacity .25s ease; z-index: 199;
}
.quote-overlay.open { opacity: 1; pointer-events: auto; }

.quote-panel {
  position: fixed; top: 0; right: 0; height: 100%; width: min(420px, 92vw);
  background: var(--navy); color: var(--white); z-index: 200;
  padding: 32px 30px; overflow-y: auto;
  transform: translateX(100%); transition: transform .3s ease;
  box-shadow: -10px 0 40px rgba(0,0,0,0.25);
}
.quote-panel.open { transform: translateX(0); }
.quote-panel h3 { color: var(--white); margin-bottom: 6px; }
.quote-panel p { color: #cfe0ff; font-size: 0.9rem; margin-bottom: 18px; }
.quote-panel .form-field label { color: #dbe6ff; }
.quote-panel .form-field input, .quote-panel .form-field textarea { border: none; }
.quote-panel .btn-primary { width: 100%; justify-content: center; }
.quote-panel .qs-contact { margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.18); font-size: 0.88rem; color: #cfe0ff; }
.quote-panel .qs-contact a { color: var(--white); font-weight: 600; }
.quote-panel-close { position: absolute; top: 20px; right: 20px; background: none; border: none; color: #cfe0ff; cursor: pointer; padding: 6px; }
.quote-panel-close:hover { color: var(--white); }
@media (max-width: 640px) { .quote-tab { display: none; } }

.quote-bar-mobile {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  width: 100%; background: var(--navy); color: var(--white); border: none;
  padding: 14px 16px; align-items: center; justify-content: center; gap: 10px;
  font-weight: 700; font-size: 0.95rem; cursor: pointer;
  box-shadow: 0 -4px 16px rgba(6,58,144,0.25);
}
.quote-bar-mobile svg { width: 18px; height: 18px; }
@media (max-width: 640px) { .quote-bar-mobile { display: flex; } }
@media (max-width: 640px) { .quote-panel { padding-bottom: 90px; } }

/* ---------- Case study: results callout (clean, professional — no bright color blocks) ---------- */
.results-callout { background: var(--grey-100); border: 1px solid var(--grey-border); border-radius: var(--radius); padding: 36px 40px; margin: 32px 0; }
.results-callout h2 { margin-bottom: 20px; }
.results-callout .rc-item { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; font-size: 1.02rem; color: var(--ink); }
.results-callout .rc-check { width: 26px; height: 26px; min-width: 26px; border-radius: 50%; background: var(--navy); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 0.85rem; }
.results-callout strong { color: var(--navy); }

.extra-results-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 32px; margin: 24px 0 8px; }
.extra-results-grid .er-item { display: flex; gap: 12px; align-items: flex-start; font-size: 0.95rem; color: var(--grey-700); }
.extra-results-grid .er-icon { color: var(--navy); min-width: 22px; margin-top: 2px; }
@media (max-width: 620px) { .extra-results-grid { grid-template-columns: 1fr; } }

/* Clean, professional stat row — white cards, thin border, navy numerals (no solid color blocks) */
.stat-highlight-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0 0 36px; }
.stat-highlight-row .shr-item { text-align: center; background: var(--white); border: 1px solid var(--grey-border); border-radius: var(--radius); padding: 24px 16px; }
.stat-highlight-row .shr-num { font-size: 2rem; font-weight: 800; color: var(--navy); line-height: 1; }
.stat-highlight-row .shr-label { font-size: 0.82rem; color: var(--grey-700); margin-top: 8px; text-transform: uppercase; letter-spacing: .03em; }
@media (max-width: 620px) { .stat-highlight-row { grid-template-columns: 1fr; } }

/* ---------- Case study: project image strip (replaces one giant hero image) ---------- */
.project-gallery { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: repeat(2, 1fr); gap: 14px; margin: 36px 0; height: 420px; }
.project-gallery a { display: block; border-radius: var(--radius); overflow: hidden; position: relative; }
.project-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.project-gallery a:hover img { transform: scale(1.05); }
.project-gallery a.pg-main { grid-row: span 2; }
@media (max-width: 760px) { .project-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, 180px); height: auto; } .project-gallery a.pg-main { grid-column: span 2; grid-row: span 1; } }

/* ---------- Process page: nicer vertical timeline (kept vertical per client preference) ---------- */
.timeline { position: relative; max-width: 780px; padding-left: 8px; }
.timeline::before { content: ""; position: absolute; left: 35px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--amber), var(--navy)); opacity: .35; z-index: 0; }
.timeline-step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 24px; padding-bottom: 44px; }
.timeline-step:last-child { padding-bottom: 0; }
.timeline-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--amber); color: var(--navy);
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem; font-weight: 800;
  position: relative; z-index: 1;
}
.timeline-step.is-active .timeline-num { background: var(--amber); border-color: var(--amber); color: var(--white); }
.timeline-card { background: var(--white); border: 1px solid var(--grey-border); border-radius: var(--radius); padding: 22px 26px; box-shadow: var(--shadow); }
.timeline-card h3 { margin-bottom: 8px; }
.timeline-card p { margin: 0; }
.timeline-card ul { margin: 10px 0 0; padding-left: 18px; list-style: disc; color: var(--grey-700); font-size: 0.95rem; }
.timeline-card ul li { margin-bottom: 4px; }

/* ---------- Gallery v2 (no filename captions, clean hover zoom) ---------- */
.gallery-grid-v2 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery-grid-v2 figure { margin: 0; border-radius: var(--radius); overflow: hidden; position: relative; box-shadow: var(--shadow); }
.gallery-grid-v2 img { aspect-ratio: 4/3; object-fit: cover; transition: transform .4s ease; display: block; }
.gallery-grid-v2 a { display: block; position: relative; }
.gallery-grid-v2 a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6,58,144,0.35), transparent 55%); opacity: 0; transition: opacity .3s ease; }
.gallery-grid-v2 a:hover img { transform: scale(1.06); }
.gallery-grid-v2 a:hover::after { opacity: 1; }
.gallery-grid-v2 .gg-zoom {
  position: absolute; right: 14px; bottom: 14px; width: 36px; height: 36px; border-radius: 50%;
  background: var(--white); color: var(--navy); display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(.8); transition: opacity .25s ease, transform .25s ease;
}
.gallery-grid-v2 a:hover .gg-zoom { opacity: 1; transform: scale(1); }
@media (max-width: 760px) { .gallery-grid-v2 { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Lightbox (gallery: prev/next navigation instead of opening the raw image) ---------- */
.lightbox { position: fixed; inset: 0; background: rgba(6,10,20,0.92); z-index: 300; display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: min(88vw, 1100px); max-height: 82vh; border-radius: 6px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute; background: rgba(255,255,255,0.12); border: none; color: #fff;
  width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .2s ease;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: var(--amber); }
.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-counter { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); color: #cfd6e4; font-size: 0.85rem; }
@media (max-width: 640px) { .lightbox-prev, .lightbox-next { width: 40px; height: 40px; } .lightbox-prev { left: 8px; } .lightbox-next { right: 8px; } }

/* ---------- Process page extras (intro stat strip + closing recap, keeps the vertical timeline) ---------- */
.process-stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: -1px 0 56px; }
.process-stat-strip .pss-item { text-align: center; padding: 22px 12px; border: 1px solid var(--grey-border); border-radius: var(--radius); }
.process-stat-strip .pss-num { font-size: 1.6rem; font-weight: 800; color: var(--navy); }
.process-stat-strip .pss-label { font-size: 0.82rem; color: var(--grey-700); margin-top: 4px; }
@media (max-width: 760px) { .process-stat-strip { grid-template-columns: 1fr 1fr; } }

.process-layout { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }
.process-sidebar { position: sticky; top: 100px; }
.process-sidebar img { border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 20px; }
.process-sidebar .card h3 { font-size: 1rem; }
@media (max-width: 980px) { .process-layout { grid-template-columns: 1fr; } .process-sidebar { position: static; display: none; } }

.recap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.recap-grid .rg-item { text-align: center; padding: 8px; }
.recap-grid .rg-icon { width: 56px; height: 56px; border-radius: 50%; background: rgba(6,58,144,0.08); color: var(--navy); display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.recap-grid h3 { font-size: 1.02rem; margin-bottom: 6px; }
.recap-grid p { font-size: 0.9rem; margin: 0; }
@media (max-width: 700px) { .recap-grid { grid-template-columns: 1fr; } }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }

/* Contact Form 7 submit button - match .btn.btn-primary */
.wpcf7-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  background: var(--amber);
  color: var(--white);
}
.wpcf7-submit:hover {
  background: var(--amber-dark);
  transform: translateY(-1px);
}

/* Loosen up the "Not sure where to start?" sidebar CTA card on Working with Us */
.process-sidebar .card {
  padding: 32px 28px;
}
.process-sidebar .card h3 {
  margin-bottom: 12px;
}
.process-sidebar .card p {
  margin-bottom: 20px;
}
.process-sidebar .card .btn {
  width: 100%;
  justify-content: center;
}

/* Removed per request: industry-card and case-study icons looked out of place */
.ic-icon { display: none; }

/* About page: compact side-by-side intro (replaces full-width top image) */
.about-intro { display: flex; gap: 32px; align-items: center; margin-bottom: 24px; flex-wrap: wrap; }
.about-intro-media { flex: 0 0 300px; }
.about-intro-media img { width: 100%; height: 230px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); display: block; margin: 0; }
.about-intro-copy { flex: 1 1 320px; }
.about-intro-copy h3 { margin-top: 0; }
.about-intro-copy .btn { margin-top: 8px; }
@media (max-width: 640px) { .about-intro { flex-direction: column; } .about-intro-media { flex-basis: auto; width: 100%; } }
