/* =============================================================
   PCF Professional Consultancy Firm — main.css v2.2
   Colours extracted from logo:
     Navy   #001040  — deep dark base, backgrounds
     Blue   #0070D0  — royal blue, links, accents
     Violet #A000D0  — purple, gradient start
     White  #FFFFFF  — primary text
   ============================================================= */

:root {
  --navy:          #001040;
  --navy-mid:      #00194E;
  --navy-soft:     #0A2060;
  --navy-border:   #0D2060;
  --blue:          #0070D0;
  --blue-light:    #2E90E8;
  --blue-ghost:    rgba(0, 112, 208, 0.1);
  --violet:        #A000D0;
  --violet-light:  #C040E8;
  --violet-ghost:  rgba(160, 0, 208, 0.08);
  --grad:          linear-gradient(135deg, #A000D0 0%, #0070D0 100%);
  --grad-text:     linear-gradient(90deg,  #A000D0 0%, #0070D0 100%);
  --grad-subtle:   linear-gradient(135deg, rgba(160,0,208,0.12) 0%, rgba(0,112,208,0.12) 100%);
  --white:         #FFFFFF;
  --white-dim:     rgba(255, 255, 255, 0.65);
  --white-soft:    rgba(255, 255, 255, 0.35);
  --white-ghost:   rgba(255, 255, 255, 0.05);
  --surface:       #F4F6FF;

  --font-display: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --font-mono:    'IBM Plex Mono', 'Courier New', monospace;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur:      0.25s;

  --pad:  clamp(1.5rem, 6vw, 4.5rem);
  --maxw: 1240px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--navy);
  color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video { display: block; max-width: 100%; }
button, input, textarea { font-family: inherit; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }


/* =============================================================
   NAVIGATION
   ============================================================= */
.pcf-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad);
  background: rgba(0, 16, 64, 0.95);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--navy-border);
  transition: background var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out);
}

.pcf-nav.scrolled {
  background: rgba(0, 16, 64, 0.99);
  border-bottom-color: rgba(0, 112, 208, 0.35);
}

/* Brand */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.nav-logo-img,
.nav-brand .wp-block-site-logo img {
  height: 36px;
  width: auto;
}

.nav-brand-text { display: flex; flex-direction: column; line-height: 1.15; }

.nav-brand-name,
.nav-brand .wp-block-site-title {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
}

/* WordPress wraps site-title in an <a> */
.nav-brand .wp-block-site-title a { color: var(--white); text-decoration: none; }

.nav-brand-sub {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-light);
}

/* Nav links */
.nav-links,
.pcf-nav .wp-block-navigation__container {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  list-style: none;
}

.nav-links a,
.pcf-nav .wp-block-navigation-item__content {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white-dim);
  text-decoration: none;
  transition: color var(--dur);
  position: relative;
}

.nav-links a::after,
.pcf-nav .wp-block-navigation-item__content::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 100%;
  height: 1px;
  background: var(--blue-light);
  transition: right var(--dur) var(--ease-out);
}

.nav-links a:hover,
.pcf-nav .wp-block-navigation-item__content:hover { color: var(--white); }

.nav-links a:hover::after,
.pcf-nav .wp-block-navigation-item__content:hover::after { right: 0; }

/* WhatsApp button */
.nav-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--grad);
  padding: 0.55rem 1.2rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: opacity var(--dur), transform var(--dur);
  flex-shrink: 0;
}

.nav-whatsapp:hover { opacity: 0.88; transform: translateY(-1px); color: var(--white); }

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  width: 36px;
  height: 36px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white);
  transition: all 0.3s var(--ease-out);
  transform-origin: center;
}

.nav-toggle.open span:nth-child(1) { transform: rotate(45deg)  translate(4.5px, 4.5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

/* Mobile drawer */
.nav-drawer {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0;
  z-index: 899;
  background: var(--navy-mid);
  border-bottom: 1px solid var(--navy-border);
  padding: 1.5rem var(--pad) 2rem;
  flex-direction: column;
}

.nav-drawer.open { display: flex; }

.nav-drawer a {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white-dim);
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--navy-border);
  transition: color var(--dur);
}

.nav-drawer a:hover { color: var(--white); }

.nav-drawer .drawer-whatsapp {
  margin-top: 1rem;
  border-bottom: none;
  background: var(--grad);
  color: var(--white);
  text-align: center;
  padding: 0.9rem;
}

.nav-drawer .drawer-whatsapp:hover { opacity: 0.88; color: var(--white); }


/* =============================================================
   SHARED
   ============================================================= */
.pcf-section {
  padding: clamp(4rem, 7vw, 7rem) var(--pad);
}

.pcf-section-inner {
  max-width: var(--maxw);
  margin: 0 auto;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 1.5rem;
}

.section-label::before {
  content: '';
  display: block;
  width: 18px;
  height: 1px;
  background: var(--blue);
  flex-shrink: 0;
}


/* =============================================================
   HERO
   ============================================================= */
.pcf-hero {
  min-height: 100svh;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(2.5rem, 5vw, 4rem) var(--pad) clamp(3rem, 5vw, 4rem);
  padding-top: calc(64px + clamp(2.5rem, 5vw, 4rem));
  position: relative;
  overflow: hidden;
}

/* Subtle horizontal rule texture */
.pcf-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    180deg,
    transparent,
    transparent 79px,
    rgba(0, 112, 208, 0.035) 79px,
    rgba(0, 112, 208, 0.035) 80px
  );
  pointer-events: none;
  z-index: 0;
}

/* Left margin line — violet fading to blue, like the logo arrow */
.pcf-hero::after {
  content: '';
  position: absolute;
  top: 80px; bottom: 0;
  left: calc(var(--pad) * 0.5);
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(160, 0, 208, 0.4) 25%,
    rgba(0, 112, 208, 0.3) 75%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
  gap: clamp(2rem, 4vw, 3rem);
}

/* Credential panel — fills the upper half with concrete info */
.hero-credentials {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--navy-border);
}

.hero-cred {
  padding: clamp(1.4rem, 2.5vw, 2.2rem) clamp(1.2rem, 2vw, 1.8rem);
  border-right: 1px solid var(--navy-border);
  position: relative;
}

.hero-cred:last-child { border-right: none; }

/* Gradient top accent bar on each cred cell */
.hero-cred::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad);
  opacity: 0.6;
}

.hero-cred-value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  line-height: 1;
  color: var(--white);
  margin-bottom: 0.5rem;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-cred-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white-dim);
  line-height: 1.45;
}

.hero-cred-sub {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--blue-light);
  letter-spacing: 0.1em;
  margin-top: 0.3rem;
}

/* The headline — runs full width */
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 6.5rem);
  font-weight: 400;
  line-height: 0.97;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 0;
}

/* Meta row sits below a rule line */
.hero-meta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid var(--navy-border);
}

.hero-descriptor { max-width: 460px; }

.hero-descriptor p {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  font-weight: 300;
  color: var(--white-dim);
  line-height: 1.8;
}

.hero-actions { flex-shrink: 0; }

.hero-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--grad);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.95rem 1.8rem;
  text-decoration: none;
  transition: opacity var(--dur), transform var(--dur);
  white-space: nowrap;
}

.hero-cta-primary:hover { opacity: 0.88; transform: translateY(-2px); color: var(--white); }

/* Override WP button block in hero */
.hero-cta-primary .wp-block-button__link,
.hero-actions .wp-block-button__link {
  background: var(--grad);
  color: var(--white);
  border-radius: 0;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.95rem 1.8rem;
  transition: opacity var(--dur);
}

.hero-actions .wp-block-button__link:hover { opacity: 0.88; color: var(--white); }


/* =============================================================
   SERVICES
   ============================================================= */
.pcf-services {
  background: var(--navy);
  border-top: 1px solid var(--navy-border);
}

.services-header {
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
  padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
  border-bottom: 1px solid var(--navy-border);
}

.services-heading {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4.5rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--white);
}

/* Services — 2-column compact tile grid */
.services-ledger {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--navy-border);
  border-left: 1px solid var(--navy-border);
}

.ledger-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: clamp(1.4rem, 2.2vw, 2rem) clamp(1.2rem, 2vw, 1.8rem);
  border-right: 1px solid var(--navy-border);
  border-bottom: 1px solid var(--navy-border);
  transition: background var(--dur);
  position: relative;
}

.ledger-row:hover { background: var(--white-ghost); }

/* Gradient left accent on hover */
.ledger-row::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--grad);
  opacity: 0;
  transition: opacity var(--dur);
}

.ledger-row:hover::before { opacity: 1; }

.ledger-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--blue-light);
  letter-spacing: 0.12em;
}

.ledger-title {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.7vw, 1.4rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.2;
}

.ledger-desc {
  font-size: 0.95rem;
  color: var(--white-dim);
  line-height: 1.65;
  font-weight: 300;
}

.ledger-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-light);
  border: 1px solid var(--navy-border);
  padding: 0.2rem 0.45rem;
  align-self: flex-start;
  margin-top: auto;
  padding-top: 0.6rem;
}


/* =============================================================
   WHY US
   ============================================================= */
.pcf-why {
  background: var(--navy);
  border-top: 1px solid var(--navy-border);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}

/* Left: section-label eyebrow + 2×2 marker grid, nothing else */
.why-left {
  display: flex;
  flex-direction: column;
}

/* 2×2 grid of quality markers — no heading above, sits directly under section-label */
.why-markers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--navy-border);
  border-left: 1px solid var(--navy-border);
  margin-top: 1.5rem;
}

.why-marker {
  padding: clamp(1.2rem, 2vw, 1.6rem) clamp(1rem, 1.8vw, 1.4rem);
  border-right: 1px solid var(--navy-border);
  border-bottom: 1px solid var(--navy-border);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.marker-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--blue-light);
  letter-spacing: 0.12em;
}

.marker-title {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
}

.marker-desc {
  font-size: 0.92rem;
  color: var(--white-dim);
  line-height: 1.6;
  font-weight: 300;
}

/* Right column — dark statement card, same background so no colour clash */
.why-right { position: sticky; top: 80px; }

/* .why-statement styles moved below with visual enhancement */

/* Large decorative quotation mark */
.why-statement::before {
  content: '\201C';
  position: absolute;
  top: -0.3rem;
  left: clamp(2rem, 3.5vw, 3rem);
  font-family: var(--font-display);
  font-size: 7rem;
  line-height: 1;
  color: rgba(0, 112, 208, 0.1);
  pointer-events: none;
  user-select: none;
}

.why-quote {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 400;
  line-height: 1.42;
  color: var(--white);
  font-style: italic;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.why-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--navy-border);
}

.why-stat {
  padding: 1.4rem 1rem;
  border-right: 1px solid var(--navy-border);
}

.why-stat:nth-child(2n) { border-right: none; }
.why-stat:nth-child(n+3) { border-top: 1px solid var(--navy-border); }

.stat-value {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 400;
  line-height: 1;
  margin-bottom: 0.35rem;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white-dim);
  line-height: 1.45;
}


/* =============================================================
   CONTACT — tight, full width, no side panel
   ============================================================= */
.pcf-contact {
  background: var(--navy-mid);
  border-top: 1px solid var(--navy-border);
}

.contact-inner {
  max-width: var(--maxw);
  margin: 0 auto;
}

/* Heading sits alone above the channel row */
.contact-heading {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4.5rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: clamp(2.5rem, 4vw, 4rem);
  padding-bottom: clamp(2rem, 3.5vw, 3rem);
  border-bottom: 1px solid var(--navy-border);
}

/* Four channels fill the full width */
.contact-channels {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.contact-channel {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: clamp(1.8rem, 3vw, 2.5rem) clamp(1.5rem, 2.5vw, 2rem);
  border-right: 1px solid var(--navy-border);
  text-decoration: none;
  transition: background var(--dur);
  color: var(--white);
}

.contact-channel:last-child { border-right: none; }

.contact-channel[href]:hover { background: var(--white-ghost); }

/* WhatsApp gets a gradient tint to distinguish it */
.contact-channel.is-whatsapp {
  background: var(--grad-subtle);
}

.contact-channel.is-whatsapp:hover {
  background: linear-gradient(135deg, rgba(160,0,208,0.2) 0%, rgba(0,112,208,0.18) 100%);
}

.channel-icon {
  font-size: 1.6rem;
  line-height: 1;
  display: inline-block;
}

/* WhatsApp icon — static, no animation */
.is-whatsapp .channel-icon {
  animation: none;
}

.channel-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-light);
}

.channel-value {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  color: var(--white);
  line-height: 1.2;
}

.channel-hint {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--white-soft);
  letter-spacing: 0.06em;
  line-height: 1.5;
}


/* =============================================================
   FOOTER
   ============================================================= */
.pcf-footer {
  background: var(--navy);
  border-top: 1px solid var(--navy-border);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding: clamp(3rem, 5vw, 5rem) var(--pad);
  max-width: var(--maxw);
  margin: 0 auto;
  border-bottom: 1px solid var(--navy-border);
}

.footer-logo,
.footer-brand-col .wp-block-site-logo img {
  height: 44px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-brand-name,
.footer-brand-col .wp-block-site-title {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.footer-brand-col .wp-block-site-title a { color: var(--white); text-decoration: none; }

.footer-tagline {
  font-size: 0.95rem;
  color: var(--white-dim);
  line-height: 1.65;
  font-weight: 300;
  max-width: 280px;
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 1.2rem;
}

.footer-links,
.wp-block-list.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-links li a {
  font-size: 0.92rem;
  color: var(--white-dim);
  text-decoration: none;
  transition: color var(--dur);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.footer-links li a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 1.4rem var(--pad);
  max-width: var(--maxw);
  margin: 0 auto;
}

.footer-copy,
.footer-reg {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy-soft);
}


/* =============================================================
   SCROLL REVEAL
   ============================================================= */
.pcf-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.pcf-reveal.is-visible { opacity: 1; transform: translateY(0); }



/* ── Hero SVG visual composition ── */
.hero-visual-svg {
  position: absolute;
  top: 0;
  right: 0;
  width: clamp(320px, 55vw, 680px);
  height: auto;
  pointer-events: none;
  z-index: 0;
  opacity: 0.9;
}

/* ── Services section SVG watermark ── */
.pcf-services {
  position: relative;
}

.services-visual-svg {
  position: absolute;
  right: var(--pad);
  top: 50%;
  transform: translateY(-50%);
  width: clamp(160px, 22vw, 320px);
  height: auto;
  pointer-events: none;
  opacity: 0.6;
  z-index: 0;
}

/* Keep services content above the watermark */
.pcf-services .pcf-section-inner {
  position: relative;
  z-index: 1;
}

/* ── Contact Tanzania map SVG ── */
.contact-map-svg {
  position: absolute;
  right: var(--pad);
  top: 50%;
  transform: translateY(-50%);
  width: clamp(140px, 20vw, 280px);
  height: auto;
  pointer-events: none;
  z-index: 0;
}

.pcf-contact {
  position: relative;
}

.pcf-contact .contact-inner {
  position: relative;
  z-index: 1;
}

/* Contact heading — always single line */
.contact-heading {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
}

/* ── Why statement card visual texture ── */
.why-statement {
  background: var(--navy-mid);
  border: 1px solid var(--navy-border);
  padding: clamp(2rem, 3.5vw, 3rem);
  position: relative;
  overflow: hidden;
}

.why-statement::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      45deg,
      rgba(0, 112, 208, 0.05) 0px,
      rgba(0, 112, 208, 0.05) 1px,
      transparent 1px,
      transparent 28px
    ),
    repeating-linear-gradient(
      -45deg,
      rgba(160, 0, 208, 0.04) 0px,
      rgba(160, 0, 208, 0.04) 1px,
      transparent 1px,
      transparent 28px
    );
  pointer-events: none;
  z-index: 0;
}

.why-statement .why-quote,
.why-statement .why-stats {
  position: relative;
  z-index: 1;
}


/* ── Guaranteed positioning contexts for background SVGs ── */
section.pcf-hero.wp-block-group,
section.pcf-services.wp-block-group,
section.pcf-contact.wp-block-group,
.pcf-hero, .pcf-services, .pcf-contact {
  position: relative !important;
  overflow: hidden;
}

/* Content always layers above background SVGs */
.pcf-hero .hero-inner,
.pcf-services .pcf-section-inner,
.pcf-contact .contact-inner {
  position: relative;
  z-index: 1;
}

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand-col { grid-column: 1 / -1; }

  /* Contact: 4 channels become 2x2 on tablet */
  .contact-channels { grid-template-columns: 1fr 1fr; }
  .contact-channel:nth-child(2n) { border-right: none; }
  .contact-channel:nth-child(1), .contact-channel:nth-child(2) {
    border-bottom: 1px solid var(--navy-border);
  }
}

@media (max-width: 860px) {
  .nav-links,
  .pcf-nav .wp-block-navigation,
  .nav-whatsapp { display: none; }
  .nav-toggle { display: flex; }

  /* Hero: credentials go 2-col on tablet */
  .hero-credentials { grid-template-columns: 1fr 1fr; }
  .hero-meta { flex-direction: column; align-items: flex-start; }
  .hero-actions { align-items: flex-start; }

  /* Services: stack to single column */
  .services-ledger { grid-template-columns: 1fr; }

  /* Why Us: stack columns, 2x2 markers stay */
  .why-grid { grid-template-columns: 1fr; }
  .why-right { position: static; }
}

@media (max-width: 600px) {
  /* Hero credentials: single column on mobile */
  .hero-credentials { grid-template-columns: 1fr 1fr; }

  /* Contact: single column on mobile, borders become horizontal only */
  .contact-channels { grid-template-columns: 1fr; }
  .contact-channel {
    border-right: none !important;
    border-bottom: 1px solid var(--navy-border);
  }
  .contact-channel:last-child { border-bottom: none; }

  /* Why markers: 2x2 stays readable, collapse to 1-col only at very small */
  .why-markers { grid-template-columns: 1fr; }
  .why-stats { grid-template-columns: 1fr; }
  .why-stat { border-right: none; }
  .why-stat:nth-child(n+2) { border-top: 1px solid var(--navy-border); }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .pcf-reveal { opacity: 1; transform: none; }
}
