/* Certex theme — live palette */
:root {
  --cx-navy: #012B36;
  --cx-blue: #14ABF4;
  --cx-light: #F7F7F7;
  --cx-white: #FFFFFF;
  --cx-text: #565656;
  --cx-muted: #949494;
  --cx-mid: #C4C4C4;
  --cx-soft: #B1B0B0;
  --cx-font: "Roboto", Arial, sans-serif;
  --cx-serif: "Roboto Slab", Georgia, serif;
  --cx-wrap: 1180px;
  --cx-radius: 14px;
  --wp-admin--admin-bar--height: 0px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  overflow-x: hidden;
  max-width: 100%;
  font-family: var(--cx-font);
  color: var(--cx-text);
  background: var(--cx-white);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--cx-navy); text-decoration: none; }
a:hover { color: var(--cx-blue); }
.skip {
  position: absolute; left: -999px; top: 0; background: var(--cx-navy); color: #fff;
  padding: .6rem 1rem; z-index: 200;
}
.skip:focus { left: 1rem; top: 1rem; }
.wrap {
  width: min(var(--cx-wrap), calc(100% - 2.4rem)) !important;
  max-width: var(--cx-wrap) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box;
}
.site-main { display: block; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.35rem; border-radius: 999px; font-weight: 500;
  font-size: .95rem; line-height: 1; border: 1px solid transparent;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  cursor: pointer; text-decoration: none !important; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-navy { background: var(--cx-navy); color: #fff !important; }
.btn-navy:hover { background: #023644; color: #fff !important; }
.btn-blue { background: var(--cx-blue); color: #fff !important; }
.btn-blue:hover { background: #0b96d8; color: #fff !important; }
.btn-ghost { background: transparent; color: #fff !important; border-color: rgba(255,255,255,.45); }
.btn-ghost:hover { background: rgba(255,255,255,.08); color: #fff !important; }
.btn-ghost-dark { background: transparent; color: var(--cx-navy) !important; border-color: var(--cx-navy); }
.btn-ghost-dark:hover { background: var(--cx-navy); color: #fff !important; }
.btn-sm { padding: .55rem 1rem; font-size: .85rem; }
.hero-ctas, .cta-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 80;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled {
  border-bottom-color: #ececec;
  box-shadow: 0 8px 24px rgba(1,43,54,.06);
}
.header-inner {
  display: flex; align-items: center; gap: 1.25rem;
  min-height: 76px;
}
.site-logo img, .custom-logo-link img {
  height: 52px; width: auto; max-width: 200px; object-fit: contain;
}
.site-header nav {
  margin-left: auto;
  display: flex; align-items: center; gap: 1.5rem;
}
.site-header .wp-block-navigation,
.primary-menu {
  display: flex; align-items: center; gap: .15rem 1.15rem;
  list-style: none; margin: 0; padding: 0;
  font-size: .95rem;
}
.site-header .wp-block-navigation a,
.primary-menu a {
  color: var(--cx-navy) !important;
  font-weight: 500;
  padding: .35rem 0;
}
.site-header .wp-block-navigation a:hover,
.primary-menu a:hover { color: var(--cx-blue) !important; }
.header-actions { display: flex; align-items: center; gap: .5rem; }
.nav-toggle {
  display: none; background: none; border: 0; width: 42px; height: 42px;
  position: relative; cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; background: var(--cx-navy); position: absolute; left: 11px;
  transition: transform .2s ease, top .2s ease, opacity .2s ease;
}
.nav-toggle span { top: 20px; }
.nav-toggle span::before { content: ""; top: -6px; }
.nav-toggle span::after { content: ""; top: 6px; }
.site-header.is-open .nav-toggle span { background: transparent; }
.site-header.is-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.site-header.is-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  min-height: min(92vh, 860px);
  background: radial-gradient(ellipse at 70% 40%, #023a4a 0%, var(--cx-navy) 55%, #01181e 100%);
  color: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero #hero-canvas, .hero-fallback, .hero-vignette {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.hero #hero-canvas { z-index: 1; }
.hero-fallback {
  z-index: 0;
  background:
    radial-gradient(circle at 70% 40%, rgba(20,171,244,.28), transparent 42%),
    radial-gradient(circle at 20% 80%, rgba(20,171,244,.12), transparent 40%),
    var(--cx-navy);
  display: none;
}
.hero.is-fallback .hero-fallback { display: block; }
.hero-vignette {
  z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, rgba(1,43,54,.72) 0%, rgba(1,43,54,.2) 52%, transparent 80%),
              linear-gradient(180deg, rgba(1,43,54,.2) 0%, transparent 20%, rgba(1,24,30,.45) 100%);
}
/* Side padding matches .wrap / the header logo edge, even if WP block styles zero inner margins. */
.hero {
  padding-left: max(1.2rem, calc((100% - var(--cx-wrap)) / 2));
  padding-right: max(1.2rem, calc((100% - var(--cx-wrap)) / 2));
}
.hero-content,
.hero .hero-content {
  position: relative;
  z-index: 3;
  width: 100% !important;
  max-width: 40rem !important;
  margin-left: 0 !important;
  margin-right: auto !important;
  padding: 6rem 0 5rem;
  box-sizing: border-box;
}
.eyebrow {
  letter-spacing: .14em; text-transform: uppercase;
  font-size: .78rem; color: var(--cx-blue); font-weight: 500; margin: 0 0 1rem;
}
.hero h1 {
  font-family: var(--cx-serif);
  font-weight: 600;
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  line-height: 1.12;
  color: #fff;
  margin: 0 0 1.1rem;
  text-transform: none;
}
.hero .lede {
  font-size: 1.08rem; color: rgba(255,255,255,.86);
  max-width: 38rem; margin: 0 0 1.5rem;
}
.standard-rotator { margin: 0 0 2rem; color: rgba(255,255,255,.75); }
.standard-rotator .label { display: block; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: .35rem; }
#standard-name {
  display: inline-block; color: #fff; font-family: var(--cx-serif);
  font-size: 1.15rem; font-weight: 600;
  transition: opacity .28s ease, transform .28s ease;
}
#standard-name.is-out { opacity: 0; transform: translateY(6px); }
#standard-name.is-in { opacity: 1; transform: none; }
.scroll-hint {
  position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
  z-index: 3; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255,255,255,.55);
}
.scroll-hint::after {
  content: ""; display: block; width: 1px; height: 28px; margin: .4rem auto 0;
  background: linear-gradient(#14ABF4, transparent);
}

/* Sections */
.section { padding: 4.5rem 0; }
.section-light { background: var(--cx-light); }
.section-navy { background: var(--cx-navy); color: #fff; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy .lead, .section-navy .lede, .section-navy p {
  color: rgba(255,255,255,.88);
}
.kicker {
  color: var(--cx-blue); font-size: .8rem; letter-spacing: .14em;
  text-transform: uppercase; font-weight: 500; margin: 0 0 .6rem;
}
h1, h2, h3, h4 { font-family: var(--cx-serif); color: var(--cx-navy); letter-spacing: -0.02em; }
.page-hero, .archive-hero, .content-hero {
  padding: 5.5rem 0 2.5rem;
  background: var(--cx-light);
  border-bottom: 1px solid #ececec;
}
.page-hero h1, .archive-hero h1, .content-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 .75rem;
}
.lead, .page-hero .lede { font-size: 1.15rem; max-width: 44rem; color: var(--cx-text); }

/* Cards */
.card-grid, .std-grid, .svc-grid, .post-grid, .who-grid {
  display: grid; gap: 1.15rem;
  grid-template-columns: repeat(3, 1fr);
}
.std-card, .svc-card, .post-card, .who-card, .step, .placeholder-card {
  background: #fff; border: 1px solid #ececec; border-radius: var(--cx-radius);
  padding: 1.35rem 1.3rem; position: relative; overflow: hidden;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
  color: inherit; text-decoration: none !important;
  display: block;
}
.std-card:hover, .svc-card:hover, .post-card:hover {
  border-color: #d7eef9;
  box-shadow: 0 16px 36px rgba(1,43,54,.08);
}
.std-card::after {
  content: ""; position: absolute; inset: auto auto 0 0; width: 40%; height: 3px;
  background: var(--cx-blue); transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
.std-card:hover::after { transform: scaleX(1); }
.std-card h3, .svc-card h3, .post-card h3, .who-card h3, .step h3 {
  margin: 0 0 .45rem; font-size: 1.15rem;
}
.std-card p, .svc-card p, .post-card p { margin: 0; color: var(--cx-text); }
.card-meta { color: var(--cx-muted); font-size: .82rem; margin-bottom: .4rem; }

/* Placeholders */
.placeholder-note, .placeholder-stat {
  border: 1px dashed var(--cx-mid);
  background: repeating-linear-gradient(-45deg, #fff, #fff 8px, #fafafa 8px, #fafafa 16px);
  color: var(--cx-muted);
  padding: .85rem 1rem;
  border-radius: 10px;
  font-size: .92rem;
}
.placeholder-stat code, .placeholder-note code {
  font-family: ui-monospace, Menlo, monospace;
  color: var(--cx-navy); background: #eef8fd; padding: .05rem .3rem; border-radius: 4px;
}
.logo-slots { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1rem 0; }
.logo-slot {
  flex: 1 1 140px; min-height: 64px; border: 1px dashed var(--cx-mid);
  border-radius: 8px; display: grid; place-items: center;
  color: var(--cx-muted); font-size: .8rem; background: #fff;
}

/* Steps */
.process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.step-num {
  display: inline-flex; width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--cx-navy); color: #fff; align-items: center; justify-content: center;
  font-size: .85rem; font-weight: 600; margin-bottom: .7rem;
}

/* Footer */
.site-footer {
  background: var(--cx-light);
  border-top: 1px solid #ececec;
  padding: 3.2rem 0 1.5rem;
  color: var(--cx-text);
}
.footer-grid {
  display: grid; grid-template-columns: 1.3fr 0.9fr 1.15fr 1fr 0.8fr; gap: 1.6rem;
  margin-bottom: 2rem;
}
.site-footer h2, .site-footer h3 { font-size: 0.82rem; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 .8rem; }
.site-footer p, .site-footer li { margin: 0 0 .4rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.footer-stds { font-size: .92rem; }
.footer-legal {
  border-top: 1px solid #e5e5e5; padding-top: 1rem;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  color: #565656; font-size: .85rem;
}
.footer-legal a { color: var(--cx-navy); }
.footer-legal a:hover { color: var(--cx-blue); }


/* Forms */
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 2.5rem; align-items: start; }
.certex-form label { display: block; font-weight: 500; color: var(--cx-navy); margin: 0 0 .35rem; font-size: .92rem; }
.certex-form input, .certex-form textarea, .certex-form select {
  width: 100%; padding: .75rem .85rem; border: 1px solid #d8d8d8; border-radius: 10px;
  font: inherit; color: var(--cx-navy); background: #fff; margin-bottom: 1rem;
}
.certex-form input:focus, .certex-form textarea:focus {
  outline: 2px solid rgba(20,171,244,.45); border-color: var(--cx-blue);
}
.certex-form .hp { position: absolute; left: -9999px; }
.form-status {
  display: none; padding: .8rem 1rem; border-radius: 10px; margin-bottom: 1rem;
}
.form-status.is-on { display: block; }
.form-status.ok { background: #e8f7ee; color: #145c32; }
.form-status.err { background: #fdecea; color: #8a1f11; }
.contact-aside { background: var(--cx-navy); color: #fff; border-radius: var(--cx-radius); padding: 1.6rem; }
.contact-aside h2, .contact-aside h3 { color: #fff; }
.contact-aside a { color: #fff; }
.contact-aside a:hover { color: var(--cx-blue); }

/* Article / page typography — 760px is for prose, not the homepage sections. */
.entry-content, .page-body {
  max-width: 760px;
  margin-inline: auto;
}
.site-main > .entry-content,
.site-main > .wp-block-post-content,
body.home .entry-content,
body.front-page .entry-content,
body.home .wp-block-post-content {
  max-width: none;
  width: 100%;
  margin-inline: 0;
}
.entry-content > .section,
.wp-block-post-content > .section,
.entry-content > .hero,
.wp-block-post-content > .hero {
  max-width: none !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.entry-content > *, .page-body > * { margin-top: 0; }
.entry-content h2, .page-body h2 { margin: 2rem 0 .7rem; font-size: 1.6rem; }
.entry-content h3, .page-body h3 { margin: 1.5rem 0 .5rem; font-size: 1.2rem; }
.entry-content p, .page-body p, .entry-content li { margin: 0 0 1rem; }
.entry-content ul, .page-body ul { padding-left: 1.2rem; }
.has-wide { width: min(var(--cx-wrap), calc(100% - 2.4rem)); margin-inline: auto; max-width: none; }
.prose-pad { padding: 3rem 0 4.5rem; }

/* Book assessment */
.book-box {
  display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; align-items: center;
  background: var(--cx-navy); color: #fff; border-radius: var(--cx-radius); padding: 1.6rem 1.8rem;
}
.book-box h2, .book-box h3 { color: #fff; margin: 0 0 .4rem; }
.book-box p { margin: 0; color: rgba(255,255,255,.85); }
.price { font-family: var(--cx-serif); font-size: 1.4rem; font-weight: 600; color: #fff; }

/* 404 */
.error-404 { padding: 7rem 0; text-align: center; }

@media (max-width: 980px) {
  .card-grid, .std-grid, .svc-grid, .post-grid, .who-grid, .process, .footer-grid, .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 800px) {
  .nav-toggle { display: block; }
  .header-inner { min-height: 64px; }
  .site-header nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid #ececec;
    padding: 1rem 1.2rem 1.4rem; flex-direction: column; align-items: stretch; margin: 0;
  }
  .site-header.is-open nav { display: flex; }
  .site-header .wp-block-navigation,
  .primary-menu { flex-direction: column; align-items: flex-start; }
  .header-actions { flex-wrap: wrap; }
  .hero { min-height: calc(100svh - 4.6rem); }
  .hero-content,
  .hero .hero-content { padding: 5.5rem 0 4.5rem; }
  .card-grid, .std-grid, .svc-grid, .post-grid, .who-grid, .process, .footer-grid, .contact-grid {
    grid-template-columns: 1fr;
  }
  .site-logo img, .custom-logo-link img { height: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .std-card, #standard-name { transition: none !important; }
}

/* Block theme spacing resets */
.site-header .wp-block-shortcode,
.site-footer .wp-block-shortcode,
.hero .wp-block-group,
.hero .wp-block-html { margin: 0; }
.site-header, .site-footer { margin: 0; }
.content-hero .wp-block-post-excerpt, .content-hero .lede { max-width: 44rem; }
.wp-block-post-content { margin: 0; }
.alignfull { width: 100%; max-width: 100%; margin-left: 0; margin-right: 0; }

.content-hero,
.archive-hero,
.page-hero { text-align: center; }
.content-hero .lede,
.content-hero .wp-block-post-excerpt,
.archive-hero .lede,
.page-hero .lede { margin-inline: auto; }
.section[id], .hero { scroll-margin-top: 90px; }

/* Query/post cards: fill the grid cell so a short excerpt does not leave a ragged row. */
.wp-block-post-template.post-grid,
.post-grid.wp-block-post-template,
.post-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: stretch;
}
.post-grid > li,
.post-grid > .wp-block-post,
.wp-block-post-template > li {
  display: flex;
  height: 100%;
  margin: 0;
}
.post-grid .post-card,
.post-grid article {
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
}

.archive-hero + .section { padding-top: 2.5rem; }

/* Floating WhatsApp */
.wa-fab {
  position: fixed;
  right: max(1.2rem, calc((100% - var(--cx-wrap)) / 2));
  bottom: 1.25rem;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff !important;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(1,43,54,.28);
  transition: transform .2s ease, box-shadow .2s ease;
}
.wa-fab:hover, .wa-fab:focus {
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(1,43,54,.35);
}
.wa-fab svg { width: 28px; height: 28px; display: block; }
.site-footer { padding-bottom: 5.5rem; }
.footer-legal { padding-right: 4.5rem; }

@media (max-width: 980px) {
  .wp-block-post-template.post-grid,
  .post-grid { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 800px) {
  .wp-block-post-template.post-grid,
  .post-grid { grid-template-columns: 1fr !important; }
  .wa-fab { right: 1rem; bottom: 1rem; width: 52px; height: 52px; }
}

ul.post-grid.wp-block-post-template,
ul.post-grid {
  display: grid !important;
  align-items: stretch !important;
}
ul.post-grid > li.wp-block-post {
  display: flex !important;
  flex-direction: column;
  min-height: 100%;
  height: 100%;
  margin: 0 !important;
}
ul.post-grid > li.wp-block-post > article.post-card {
  flex: 1 1 auto;
  width: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

/* ===== v1.1 hero slider, EcoCertex, 3D accents ===== */
.hero-content,
.hero .hero-content { max-width: 46rem !important; }
h1.brand-line, .brand-line {
  font-family: var(--cx-serif);
  font-weight: 600;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  line-height: 1.35;
  color: rgba(255,255,255,.92);
  margin: 0 0 1.4rem;
  letter-spacing: -0.01em;
  max-width: 28rem;
}
.hero h1.brand-line { font-size: clamp(1.05rem, 2.2vw, 1.35rem); margin: 0 0 1.4rem; }
.slide-title, .hero .slide-title {
  font-family: var(--cx-serif);
  font-weight: 600;
  font-size: clamp(1.85rem, 4.2vw, 3.1rem);
  line-height: 1.15;
  color: #fff;
  margin: 0 0 1rem;
}
.hero-slider { position: relative; }
.hero-slides {
  position: relative;
  min-height: 22rem;
  overflow: hidden;
  transition: height 1s cubic-bezier(0.65, 0, 0.35, 1);
}
.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  visibility: hidden;
  transform: translateX(100%);
  transition: transform 1s cubic-bezier(0.65, 0, 0.35, 1);
  pointer-events: none;
  backface-visibility: hidden;
}
.hero-slide.is-active {
  visibility: visible;
  transform: translateX(0);
  pointer-events: auto;
}
.hero-slide.is-outgoing {
  visibility: visible;
  pointer-events: none;
}
.hero-slide .eyebrow,
.hero-slide .slide-title,
.hero-slide .lede,
.hero-slide .hero-ctas {
  transition: opacity .55s cubic-bezier(0.65, 0, 0.35, 1), transform .7s cubic-bezier(0.65, 0, 0.35, 1);
  will-change: opacity, transform;
}
.hero-slide.is-leaving .slide-eco-logo,
.hero-slide.is-leaving .eyebrow,
.hero-slide.is-leaving .slide-title,
.hero-slide.is-leaving .lede,
.hero-slide.is-leaving .hero-ctas {
  opacity: 0;
  transform: translateY(-8px);
  transition-duration: .45s;
  transition-delay: 0s !important;
}
.hero-slide.is-enter .slide-eco-logo,
.hero-slide.is-enter .eyebrow,
.hero-slide.is-enter .slide-title,
.hero-slide.is-enter .lede,
.hero-slide.is-enter .hero-ctas {
  opacity: 0;
  transform: translateY(20px);
  transition: none;
}
.hero-slide.is-enter.is-in .slide-eco-logo,
.hero-slide.is-enter.is-in .eyebrow,
.hero-slide.is-enter.is-in .slide-title,
.hero-slide.is-enter.is-in .lede,
.hero-slide.is-enter.is-in .hero-ctas {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .7s cubic-bezier(0.65, 0, 0.35, 1), transform .7s cubic-bezier(0.65, 0, 0.35, 1);
}
.hero-slide.is-enter.is-in .slide-eco-logo { transition-delay: 0s; }
.hero-slide.is-enter.is-in .eyebrow { transition-delay: .08s; }
.hero-slide.is-enter.is-in .slide-title { transition-delay: .16s; }
.hero-slide.is-enter.is-in .lede { transition-delay: .24s; }
.hero-slide.is-enter.is-in .hero-ctas { transition-delay: .32s; }
.hero-progress {
  width: min(100%, 16rem);
  height: 2px;
  margin: 1.35rem 0 0;
  background: rgba(255,255,255,.18);
  border-radius: 99px;
  overflow: hidden;
}
.hero-progress-bar {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--cx-blue);
  border-radius: inherit;
  transform: scaleX(0);
  transform-origin: left center;
}
.hero-progress-bar.is-running {
  animation: hero-progress-run 5s linear forwards;
}
.hero-slider.is-paused .hero-progress-bar.is-running {
  animation-play-state: paused;
}
@keyframes hero-progress-run {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
.hero-controls {
  display: flex; align-items: center; gap: .7rem;
  margin-top: 1rem;
}
.hero-arrow {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.06);
  color: #fff; cursor: pointer; display: grid; place-items: center;
}
.hero-arrow:hover, .hero-arrow:focus { background: rgba(20,171,244,.25); border-color: var(--cx-blue); }
.hero-dots { display: flex; align-items: center; gap: .45rem; }
.hero-dots button {
  width: 28px; height: 4px; padding: 0; border-radius: 99px;
  border: 0; background: rgba(255,255,255,.28); cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background .3s ease;
}
.hero-dots button.is-active { background: rgba(20,171,244,.35); }
.hero-dots button .hero-dot-fill {
  position: absolute; inset: 0;
  background: var(--cx-blue);
  transform: scaleX(0);
  transform-origin: left center;
  border-radius: inherit;
}
.hero-dots button.is-active .hero-dot-fill.is-running {
  animation: hero-progress-run 5s linear forwards;
}
.hero-slider.is-paused .hero-dots button .hero-dot-fill.is-running {
  animation-play-state: paused;
}

/* Current nav item (Home on the homepage — EcoCertex is not highlighted there). */
.primary-menu .current-menu-item > a,
.primary-menu .current_page_item > a,
.primary-menu .current-menu-item > a:hover,
.site-header .current-menu-item > a,
.site-header .current_page_item > a {
  color: var(--cx-blue) !important;
  box-shadow: inset 0 -2px 0 var(--cx-blue);
}

/* Section EcoCertex band */
.section-eco {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 82% 28%, rgba(20,171,244,0.08), transparent 52%),
    radial-gradient(ellipse at 12% 86%, rgba(93,206,138,0.08), transparent 48%),
    linear-gradient(180deg, #f3fafc 0%, #fff 100%);
}
.section-eco .band-visual,
.section-eco .eco-net-visual {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
}
.eco-home, .eco-intro-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.2fr .8fr;
  gap: 2rem; align-items: center;
}
.eco-logo-panel, .eco-logo-stage {
  position: relative;
  background: #fff;
  border-radius: 20px;
  padding: 1.8rem 1.6rem 2rem;
  border: 1px solid rgba(93,206,138,.28);
  box-shadow: 0 18px 40px rgba(1,43,54,.08), 0 0 0 8px rgba(93,206,138,.1), 0 0 48px rgba(20,171,244,.18);
  overflow: hidden;
}
.eco-logo-panel img, .eco-logo-stage img {
  width: 100%; height: auto; display: block; position: relative; z-index: 1;
}
.eco-logo-stage--wide {
  max-width: 640px;
  margin: 1.4rem auto 0;
  padding: 2.2rem 2.4rem;
}

/* Orbit */
.eco-orbit-wrap {
  display: grid; grid-template-columns: 1.1fr .9fr;
  gap: 2rem; align-items: center; margin: 1.5rem 0 2rem;
}
.eco-orbit {
  --r: 196px;
  position: relative;
  width: min(100%, 500px);
  aspect-ratio: 1;
  margin-inline: auto;
  perspective: 900px;
  overflow: visible;
}
.eco-orbit--compact { --r: 152px; width: min(100%, 400px); }
.eco-core {
  position: absolute; left: 50%; top: 50%;
  width: 210px; height: 114px;
  margin: -57px 0 0 -105px;
  border-radius: 22px;
  border: 1px solid rgba(93,206,138,.4);
  background: radial-gradient(circle at 50% 40%, #fff, #f3fbf7 70%);
  color: var(--cx-navy);
  display: grid; place-items: center; z-index: 2; cursor: pointer;
  box-shadow: 0 12px 32px rgba(1,43,54,.14), 0 0 0 10px rgba(93,206,138,.12), 0 0 36px rgba(20,171,244,.22);
  padding: .55rem .7rem;
  overflow: visible;
}
.eco-core.has-logo { font-size: 0; }
.eco-core-logo, .eco-core img {
  width: 100%; height: auto; display: block; position: relative; z-index: 1;
}
.eco-core::after {
  content: "";
  position: absolute; inset: -28%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(93,206,138,.3), rgba(20,171,244,.1) 46%, transparent 72%);
  z-index: -1; pointer-events: none;
}
.eco-orbit--compact .eco-core {
  width: 176px; height: 96px;
  margin: -48px 0 0 -88px;
}
.eco-ring { position: absolute; inset: 0; }
.eco-node-wrap {
  position: absolute; left: 50%; top: 50%; width: 0; height: 0;
  transform: rotate(calc(var(--i) * 60deg)) translateY(calc(var(--r) * -1));
}
.eco-node {
  position: absolute; left: 0; top: 0;
  width: 92px; min-height: 92px;
  margin: -46px 0 0 -46px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e4eef3;
  box-shadow: 0 10px 24px rgba(1,43,54,.08);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: .35rem .3rem;
  font-size: .68rem; font-weight: 600; color: var(--cx-navy);
  cursor: pointer;
  transform: rotate(calc(var(--i) * -60deg));
  transition: border-color .2s ease, box-shadow .2s ease;
  z-index: 1;
}
.eco-orbit--compact .eco-node { width: 72px; min-height: 72px; margin: -36px 0 0 -36px; font-size: .6rem; }
.eco-node em { display: block; color: var(--cx-blue); font-style: normal; font-size: .7rem; letter-spacing: .06em; }
.eco-node.is-on, .eco-node:hover, .eco-node:focus {
  border-color: var(--cx-blue);
  box-shadow: 0 14px 32px rgba(20,171,244,.22);
  z-index: 3;
}
.eco-leaves { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.eco-leaf {
  position: absolute;
  left: var(--x, 50%);
  bottom: 4%;
  width: 9px; height: 13px;
  background: #5dce8a;
  border-radius: 0 80% 0 80%;
  opacity: 0;
  transform: scale(var(--s, 1));
  box-shadow: 0 0 8px rgba(93,206,138,.45);
}
@media (prefers-reduced-motion: no-preference) {
  .eco-ring { animation: eco-spin 48s linear infinite; }
  .eco-node { animation: eco-unspin 48s linear infinite; }
  .eco-orbit:hover .eco-ring, .eco-orbit:focus-within .eco-ring,
  .eco-orbit:hover .eco-node, .eco-orbit:focus-within .eco-node { animation-play-state: paused; }
  .eco-core-logo, .eco-logo-stage img, .eco-logo-panel img {
    animation: eco-logo-float 5.5s ease-in-out infinite;
  }
  .eco-logo-stage, .eco-logo-panel {
    animation: eco-glow 4.8s ease-in-out infinite;
  }
  .eco-core::after { animation: eco-core-glow 4.8s ease-in-out infinite; }
  .eco-leaf { animation: eco-leaf-drift 7.2s ease-in-out infinite; animation-delay: var(--d, 0s); }
}
@keyframes eco-logo-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
@keyframes eco-core-glow {
  0%, 100% { opacity: .65; }
  50% { opacity: 1; }
}
@keyframes eco-glow {
  0%, 100% { filter: none; box-shadow: 0 18px 40px rgba(1,43,54,.08), 0 0 0 8px rgba(93,206,138,.1), 0 0 48px rgba(20,171,244,.18); }
  50% { filter: none; box-shadow: 0 18px 40px rgba(1,43,54,.1), 0 0 0 12px rgba(93,206,138,.16), 0 0 64px rgba(20,171,244,.28); }
}
@keyframes eco-leaf-drift {
  0% { transform: translate(0, 8px) rotate(0deg) scale(var(--s, 1)); opacity: 0; }
  12% { opacity: .75; }
  100% { transform: translate(18px, -240px) rotate(90deg) scale(var(--s, 1)); opacity: 0; }
}
@keyframes eco-spin { to { transform: rotate(360deg); } }
@keyframes eco-unspin {
  from { transform: rotate(calc(var(--i) * -60deg)); }
  to { transform: rotate(calc(var(--i) * -60deg - 360deg)); }
}
.eco-mod-detail h3 { margin: .2rem 0 .5rem; }
.eco-mod-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem; }
.eco-mod-list li {
  background: #fff; border: 1px solid #ececec; border-radius: 12px;
  padding: .85rem 1rem; cursor: pointer;
}
.eco-mod-list li.is-on { border-color: var(--cx-blue); box-shadow: 0 8px 20px rgba(20,171,244,.12); }

/* Illustrative dashboard */
.dash-mock { margin: 1.4rem 0 0; }
.dash-label {
  display: inline-block; font-size: .78rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--cx-muted); margin: 0 0 .6rem;
}
.dash-shell {
  background: #07232c; color: #fff; border-radius: 16px; overflow: hidden;
  box-shadow: 0 24px 48px rgba(1,43,54,.2);
  transform: perspective(1200px) rotateX(6deg) rotateY(-6deg);
  transform-origin: center top;
}
.dash-top { display: flex; align-items: center; gap: .4rem; padding: .7rem 1rem; background: #0b303b; }
.dash-dot { width: 8px; height: 8px; border-radius: 50%; background: #4a6a73; }
.dash-crumb { margin-left: .6rem; font-size: .8rem; color: rgba(255,255,255,.7); }
.dash-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; padding: 1rem; }
.dash-card {
  background: rgba(255,255,255,.06); border-radius: 10px; padding: .8rem .9rem;
}
.dash-card span { display: block; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: #14ABF4; }
.dash-card em { display: block; font-style: normal; font-size: .82rem; margin: .25rem 0 .5rem; color: rgba(255,255,255,.85); }
.dash-bar { height: 6px; background: rgba(255,255,255,.12); border-radius: 99px; overflow: hidden; }
.dash-bar i { display: block; height: 100%; width: var(--w); background: #14ABF4; border-radius: inherit; }
.dash-chart { padding: 0 1rem 1rem; }
.page-body a { text-decoration: underline; text-underline-offset: 2px; }

/* Revision callout */
.rev-callout {
  background: #f3fafc; border-left: 3px solid var(--cx-blue);
  border-radius: 0 12px 12px 0; padding: 1rem 1.15rem; margin: 0 0 1.5rem;
}
.rev-callout h2 { font-size: 1.25rem; margin: 0 0 .4rem; }
.rev-callout p { margin: 0; }

/* Inner page 3D hero band */
.content-hero, .archive-hero, .page-hero { position: relative; overflow: hidden; }
.page-visual, .page-visual-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
}
.content-hero .wrap, .archive-hero .wrap, .page-hero .wrap,
.content-hero .wp-block-post-title, .content-hero .lede { position: relative; z-index: 1; }

/* Gulf map */
.gulf-map {
  margin-top: 1.2rem; background: #e8f4f8; border-radius: 16px; overflow: hidden;
  border: 1px solid #d7e8ee;
}
.gulf-canvas { display: block; width: 100%; height: auto; aspect-ratio: 800 / 420; }
.gulf-legend {
  display: flex; flex-wrap: wrap; gap: .8rem 1.4rem;
  list-style: none; margin: 0; padding: .8rem 1.1rem 1rem;
  font-size: .9rem; color: var(--cx-navy);
}
.gulf-legend span {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--cx-navy); margin-right: .4rem;
  box-shadow: 0 0 0 4px rgba(20,171,244,.25);
}

/* Card / step depth */
.has-tilt { transform-style: preserve-3d; will-change: transform; }
.process-3d .step {
  box-shadow: 0 12px 28px rgba(1,43,54,.06);
  transform: translateZ(0);
}

@media (max-width: 980px) {
  .eco-home, .eco-intro-grid, .eco-orbit-wrap, .dash-grid {
    grid-template-columns: 1fr;
  }
  .dash-shell { transform: none; }
  .eco-orbit { --r: 140px; }
}
@media (max-width: 800px) {
  .hero-slides { min-height: 16rem; }
  .eco-orbit { --r: 118px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slides { transition: none; }
  .hero-slide {
    transition: opacity .4s ease !important;
    transform: none !important;
  }
  .hero-slide:not(.is-active):not(.is-outgoing) { opacity: 0; visibility: hidden; }
  .hero-slide.is-active, .hero-slide.is-outgoing { opacity: 1; visibility: visible; transform: none !important; }
  .hero-slide .eyebrow,
  .hero-slide .slide-title,
  .hero-slide .lede,
  .hero-slide .hero-ctas {
    transition: opacity .4s ease !important;
    transform: none !important;
  }
  .hero-progress, .hero-dot-fill { display: none; }
  .eco-ring, .eco-node, .eco-core-logo, .eco-logo-stage img, .eco-logo-panel img, .eco-leaf, .eco-core::after, .eco-logo-stage, .eco-logo-panel { animation: none !important; }
  .dash-shell { transform: none; }
  .btn:hover, .has-tilt { transform: none !important; }
}

/* Prose pages: don't let .wrap force 1180px on a reading column */
.wrap.page-body,
.wrap.page-body.prose-pad {
  width: min(800px, calc(100% - 2.4rem)) !important;
  max-width: 800px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Brand 3D hero — About & Services */
body.has-brand-hero .page-visual { display: none; }
body.has-brand-hero .content-hero.is-brand-hero,
body.has-brand-hero .content-hero {
  position: relative;
  min-height: min(78vh, 680px);
  padding: 6.8rem 0 3.2rem;
  padding-left: max(1.2rem, calc((100% - var(--cx-wrap)) / 2));
  padding-right: max(1.2rem, calc((100% - var(--cx-wrap)) / 2));
  background: #012B36;
  border-bottom: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
body.has-brand-hero .content-hero {
  text-align: left !important;
}
body.has-brand-hero .content-hero .wrap {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  position: relative;
  z-index: 2;
}
body.has-brand-hero .content-hero h1,
body.has-brand-hero .content-hero .wp-block-post-title {
  color: #fff;
  max-width: 22rem;
  text-align: left;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
body.has-brand-hero .content-hero .lede,
body.has-brand-hero .content-hero .wp-block-post-excerpt,
body.has-brand-hero .content-hero .wp-block-post-excerpt p {
  color: rgba(255,255,255,.88) !important;
  max-width: 26rem;
  text-align: left;
  margin-left: 0 !important;
  margin-inline: 0 !important;
}
body.has-brand-hero .content-hero .wp-block-post-title,
body.has-brand-hero .content-hero .lede {
  position: relative;
  z-index: 2;
}
.brand-hero {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.brand-hero-canvas {
  display: block;
  width: 100%;
  height: 100%;
}
.brand-hero-fallback {
  display: none;
  position: absolute;
  right: 6%;
  top: 50%;
  transform: translateY(-50%);
  width: min(42vw, 380px);
  height: auto;
  filter: brightness(0) invert(1);
  opacity: .92;
}
body.has-brand-hero .content-hero.is-fallback .brand-hero-fallback { display: block; }
body.has-brand-hero .content-hero.is-fallback .brand-hero-canvas { display: none; }
body.has-brand-hero .content-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(1,43,54,.82) 0%, rgba(1,43,54,.45) 42%, rgba(1,43,54,.12) 72%, rgba(1,43,54,.28) 100%);
}
@media (max-width: 800px) {
  body.has-brand-hero .content-hero.is-brand-hero,
  body.has-brand-hero .content-hero {
    min-height: min(70vh, 560px);
    justify-content: flex-end;
  }
  body.has-brand-hero .content-hero h1,
  body.has-brand-hero .content-hero .wp-block-post-title,
  body.has-brand-hero .content-hero .lede,
  body.has-brand-hero .content-hero .wp-block-post-excerpt {
    max-width: 100%;
  }
  body.has-brand-hero .content-hero::after {
    background: linear-gradient(180deg, rgba(1,43,54,.2) 0%, rgba(1,43,54,.55) 48%, rgba(1,43,54,.88) 100%);
  }
  .brand-hero-fallback {
    right: auto;
    left: 50%;
    top: 22%;
    transform: translate(-50%, 0);
    width: min(58vw, 260px);
    opacity: .7;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.has-brand-hero .content-hero { min-height: auto; }
}

/* Trust / figures */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 1.4rem 0 1.1rem;
}
.trust-stat {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: var(--cx-radius);
  padding: 1.2rem 1.1rem 1.15rem;
  box-shadow: 0 10px 28px rgba(1,43,54,.06);
}
.trust-stat strong {
  display: block;
  font-family: var(--cx-serif);
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  color: var(--cx-navy);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.trust-stat span {
  display: block;
  margin-top: .35rem;
  color: var(--cx-text, #565656);
  font-size: .95rem;
}
@media (max-width: 800px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile QA */

@media (max-width: 800px) {
  .nav-toggle {
    display: block;
    margin-left: auto;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
  }
  .header-inner { position: relative; }
  .primary-menu a,
  .site-header .wp-block-navigation a {
    display: block;
    padding: .75rem 0 !important;
    min-height: 44px;
    line-height: 1.3;
  }
  .site-header.is-open nav { padding-bottom: 5rem; }
  .header-actions { width: 100%; margin-top: .6rem; }
  .header-actions .btn { width: 100%; }
  .btn { white-space: normal; }
  .cta-row .btn, .hero-ctas .btn { max-width: 100%; }
  .site-main { padding-bottom: 4.5rem; }
  .certex-form { padding-bottom: 1rem; margin-bottom: 2rem; }
  .gulf-canvas, .gulf-map { max-width: 100%; }
  .eco-orbit, .eco-orbit--compact {
    --r: 108px;
    width: min(100%, 300px);
  }
  .eco-orbit .eco-core,
  .eco-orbit--compact .eco-core {
    width: 142px;
    height: 78px;
    margin: -39px 0 0 -71px;
  }
  .eco-orbit--compact .eco-node,
  .eco-orbit .eco-node {
    width: 64px;
    min-height: 64px;
    margin: -32px 0 0 -32px;
  }
  body.has-brand-hero .content-hero.is-brand-hero,
  body.has-brand-hero .content-hero {
    min-height: min(68vh, 520px);
    padding-top: 5.5rem;
    padding-bottom: 5.5rem;
  }
  .footer-legal { padding-right: 4.75rem; padding-bottom: .25rem; }
}
@media (max-width: 400px) {
  .eco-orbit, .eco-orbit--compact { --r: 96px; width: min(100%, 270px); }
}
@media (min-width: 801px) and (max-width: 980px) {
  .eco-orbit, .eco-orbit--compact { --r: 130px; width: min(100%, 360px); }
}


/* Homepage hero — EcoCertex logo orbit on slide 1 */
.hero-eco-visual {
  position: absolute;
  z-index: 3;
  right: max(1.2rem, calc((100% - var(--cx-wrap)) / 2));
  top: 50%;
  transform: translateY(-50%);
  width: min(440px, 40vw);
  pointer-events: none;
  opacity: 1;
  visibility: visible;
  transition: opacity 1s cubic-bezier(0.65, 0, 0.35, 1), visibility 1s cubic-bezier(0.65, 0, 0.35, 1);
}
.hero:not(.is-eco-slide) .hero-eco-visual {
  opacity: 0;
  visibility: hidden;
}
.eco-orbit--hero {
  --r: 150px;
  width: 100%;
  filter: drop-shadow(0 18px 40px rgba(0,0,0,.28));
}
.eco-orbit--hero .eco-core {
  box-shadow: 0 14px 36px rgba(0,0,0,.32), 0 0 0 10px rgba(93,206,138,.2), 0 0 48px rgba(20,171,244,.4);
}
.eco-orbit--hero .eco-node {
  box-shadow: 0 10px 24px rgba(0,0,0,.22);
}
@media (max-width: 1100px) {
  .eco-orbit--hero { --r: 132px; }
  .hero-eco-visual { width: min(380px, 38vw); }
}
@media (max-width: 800px) {
  .hero { flex-direction: column; align-items: stretch; }
  .hero-eco-visual {
    position: absolute;
    left: 50%;
    right: auto;
    top: auto;
    bottom: 3.6rem;
    transform: translateX(-50%);
    width: min(280px, 82vw);
    margin: 0;
    flex-shrink: 0;
  }
  .hero:not(.is-eco-slide) .hero-eco-visual {
    position: absolute;
    width: min(280px, 82vw);
    height: auto;
    margin: 0;
    overflow: visible;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
  .eco-orbit--hero { --r: 100px; }
  .hero-arrow { width: 44px; height: 44px; }
  .hero-dots button {
    width: 44px;
    height: 44px;
    background: transparent;
    overflow: visible;
  }
  .hero-dots button::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 28px;
    height: 4px;
    margin: -2px 0 0 -14px;
    border-radius: 99px;
    background: rgba(255,255,255,.28);
  }
  .hero-dots button.is-active::before { background: rgba(20,171,244,.35); }
  .hero-dots button .hero-dot-fill {
    left: 50%;
    top: 50%;
    right: auto;
    bottom: auto;
    width: 28px;
    height: 4px;
    margin: -2px 0 0 -14px;
  }
}


/* Mobile: FAB clearance + hero EcoCertex orbit in first viewport */
@media (max-width: 800px) {
  .section .wrap,
  .wrap.page-body,
  .page-body.wrap,
  .prose-pad.wrap {
    padding-right: 4.25rem;
    box-sizing: border-box;
  }
  .hero-content,
  .hero .hero-content {
    padding-top: 3.2rem;
    padding-bottom: 0.55rem;
  }
  .hero .brand-line { margin-bottom: 0.85rem; }
  .hero-controls { margin-top: 1rem; }
  .hero-eco-visual {
    overflow: visible;
  }
  .eco-orbit--hero { --r: 58px; width: 148px; }
  .eco-orbit--hero .eco-core {
    width: 100px;
    height: 54px;
    margin: -27px 0 0 -50px;
  }
  .eco-orbit--hero .eco-node {
    width: 44px;
    min-height: 44px;
    margin: -22px 0 0 -22px;
    font-size: .48rem;
  }
  .hero {
    overflow-x: hidden;
    overflow-y: hidden;
    min-height: calc(100svh - 4.6rem);
  }
  .hero-content,
  .hero .hero-content {
    padding-top: 2.1rem;
    padding-bottom: 0.35rem;
  }
  .hero .brand-line { margin-bottom: 0.55rem; }
  .hero .slide-title { margin-bottom: 0.7rem; }
  .hero .lede { margin-bottom: 0.85rem; font-size: 1rem; }
  .hero-controls { margin-top: 0.65rem; }
}


/* Homepage hero slide 1 — CI mark → EcoCertex morph (not the module orbit) */
.hero-eco-visual.hero-eco-morph {
  width: min(520px, 44vw);
  aspect-ratio: 2.15 / 1;
  height: auto;
  overflow: visible;
}
.hero-morph-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 2;
}
.hero-morph-plate {
  position: absolute;
  left: 4%;
  right: 4%;
  top: 18%;
  bottom: 18%;
  border-radius: 18px;
  background: radial-gradient(circle at 50% 40%, #fff, #f3fbf7 72%);
  box-shadow: 0 14px 36px rgba(0,0,0,.32), 0 0 0 8px rgba(93,206,138,.18), 0 0 48px rgba(20,171,244,.35);
  opacity: 0;
  transform: scale(0.96);
  transition: opacity .35s ease, transform .35s ease;
  z-index: 1;
  pointer-events: none;
}
.hero-morph-logo {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 26%;
  bottom: 26%;
  width: 84%;
  height: auto;
  margin: auto;
  object-fit: contain;
  opacity: 0;
  z-index: 3;
  pointer-events: none;
  transition: opacity .35s ease;
}
.hero-eco-morph.is-complete .hero-morph-plate,
.hero-eco-morph.is-fallback .hero-morph-plate {
  opacity: 1;
  transform: none;
}
.hero-eco-morph.is-complete .hero-morph-logo,
.hero-eco-morph.is-fallback .hero-morph-logo {
  opacity: 1;
}
.hero-eco-morph .hero-morph-leaves {
  opacity: 0;
  transition: opacity .4s ease;
  z-index: 4;
}
.hero-eco-morph.is-complete .hero-morph-leaves,
.hero-eco-morph.is-fallback .hero-morph-leaves {
  opacity: 1;
}
@media (prefers-reduced-motion: no-preference) {
  .hero-eco-morph.is-complete .hero-morph-logo,
  .hero-eco-morph.is-fallback .hero-morph-logo {
    animation: eco-logo-float 5.5s ease-in-out infinite;
  }
  .hero-eco-morph.is-complete .hero-morph-plate,
  .hero-eco-morph.is-fallback .hero-morph-plate {
    animation: eco-glow 4.8s ease-in-out infinite;
  }
}
@media (max-width: 1100px) {
  .hero-eco-visual.hero-eco-morph { width: min(440px, 46vw); }
}
@media (max-width: 800px) {
  .hero-eco-visual.hero-eco-morph {
    position: absolute;
    width: min(320px, 88vw);
    aspect-ratio: 2.15 / 1;
    padding: 0;
    margin: 0;
    left: 50%;
    bottom: 3.6rem;
    transform: translateX(-50%);
  }
  .hero .hero-content,
  .hero-content,
  .hero .hero-content {
    padding-bottom: 9.5rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-eco-morph .hero-morph-logo,
  .hero-eco-morph .hero-morph-plate,
  .hero-eco-morph .hero-morph-leaves { animation: none !important; opacity: 1; }
}


/* ===== v1.2.16 SEO: hero H1, breadcrumbs, related links, share ===== */
.hero .brand-line { margin: 0 0 0.4rem; }
.hero h1.hero-h1,
.hero-h1 {
  font-family: var(--cx-serif);
  font-weight: 600;
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  line-height: 1.3;
  color: #fff;
  margin: 0 0 1.15rem;
  letter-spacing: -0.01em;
  max-width: 22rem;
  text-transform: none;
}
.cx-breadcrumbs {
  font-size: 0.85rem;
  color: var(--cx-muted, #5b6b70);
  margin: 0 0 0.85rem;
  line-height: 1.5;
}
.cx-breadcrumbs a { color: inherit; text-decoration: none; }
.cx-breadcrumbs a:hover { color: var(--cx-blue, #14ABF4); text-decoration: underline; }
.cx-breadcrumbs .cx-bc-sep { opacity: 0.6; padding: 0 0.15rem; }
.content-hero .cx-breadcrumbs,
.archive-hero .cx-breadcrumbs,
.page-hero .cx-breadcrumbs { color: #3d4e54; }
.content-hero .cx-breadcrumbs a:hover,
.archive-hero .cx-breadcrumbs a:hover,
.page-hero .cx-breadcrumbs a:hover { color: var(--cx-navy); }
body.has-brand-hero .content-hero:not(.is-fallback) .cx-breadcrumbs { color: rgba(255,255,255,.88); }
body.has-brand-hero .content-hero:not(.is-fallback) .cx-breadcrumbs a:hover { color: #fff; }
.related-seo {
  margin: 2.2rem 0 0;
  padding: 1.35rem 1.4rem 1.2rem;
  background: #F7F7F7;
  border-left: 3px solid #14ABF4;
}
.related-seo h2 {
  font-family: var(--cx-serif);
  font-size: 1.15rem;
  margin: 0 0 0.7rem;
  color: #012B36;
}
.related-seo ul { margin: 0; padding: 0 0 0 1.1rem; }
.related-seo li { margin: 0.28rem 0; }
.related-seo a { color: #012B36; }
.related-seo a:hover { color: #14ABF4; }
.contact-aside .related-seo {
  margin-top: 1.4rem;
  padding: 1rem 0 0;
  background: transparent;
  border-left: 0;
  border-top: 1px solid rgba(255,255,255,.18);
}
.contact-aside .related-seo h2,
.contact-aside .related-seo li,
.contact-aside .related-seo a {
  color: #fff;
}
.contact-aside .related-seo a:hover { color: #14ABF4; }
.cx-share {
  margin: 2rem 0 0;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(1,43,54,.12);
}
.cx-share-label {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
  color: #5b6b70;
}
.cx-share ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.6rem 1rem; }
.cx-share a { color: #012B36; text-decoration: none; font-weight: 500; }
.cx-share a:hover { color: #14ABF4; text-decoration: underline; }


/* ========== Homepage fixed globe background ========== */
.home-globe-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  display: block;
  background: #012B36;
  opacity: 1;
}
.home-globe-labels {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
}
.home-globe-pill {
  position: absolute;
  left: 0;
  top: 0;
  margin: 0;
  padding: .28rem .55rem;
  border-radius: 99px;
  background: rgba(1, 24, 30, 0.9);
  border: 1px solid rgba(20, 171, 244, 0.7);
  color: #e8f6fb;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: .01em;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .22);
  transform: translate(-50%, -50%);
  opacity: 0;
  visibility: hidden;
  will-change: transform, opacity;
}
.home-globe-pill--pin {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: .32rem .55rem;
  border-radius: 10px;
  border-color: rgba(20, 171, 244, 0.85);
}
.home-globe-pill--pin strong {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}
.home-globe-pill--pin em {
  font-style: normal;
  font-weight: 500;
  font-size: 11px;
  color: rgba(168, 216, 230, 0.95);
  line-height: 1.2;
}
.home-globe-pill--region {
  border-color: rgba(93, 206, 138, 0.8);
  color: #d7f6e4;
}
.home-globe-pill--eco {
  background: rgba(255, 255, 255, 0.94);
  color: #012B36;
  border-color: rgba(93, 206, 138, 0.85);
}
@media (max-width: 767px) {
  .home-globe-pill { font-size: 12px; padding: .22rem .45rem; }
  .home-globe-pill--pin strong { font-size: 12px; }
  .home-globe-pill--pin em { font-size: 10px; }
}
body.has-home-globe {
  background: #012B36;
}
body.has-home-globe .hero,
body.has-home-globe .site-main,
body.has-home-globe .site-footer {
  position: relative;
  z-index: 1;
}
body.has-home-globe .hero {
  background: transparent;
}
body.has-home-globe .hero #hero-canvas,
body.has-home-globe .hero-fallback,
body.has-home-globe .hero-eco-visual {
  display: none !important;
}
body.has-home-globe .hero-vignette {
  background:
    linear-gradient(90deg, rgba(1, 24, 30, .78) 0%, rgba(1, 43, 54, .38) 46%, rgba(1, 43, 54, .12) 100%);
}
@media (max-width: 767px) {
  body.has-home-globe .hero-vignette {
    background:
      linear-gradient(180deg, rgba(1, 24, 30, .42) 0%, rgba(1, 24, 30, .78) 100%),
      linear-gradient(90deg, rgba(1, 24, 30, .72) 0%, rgba(1, 43, 54, .28) 70%, transparent 100%);
  }
}

.slide-eco-logo {
  display: inline-flex;
  align-items: center;
  margin: 0 0 .85rem;
  padding: .45rem .75rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .22);
}
.slide-eco-logo img {
  display: block;
  height: 36px;
  width: auto;
}

/* Semi-transparent dark panels over the globe for the rest of the homepage. */
body.has-home-globe .section,
body.has-home-globe .related-seo {
  background: rgba(1, 24, 30, 0.88);
  color: #e8f2f6;
}
body.has-home-globe .section-light {
  background: rgba(1, 30, 38, 0.90);
}
body.has-home-globe .section-navy {
  background: rgba(1, 18, 24, 0.92);
  color: #fff;
}
body.has-home-globe .section-eco {
  background: rgba(1, 28, 34, 0.90);
}
body.has-home-globe .section .kicker,
body.has-home-globe .related-seo .kicker {
  color: #7DCE8A;
}
body.has-home-globe .section h2,
body.has-home-globe .section h3,
body.has-home-globe .related-seo h2 {
  color: #f3f8fb;
}
body.has-home-globe .section .lead,
body.has-home-globe .section p,
body.has-home-globe .related-seo p,
body.has-home-globe .related-seo li,
body.has-home-globe .related-seo a {
  color: rgba(232, 242, 246, 0.9);
}
body.has-home-globe .related-seo a:hover { color: #14ABF4; }
body.has-home-globe .svc-card,
body.has-home-globe .std-card,
body.has-home-globe .trust-stat,
body.has-home-globe .step,
body.has-home-globe .eco-home-copy,
body.has-home-globe .post-card {
  background: rgba(255, 255, 255, 0.96);
  color: var(--cx-navy);
}
body.has-home-globe .svc-card h3,
body.has-home-globe .std-card h3,
body.has-home-globe .step h3,
body.has-home-globe .eco-home-copy h2,
body.has-home-globe .trust-stat strong,
body.has-home-globe .svc-card p,
body.has-home-globe .std-card p,
body.has-home-globe .step p,
body.has-home-globe .eco-home-copy p,
body.has-home-globe .eco-home-copy .kicker,
body.has-home-globe .eco-home-copy .lead,
body.has-home-globe .trust-stat span {
  color: var(--cx-navy);
}
body.has-home-globe .trust-stat span {
  color: #3d4e54;
}

/* Book-assessment stays a dark panel so ghost buttons and kickers remain readable. */
body.has-home-globe .book-box {
  background: rgba(1, 18, 24, 0.72);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}
body.has-home-globe .book-box h2,
body.has-home-globe .book-box h3,
body.has-home-globe .book-box p,
body.has-home-globe .book-box .lead {
  color: #f3f8fb;
}
body.has-home-globe .book-box .kicker {
  color: #7DCE8A;
}
body.has-home-globe .book-box .btn-ghost {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.55);
}

body.has-home-globe #ecocertex .eco-net-visual,
body.has-home-globe #ecocertex .eco-orbit,
body.has-home-globe .eco-net-visual,
body.has-home-globe .eco-orbit {
  display: none !important;
}

/* Homepage footer sits on the dark globe — light type and a light logo. */
body.has-home-globe .site-footer {
  background: rgba(1, 16, 22, 0.94);
  color: rgba(232, 242, 246, 0.9);
  border-top-color: rgba(255, 255, 255, 0.1);
}
body.has-home-globe .site-footer h2,
body.has-home-globe .site-footer h3 {
  color: #f3f8fb;
}
body.has-home-globe .site-footer p,
body.has-home-globe .site-footer li,
body.has-home-globe .site-footer .footer-legal {
  color: rgba(232, 242, 246, 0.86);
}
body.has-home-globe .site-footer a,
body.has-home-globe .site-footer .footer-legal a {
  color: #e8f2f6;
}
body.has-home-globe .site-footer a:hover,
body.has-home-globe .site-footer .footer-legal a:hover {
  color: #14ABF4;
}
body.has-home-globe .site-footer .footer-legal {
  border-top-color: rgba(255, 255, 255, 0.14);
}
body.has-home-globe .site-footer .site-logo img,
body.has-home-globe .site-footer .custom-logo-link img {
  filter: brightness(0) invert(1);
  opacity: 0.96;
}

body.has-home-globe .btn-ghost-dark {
  color: #fff !important;
  border-color: rgba(255,255,255,.45);
}
body.has-home-globe .btn-ghost-dark:hover {
  background: #fff;
  color: var(--cx-navy) !important;
}
body.has-home-globe #home-cta.section-navy h2,
body.has-home-globe #home-cta .lead { color: #fff; }

/* Navy buttons sitting directly on the dark globe need a visible edge. */
body.has-home-globe #services-teaser .cta-row .btn-navy,
body.has-home-globe #home-cta .btn-navy {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

/* Mobile How we work: brief layout uses transparent steps, so type must be light. */
@media (max-width: 767px) {
  body.home.has-home-globe #process .step,
  body.front-page.has-home-globe #process .step {
    background: transparent;
    border-bottom-color: rgba(255, 255, 255, 0.14);
  }
  body.home.has-home-globe #process .step h3,
  body.front-page.has-home-globe #process .step h3,
  body.home.has-home-globe #process .step p,
  body.front-page.has-home-globe #process .step p {
    color: #f3f8fb;
  }
  /* Related services/articles pills are white; keep navy label text. */
  body.home.has-home-globe .related-seo a,
  body.front-page.has-home-globe .related-seo a {
    color: var(--cx-navy);
    background: #fff;
    border-color: rgba(255, 255, 255, 0.7);
  }
  body.home.has-home-globe .related-seo a:hover,
  body.front-page.has-home-globe .related-seo a:hover {
    color: var(--cx-blue);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-globe-canvas { opacity: 1; }
}
