/* ============================================================
   A&B Communications – Custom CSS
   Design system extracted from reference HTML
   Brand Blue #1565F0 · Navy #0E254F · Cream #F6F4EF · White #FFFFFF
   ============================================================ */

/* ---- Google Fonts import ---- */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,700;1,800&family=JetBrains+Mono:wght@400;600&display=swap');

/* ---- CSS Custom Properties ---- */
:root {
  --brand:       #1565F0;
  --brand-deep:  #0E47B5;
  --brand-soft:  #E8F0FE;
  --navy:        #0E254F;
  --navy-deep:   #081A3A;
  --gold:        #F5B820;
  --cream:       #F6F4EF;
  --paper:       #FFFFFF;
  --pill-bg:     #EEEDE7;
  --ink:         #0B1220;
  --ink2:        #3A4356;
  --ink3:        #6A7385;
  --line:        #E5E2DA;
  --shadow-card: 0 2px 4px rgba(14,37,79,0.04), 0 8px 24px -8px rgba(14,37,79,0.08);
  --shadow-card-hover: 0 4px 12px rgba(14,37,79,0.06), 0 20px 48px -10px rgba(14,37,79,0.18);
  --shadow-btn:  0 6px 20px -6px rgba(21,101,240,0.5);
  --shadow-btn-hover: 0 10px 24px -6px rgba(21,101,240,0.55);
  --radius-card: 20px;
  --radius-btn:  999px;
  --radius-input: 12px;
  --radius-icon: 16px;
  --max-w:       1320px;
  --font-sans:   'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;
  --font-display: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;
  --font-mono:   'JetBrains Mono', ui-monospace, monospace;
  --transition:  0.2s ease;
}

/* ---- Base Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1,h2,h3,h4,h5,h6 { margin: 0; line-height: 1.1; }
ul { padding: 0; margin: 0; list-style: none; }

/* ---- Utility ---- */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

.max-w { max-width: var(--max-w); margin-left: auto; margin-right: auto; padding-left: 32px; padding-right: 32px; }

/* ---- Typography Scale ---- */
.t-display { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; }
.t-display-it { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.035em; font-style: normal; }
.t-eyebrow { font-family: var(--font-sans); font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--navy); }
.t-eyebrow-light { color: rgba(255,255,255,0.7); }
.t-mono { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em; color: var(--ink3); }
.t-brand { color: var(--brand); }
.t-navy { color: var(--navy); }

/* Section pad */
.section-pad    { padding: 128px 0; }
.section-pad-md { padding: 88px 0; }
.section-pad-sm { padding: 64px 0; }

/* ---- Dot Grid Background ---- */
.dot-grid {
  background-image: radial-gradient(var(--line) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-btn);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--brand);
  color: white !important;
  box-shadow: var(--shadow-btn);
}

.btn-primary:hover {
  background: var(--brand-deep);
  transform: translateY(-1px);
  box-shadow: var(--shadow-btn-hover);
  color: white !important;
}

.btn-dark {
  background: var(--navy);
  color: white !important;
}

.btn-dark:hover {
  background: var(--navy-deep);
  transform: translateY(-1px);
  color: white !important;
}

.btn-ghost {
  background: transparent;
  color: var(--navy) !important;
  border: 1.5px solid rgba(14,37,79,0.18);
  padding: 12.5px 24.5px;
}

.btn-ghost:hover {
  border-color: var(--navy);
  background: rgba(14,37,79,0.04);
  color: var(--navy) !important;
}

.btn-ghost-white {
  background: transparent;
  color: white !important;
  border: 1.5px solid rgba(255,255,255,0.3);
  padding: 12.5px 24.5px;
}

.btn-ghost-white:hover {
  border-color: white;
  background: rgba(255,255,255,0.08);
  color: white !important;
}

.btn-lg { padding: 17px 32px; font-size: 15px; }

/* ---- Link arrow style ---- */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--navy);
  font-size: 14px;
  transition: all var(--transition);
  white-space: nowrap;
}

.link-arrow:hover { color: var(--brand); gap: 10px; }

/* ---- Cards ---- */
.card {
  background: var(--paper);
  border: 1px solid transparent;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-icon);
  background: var(--brand-soft);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.card:hover .card-icon { transform: scale(1.05) rotate(-3deg); }

/* ---- Inputs ---- */
.ab-input {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-input);
  font-family: var(--font-sans);
  font-size: 14px;
  background: white;
  color: var(--ink);
  transition: all 0.15s;
  outline: none;
}

.ab-input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(21,101,240,0.12);
}

.ab-input::placeholder { color: var(--ink3); }

/* ---- WPForms overrides ---- */
.wpforms-form .wpforms-field-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink2);
  margin-bottom: 8px;
}

.wpforms-form input[type="text"],
.wpforms-form input[type="email"],
.wpforms-form input[type="tel"],
.wpforms-form input[type="number"],
.wpforms-form input[type="url"],
.wpforms-form select,
.wpforms-form textarea {
  width: 100% !important;
  padding: 14px 18px !important;
  border: 1.5px solid var(--line) !important;
  border-radius: var(--radius-input) !important;
  font-family: var(--font-sans) !important;
  font-size: 14px !important;
  color: var(--ink) !important;
  transition: all 0.15s !important;
  outline: none !important;
  box-shadow: none !important;
}

.wpforms-form input:focus,
.wpforms-form select:focus,
.wpforms-form textarea:focus {
  border-color: var(--brand) !important;
  box-shadow: 0 0 0 4px rgba(21,101,240,0.12) !important;
}

.wpforms-form .wpforms-submit-container button,
.wpforms-form .wpforms-submit {
  width: 100% !important;
  background: var(--brand) !important;
  color: white !important;
  font-family: var(--font-sans) !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  padding: 17px 32px !important;
  border-radius: var(--radius-btn) !important;
  border: none !important;
  cursor: pointer !important;
  transition: all var(--transition) !important;
  box-shadow: var(--shadow-btn) !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wpforms-form .wpforms-submit:hover {
  background: var(--brand-deep) !important;
  transform: translateY(-1px) !important;
  box-shadow: var(--shadow-btn-hover) !important;
}

/* ---- Badge (trust pill) ---- */
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: white;
  color: var(--navy);
  border-radius: 100px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 16px -4px rgba(14,37,79,0.12);
  white-space: nowrap;
}

.trust-badge .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brand);
  flex-shrink: 0;
}

.trust-badge .check {
  color: var(--brand);
  display: inline-flex;
  flex-shrink: 0;
}

/* ---- Service selector pills (form) ---- */
.service-pill {
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  border-radius: 100px;
  border: 1.5px solid var(--line);
  background: white;
  color: var(--ink2);
  cursor: pointer;
  transition: all 0.15s;
}

.service-pill:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.service-pill.active {
  border-color: var(--brand);
  background: var(--brand);
  color: white;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}

.navbar-brand {
  flex-shrink: 0;
  margin-right: 8px;
}

.navbar-brand img { height: 40px; width: auto; }

.nav-pill {
    display: flex;
    align-items: center;
    gap: 2px;
    background: var(--pill-bg);
    border-radius: 100px;
    padding: 4px;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    justify-content: space-evenly;
}
.nav-pill a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink2);
  padding: 7px 13px;
  border-radius: 100px;
  white-space: nowrap;
  transition: all var(--transition);
}

.nav-pill a:hover, .nav-pill a.active {
  background: white;
  color: var(--ink);
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-phone {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
}

.nav-phone small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--ink3);
}

.nav-hamburger {
  display: none;
  background: none;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 7px 10px;
  cursor: pointer;
  color: var(--ink);
}

.nav-hamburger span {
  display: block;
  width: 18px; height: 1.5px;
  background: currentColor;
  margin: 4px 0;
  transition: all var(--transition);
}

/* Mobile drawer */
.mobile-nav-drawer {
  display: none;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 16px 32px 24px;
}

.mobile-nav-drawer ul { display: flex; flex-direction: column; gap: 2px; margin-bottom: 16px; }
.mobile-nav-drawer ul a { display: block; padding: 10px 12px; font-size: 15px; font-weight: 500; color: var(--ink2); border-radius: 8px; }
.mobile-nav-drawer ul a:hover { background: var(--cream); color: var(--ink); }
.mobile-nav-drawer .drawer-ctas { display: flex; flex-direction: column; gap: 10px; }

/* ============================================================
   HERO
   ============================================================ */
.hero-section {
  background: var(--cream);
  padding: 96px 0 104px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-section--split {
  text-align: left;
  background-size: cover;
  background-position: center center;
}

.hero-section--split::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(246,244,239,0.97) 42%, rgba(246,244,239,0.6) 100%);
  z-index: 0;
}

.hero-section--split .hero-inner {
  position: relative;
  z-index: 1;
}

.hero-split-left { display: flex; flex-direction: column; justify-content: center; }

/* Trust stack */
.hero-trust-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 28px 0 32px;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--ink);
}

.hero-trust-stars {
  display: flex;
  gap: 2px;
  color: var(--gold);
  flex-shrink: 0;
}

.hero-trust-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--brand);
  color: white;
  flex-shrink: 0;
}

.hero-section .dot-grid {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  pointer-events: none;
}

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

.hero-eyebrow { margin-bottom: 20px; }

.hero-headline {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.4rem, 5.5vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 auto 24px;
  max-width: 900px;
}

.hero-headline .accent {
  font-style: italic;
  font-weight: 400;
  color: var(--brand);
}

.hero-sub {
  font-size: 18px;
  color: var(--ink2);
  line-height: 1.6;
  margin: 0 auto 48px;
  max-width: 580px;
}

.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

/* Trust pill row */
.hero-badges {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* ============================================================
   TRUST LOGOS / CLIENTS STRIP
   ============================================================ */
/* AI answer block — readable by crawlers, minimal visual footprint */
.ai-answer-block {
  padding: 18px 24px;
  background: var(--paper);
  border-left: 3px solid var(--brand);
  margin: 0 auto;
  font-size: 14px;
  color: var(--ink2);
  line-height: 1.7;
  max-width: var(--max-w);
}
.ai-answer-block strong { color: var(--ink); }
.ai-answer-block a { color: var(--brand); }

.trust-strip {
  background: var(--paper);
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
}

.trust-strip-inner {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

.trust-logos-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.trust-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex-shrink: 0;
}
.trust-logo-item img {
  height: 28px;
  width: auto;
  display: block;
  filter: grayscale(100%) opacity(0.45);
  transition: filter 0.2s ease;
}
.trust-logo-item:hover img,
a.trust-logo-item:hover img {
  filter: grayscale(0%) opacity(1);
}

/* ============================================================
   SECTION HEADER
   ============================================================ */
.section-hd { margin-bottom: 64px; }
.section-hd .eyebrow { margin-bottom: 14px; }

.section-hd h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--ink);
}

.section-hd h2 .accent {
  font-style: italic;
  font-weight: 400;
  color: var(--brand);
}

.section-hd-split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 64px;
}

/* Light variant (dark background) */
.section-hd-light .eyebrow { color: rgba(255,255,255,0.7); }
.section-hd-light h2 { color: white; }
.section-hd-light p { color: rgba(255,255,255,0.75); }

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services-section { background: var(--paper); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  padding: 36px;
}

.service-card .card-icon { margin-bottom: 24px; }

.service-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
  color: var(--ink);
}

.service-card p {
  font-size: 14.5px;
  color: var(--ink2);
  line-height: 1.7;
  margin: 0 0 20px;
}

.service-card ul { display: flex; flex-direction: column; gap: 2px; margin: 0 0 22px; }

.service-card ul li {
  font-size: 13.5px;
  color: var(--ink2);
  padding: 5px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.service-card ul li .check-icon {
  color: var(--brand);
  flex-shrink: 0;
  margin-top: 2px;
  display: inline-flex;
}

/* ============================================================
   STATS SECTION
   ============================================================ */
.stats-section {
  background: var(--navy-deep);
  color: white;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(21,101,240,0.18) 0%, transparent 55%);
  pointer-events: none;
}

.stats-section .dot-grid {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  pointer-events: none;
}

.stats-section-inner { position: relative; z-index: 1; }

.stats-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 56px;
  max-width: 680px;
}

.stats-section h2 .accent {
  font-style: italic;
  font-weight: 400;
  color: var(--brand);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  padding: 0 32px;
  border-left: 1px solid rgba(255,255,255,0.15);
}

.stat-item:first-child { border-left: none; padding-left: 0; }

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 3rem);
  font-weight: 500;
  line-height: 1;
  color: white;
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.stat-sub {
  font-size: 13px;
  opacity: 0.65;
  margin-bottom: 10px;
}

.stat-mono {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* ============================================================
   WHY US SECTION
   ============================================================ */
.why-section { background: var(--cream); }

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 80px;
  align-items: start;
}

.why-img {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 60px -25px rgba(14,37,79,0.4);
  background: var(--brand-soft);
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.why-reasons { display: flex; flex-direction: column; }

.why-reason {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.why-reason:last-child { border-bottom: 1px solid var(--line); }

.why-reason-num {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 500;
  color: var(--brand);
  line-height: 1;
  letter-spacing: -0.02em;
}

.why-reason h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.why-reason p {
  font-size: 15px;
  color: var(--ink2);
  line-height: 1.6;
  margin: 0;
}

/* ============================================================
   INDUSTRIES
   ============================================================ */
.industries-section {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.industry-card {
  padding: 28px 20px;
  text-align: center;
  display: block;
  color: var(--ink);
}

.industry-card .card-icon {
  margin: 0 auto 16px;
}

.industry-card h3 {
  font-size: 14.5px;
  font-weight: 600;
  margin-bottom: 4px;
}

/* ============================================================
   CERTIFICATIONS
   ============================================================ */
.certs-section {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.certs-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 56px;
  align-items: center;
}

.certs-layout h3 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.certs-layout h3 .accent {
  font-style: italic;
  color: var(--brand);
}

.certs-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.cert-item {
  padding: 16px 12px;
  text-align: center;
  border-left: 1px solid var(--line);
}

.cert-item:first-child { border-left: none; }

.cert-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.cert-item strong { display: block; font-size: 13px; font-weight: 600; margin-bottom: 2px; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section { background: var(--paper); }

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.testimonial-card {
  padding: 40px;
  background: var(--cream);
  border-radius: 24px;
}

.quote-mark {
  color: var(--brand);
  opacity: 0.25;
  margin-bottom: 18px;
  display: block;
  line-height: 1;
}

.testimonial-card blockquote {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 28px;
  font-style: normal;
}

.testimonial-footer {
  display: flex;
  gap: 14px;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.testimonial-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--brand-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 20px;
  font-weight: 500;
  color: var(--brand);
  flex-shrink: 0;
}

.testimonial-name { font-size: 14.5px; font-weight: 600; margin-bottom: 2px; }
.testimonial-role { font-size: 13px; color: var(--ink3); }

.star-row { display: flex; gap: 3px; color: var(--gold); margin-left: auto; }

/* ============================================================
   CONTACT / QUOTE FORM SECTION
   ============================================================ */
.contact-section {
  background: var(--navy);
  color: white;
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(245,184,32,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.contact-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.02;
  margin: 0 0 24px;
}

.contact-headline .accent {
  font-style: italic;
  font-weight: 400;
  color: var(--brand);
}

.contact-sub {
  font-size: 17px;
  opacity: 0.85;
  line-height: 1.6;
  margin: 0 0 40px;
  max-width: 480px;
}

.contact-info-list { display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; }

.contact-info-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.contact-info-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: rgba(255,255,255,0.1);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-item strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 2px;
}

.contact-info-item span {
  font-size: 13.5px;
  opacity: 0.7;
}

.contact-form-card {
  background: white;
  color: var(--ink);
  padding: 40px;
  border-radius: 24px;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.4);
}

.contact-form-card h3 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0 0 6px;
}

.contact-form-card .form-sub {
  font-size: 13.5px;
  color: var(--ink3);
  margin-bottom: 28px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.form-full { margin-bottom: 18px; }

.service-pills-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }

.form-note {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink3);
  text-align: center;
  margin-top: 14px;
  letter-spacing: 0.04em;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-section { background: var(--cream); }

.faq-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 80px;
  align-items: start;
}

.faq-accordion .accordion-item {
  border: none !important;
  border-radius: 0 !important;
  background: none !important;
  border-bottom: 1px solid var(--line) !important;
  margin: 0 !important;
}

.faq-accordion .accordion-button {
  background: none !important;
  color: var(--ink) !important;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.005em;
  padding: 20px 0 !important;
  border: none !important;
  box-shadow: none !important;
}

.faq-accordion .accordion-button:not(.collapsed) {
  color: var(--brand) !important;
}

.faq-accordion .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230B1220'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
}

.faq-accordion .accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231565F0'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
}

.faq-accordion .accordion-body {
  font-size: 15px;
  color: var(--ink2);
  line-height: 1.7;
  padding: 0 0 20px !important;
  background: none !important;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.85);
  padding: 64px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 0;
  border-radius: 14px;
  margin-bottom: 18px;
}

.footer-brand-logo img { height: 36px; width: auto; display: block; }
.footer-brand-logo span { font-weight: 700; font-size: 14px;}

.footer-brand p {
  font-size: 13.5px;
  line-height: 1.6;
  opacity: 0.7;
  margin: 0 0 18px;
  max-width: 280px;
}

.footer-col-title {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 16px;
}

.footer-links { display: flex; flex-direction: column; gap: 9px; }

.footer-links a {
  font-size: 13.5px;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}

.footer-links a:hover { color: rgba(255,255,255,0.9); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 12.5px;
  opacity: 0.6;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { color: inherit; transition: opacity var(--transition); }
.footer-bottom-links a:hover { opacity: 1; }

/* ============================================================
   FLOATING PHONE BUTTON (mobile)
   ============================================================ */
.floating-cta {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 900;
  background: var(--brand);
  color: white !important;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 8px 24px -6px rgba(21,101,240,0.55);
  transition: all var(--transition);
}

.floating-cta:hover {
  background: var(--brand-deep);
  transform: scale(1.08);
  color: white !important;
}

/* ============================================================
   SVG ICONS (inline)
   ============================================================ */
.icon { display: inline-flex; flex-shrink: 0; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1199px) {
  .why-grid { gap: 48px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .stat-item:nth-child(odd) { border-left: none; padding-left: 0; }
  .stat-item:nth-child(2), .stat-item:nth-child(4) { padding-left: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; gap: 32px; }
}

@media (max-width: 991px) {
  .section-pad { padding: 80px 0; }
  .section-pad-md { padding: 64px 0; }

  .nav-pill { display: none; }
  .nav-hamburger { display: block; }

  .services-grid { grid-template-columns: 1fr 1fr; }
  .industries-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .faq-layout { grid-template-columns: 1fr; gap: 40px; }
  .certs-layout { grid-template-columns: 1fr; }
  .certs-grid { grid-template-columns: repeat(3, 1fr); }
  .trust-strip-inner { grid-template-columns: 1fr; gap: 20px; }
  .trust-logos-row { justify-content: center; gap: 24px; }
  .trust-logo-item img { height: 22px; }
  .testimonials-grid { grid-template-columns: 1fr; }

  .hero-section { padding: 72px 0 80px; }
  .hero-headline { font-size: 2.8rem; }
}

@media (max-width: 767px) {
  .max-w { padding-left: 20px; padding-right: 20px; }
  .navbar { padding-left: 20px; padding-right: 20px; }
  .mobile-nav-drawer { padding-left: 20px; padding-right: 20px; }

  .section-pad { padding: 64px 0; }

  .hero-section { padding: 56px 0 64px; }
  .hero-headline { font-size: 2rem; }
  .hero-sub { font-size: 16px; }
  .hero-ctas { gap: 10px; }

  .services-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .certs-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: 1fr; gap: 32px; }
  .stat-item { border-left: none; padding-left: 0 !important; }

  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .floating-cta { display: flex; }

  .nav-phone { display: none; }
}

@media (max-width: 480px) {
  .hero-badges { gap: 8px; }
  .trust-badge { font-size: 12px; padding: 7px 12px; }
  .btn-lg { padding: 14px 22px; font-size: 14px; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   PAGE TEMPLATE (page.php)
   ============================================================ */

.page-hero {
  background: var(--cream);
  padding: 80px 0 64px;
  border-bottom: 1px solid var(--line);
}
.page-hero-inner {
  max-width: 720px;
}
.page-hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--navy-deep);
  margin-bottom: 16px;
}
.page-hero-lead {
  font-size: 18px;
  color: var(--ink2);
  line-height: 1.65;
  margin: 0;
}

.page-body {
  padding: 64px 0 80px;
}
.page-body-inner {
  max-width: 800px;
}
.page-featured-img {
  margin-bottom: 40px;
  border-radius: var(--radius-card);
  overflow: hidden;
}
.page-featured-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* WordPress content styles */
.page-entry-content h2,
.post-entry-content h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--navy-deep);
  margin: 2rem 0 0.75rem;
  letter-spacing: -0.02em;
}
.page-entry-content h3,
.post-entry-content h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--navy);
  margin: 1.5rem 0 0.5rem;
}
.page-entry-content p,
.post-entry-content p {
  color: var(--ink2);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
.page-entry-content ul,
.page-entry-content ol,
.post-entry-content ul,
.post-entry-content ol {
  color: var(--ink2);
  line-height: 1.75;
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}
.page-entry-content li,
.post-entry-content li {
  margin-bottom: 0.4rem;
}
.page-entry-content a,
.post-entry-content a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.page-entry-content a:hover,
.post-entry-content a:hover {
  color: var(--brand-deep);
}
.page-entry-content blockquote,
.post-entry-content blockquote {
  border-left: 3px solid var(--brand);
  margin: 2rem 0;
  padding: 1rem 1.5rem;
  background: var(--brand-soft);
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: var(--navy);
}
.page-entry-content img,
.post-entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 1.5rem 0;
}

/* CTA Strip */
.cta-strip {
  background: var(--cream);
  border-top: 1px solid var(--line);
  padding: 60px 0;
}
.cta-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-strip-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--navy-deep);
  margin: 0;
}
.cta-strip-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

/* ============================================================
   SINGLE POST TEMPLATE (single.php)
   ============================================================ */

.post-hero { padding-bottom: 48px; }
.post-meta-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.post-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink3);
  text-decoration: none;
  transition: color 0.2s;
}
.post-back-link:hover { color: var(--brand); }
.post-cat-badge {
  display: inline-block;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}
.post-hero-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--navy-deep);
  margin-bottom: 16px;
  max-width: 860px;
}
.post-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink3);
}
.post-meta-sep { opacity: 0.4; }

.post-featured-wrap {
  padding: 0 0 48px;
}
.post-featured-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-card);
  display: block;
}

.post-body-inner {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 64px;
  align-items: start;
}
.post-entry-content { min-width: 0; }

.sidebar-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 28px;
  position: sticky;
  top: 100px;
}
.sidebar-card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--navy-deep);
  margin: 0 0 8px;
}
.sidebar-card-text {
  font-size: 14px;
  color: var(--ink2);
  margin-bottom: 20px;
  line-height: 1.6;
}

.post-nav-wrap {
  border-top: 1px solid var(--line);
  padding: 40px 0;
}
.post-nav-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.post-nav-link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.post-nav-link:hover {
  border-color: var(--brand);
  box-shadow: 0 4px 16px -4px rgba(21,101,240,0.12);
}
.post-nav-next { text-align: right; align-items: flex-end; }
.post-nav-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.post-nav-next .post-nav-label { justify-content: flex-end; }
.post-nav-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
}

/* ============================================================
   ARCHIVE TEMPLATE (archive.php)
   ============================================================ */

.archive-section { padding: 64px 0 80px; }

.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 60px;
}
.post-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s, transform 0.25s;
}
.post-card:hover {
  box-shadow: 0 12px 32px -8px rgba(14,37,79,0.12);
  transform: translateY(-4px);
}
.post-card-img-wrap { display: block; overflow: hidden; aspect-ratio: 16/9; }
.post-card-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s; }
.post-card:hover .post-card-img { transform: scale(1.04); }
.post-card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy-deep);
  margin: 10px 0 8px;
  line-height: 1.35;
}
.post-card-title a { color: inherit; text-decoration: none; }
.post-card-title a:hover { color: var(--brand); }
.post-card-excerpt {
  font-size: 14px;
  color: var(--ink2);
  line-height: 1.65;
  margin-bottom: 16px;
  flex: 1;
}
.post-card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--ink3);
  margin-top: auto;
}

.archive-pagination .nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.archive-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink2);
  text-decoration: none;
  border: 1.5px solid var(--line);
  transition: all 0.2s;
}
.archive-pagination .page-numbers:hover,
.archive-pagination .page-numbers.current {
  background: var(--brand);
  color: white;
  border-color: var(--brand);
}

.archive-empty {
  text-align: center;
  padding: 80px 0;
  color: var(--ink2);
}

/* ============================================================
   404 TEMPLATE (404.php)
   ============================================================ */

.not-found-section {
  padding: 100px 0 120px;
  background: var(--cream);
  min-height: 70vh;
  display: flex;
  align-items: center;
}
.not-found-inner {
  max-width: 580px;
}
.not-found-code {
  font-size: 120px;
  font-weight: 700;
  color: var(--brand);
  opacity: 0.15;
  line-height: 1;
  margin-bottom: -24px;
}
.not-found-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--navy-deep);
  margin-bottom: 16px;
}
.not-found-text {
  font-size: 16px;
  color: var(--ink2);
  line-height: 1.7;
  margin-bottom: 32px;
}
.not-found-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.not-found-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.not-found-links a {
  color: var(--brand);
  font-weight: 500;
  text-decoration: none;
  font-size: 15px;
}
.not-found-links a:hover { text-decoration: underline; }

/* ============================================================
   RESPONSIVE — inner pages
   ============================================================ */

@media (max-width: 991px) {
  .post-body-inner { grid-template-columns: 1fr; }
  .post-sidebar { display: none; }
  .archive-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-strip-inner { flex-direction: column; align-items: flex-start; }
  .post-nav-inner { grid-template-columns: 1fr; }
  .post-nav-next { text-align: left; align-items: flex-start; }
  .post-nav-next .post-nav-label { justify-content: flex-start; }
}

@media (max-width: 600px) {
  .page-hero { padding: 56px 0 44px; }
  .archive-grid { grid-template-columns: 1fr; }
  .not-found-code { font-size: 72px; }
  .cta-strip { padding: 44px 0; }
}

/* ============================================================
   PAGE LAYOUT — Two-column with sidebar (page.php)
   ============================================================ */

/* Hero CTAs row */
.page-hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

/* Breadcrumb */
.page-breadcrumb {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
}
.page-breadcrumb nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink3);
}
.page-breadcrumb a {
  color: var(--ink3);
  text-decoration: none;
  transition: color var(--transition);
}
.page-breadcrumb a:hover { color: var(--brand); }

/* Content section wrapper */
.page-content-section {
  padding: 64px 0 80px;
  background: var(--paper);
}

/* Two-column layout */
.page-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 64px;
  align-items: start;
}

/* Featured image */
.page-featured-img {
  margin-bottom: 40px;
  border-radius: var(--radius-card);
  overflow: hidden;
}
.page-featured-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* Sidebar */
.page-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 88px;
}

.sidebar-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 28px;
}
.sidebar-card-cta {
  background: var(--navy-deep);
  border-color: transparent;
}
.sidebar-card-cta .sidebar-card-title {
  color: #fff;
}
.sidebar-card-cta p {
  color: rgba(255,255,255,0.65);
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 1.6;
}
.sidebar-card-cta .btn-ghost {
  color: rgba(255,255,255,0.8);
  border-color: rgba(255,255,255,0.25);
}
.sidebar-card-cta .btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}
.sidebar-card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy-deep);
  margin: 0 0 12px;
}

/* Sidebar nav */
.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink2);
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
}
.sidebar-nav a svg {
  opacity: 0;
  transition: opacity var(--transition);
  flex-shrink: 0;
}
.sidebar-nav a:hover {
  background: var(--paper);
  color: var(--brand);
}
.sidebar-nav a:hover svg {
  opacity: 1;
  stroke: var(--brand);
}

/* Sidebar trust badges */
.sidebar-trust {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sidebar-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink2);
}
.sidebar-trust-item svg {
  flex-shrink: 0;
  stroke: var(--brand);
}

/* Dark CTA strip (page.php bottom) */
.page-cta-strip {
  background: var(--navy-deep);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.page-cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.04) 1px, transparent 0);
  background-size: 28px 28px;
  pointer-events: none;
}
.page-cta-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
}
.page-cta-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

/* ---- Responsive overrides ---- */
@media (max-width: 1080px) {
  .page-layout {
    grid-template-columns: 1fr 280px;
    gap: 48px;
  }
}

@media (max-width: 860px) {
  .page-layout {
    grid-template-columns: 1fr;
  }
  .page-sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .sidebar-card-cta {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .page-hero-ctas { flex-direction: column; align-items: flex-start; }
  .page-content-section { padding: 40px 0 56px; }
  .page-sidebar { grid-template-columns: 1fr; }
  .page-cta-strip { padding: 44px 0; }
  .page-cta-strip-inner { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   SERVICE PAGE TEMPLATE (page-service.php)
   ============================================================ */

/* Hero */
.svc-hero {
  background: var(--cream);
  padding: 88px 0 72px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.svc-hero .dot-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(14,37,79,0.07) 1px, transparent 0);
  background-size: 24px 24px;
  pointer-events: none;
}
.svc-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.svc-hero-content { max-width: 580px; }
.svc-headline {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  color: var(--navy-deep);
  margin-bottom: 20px;
  line-height: 1.1;
}
.svc-accent { color: var(--brand); font-style: italic; }
.svc-sub {
  font-size: clamp(15px, 1.8vw, 17px);
  color: var(--ink2);
  line-height: 1.7;
  margin-bottom: 32px;
}
.svc-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

/* Hero image panel */
.svc-hero-img {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
}
.svc-hero-thumbnail {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-card);
  box-shadow: 0 20px 60px -12px rgba(14,37,79,0.18);
}
.svc-hero-img-placeholder {
  width: 100%;
  height: 420px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  border-radius: var(--radius-card);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px -12px rgba(14,37,79,0.25);
}
.svc-hero-img-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.06) 1px, transparent 0);
  background-size: 24px 24px;
}
.svc-hero-img-icon {
  position: relative;
  z-index: 1;
  width: 96px;
  height: 96px;
  background: rgba(255,255,255,0.08);
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
}

/* Features grid */
.svc-features {
  padding: 80px 0;
  background: var(--paper);
}
.svc-features-hd {
  margin-bottom: 48px;
}
.svc-features-title {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  color: var(--navy-deep);
  margin: 0;
  max-width: 600px;
}
.svc-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.svc-feat-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 28px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.svc-feat-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
}
.svc-feat-icon {
  width: 52px;
  height: 52px;
  background: var(--brand-soft);
  border-radius: var(--radius-icon);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--brand);
}
.svc-feat-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy-deep);
  margin: 0 0 8px;
}
.svc-feat-desc {
  font-size: 14px;
  color: var(--ink2);
  line-height: 1.65;
  margin: 0;
}

/* Trust strip */
.svc-trust-strip {
  background: var(--navy-deep);
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}
.svc-trust-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.04) 1px, transparent 0);
  background-size: 28px 28px;
  pointer-events: none;
}
.svc-trust-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}
.svc-trust-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: rgba(255,255,255,0.9);
}
.svc-trust-item svg { flex-shrink: 0; stroke: var(--gold); margin-top: 2px; }
.svc-trust-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 4px;
}
.svc-trust-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.55;
}

/* Body content — two column with sidebar */
.svc-body {
  padding: 72px 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
}
.svc-body-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 56px;
  align-items: start;
}

/* Content column */
.svc-body-content { min-width: 0; }
.svc-body-content h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.3rem, 2.5vw, 1.6rem);
  color: var(--navy-deep);
  margin: 2.5rem 0 0.75rem;
  letter-spacing: -0.02em;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.svc-body-content h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}
.svc-body-content h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--navy);
  margin: 1.75rem 0 0.5rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.svc-body-content h3::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 18px;
  background: var(--brand);
  border-radius: 2px;
  flex-shrink: 0;
}
.svc-body-content p {
  color: var(--ink2);
  line-height: 1.8;
  margin-bottom: 1.25rem;
  font-size: 15px;
}
.svc-body-content ul,
.svc-body-content ol {
  color: var(--ink2);
  line-height: 1.75;
  margin-bottom: 1.25rem;
  padding-left: 0;
  list-style: none;
}
.svc-body-content ul li,
.svc-body-content ol li {
  padding: 6px 0 6px 24px;
  position: relative;
  font-size: 15px;
  border-bottom: 1px solid var(--line);
}
.svc-body-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background: var(--brand-soft);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%231565F0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}
.svc-body-content a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.svc-body-content a:hover { color: var(--brand-deep); }
.svc-body-content .wp-block-html { margin: 0; }
.svc-body-content .t-eyebrow { display: none; }

/* Aside column */
.svc-body-aside {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 88px;
}
.svc-aside-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 24px;
}
.svc-aside-cta {
  background: var(--navy-deep);
  border-color: transparent;
}
.svc-aside-cta-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 8px;
}
.svc-aside-cta p {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
  line-height: 1.6;
}
.svc-aside-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy-deep);
  margin-bottom: 12px;
}
.svc-body-aside .sidebar-nav a.active {
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 600;
}
.svc-body-aside .sidebar-nav a.active svg {
  opacity: 1;
  stroke: var(--brand);
}

/* FAQ */
.svc-faq {
  padding: 80px 0;
  background: var(--cream);
  border-top: 1px solid var(--line);
}
.svc-faq-inner { max-width: 800px; }
.svc-faq-title {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  color: var(--navy-deep);
  margin-bottom: 40px;
}
.svc-faq .accordion-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-card) !important;
  margin-bottom: 10px;
  overflow: hidden;
}
.svc-faq .accordion-button {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--navy-deep);
  background: var(--paper);
  padding: 20px 24px;
}
.svc-faq .accordion-button:not(.collapsed) {
  color: var(--brand);
  background: var(--brand-soft);
  box-shadow: none;
}
.svc-faq .accordion-button::after {
  filter: none;
}
.svc-faq .accordion-body {
  font-size: 15px;
  color: var(--ink2);
  line-height: 1.75;
  padding: 0 24px 24px;
  background: var(--paper);
}

/* CTA */
.svc-cta {
  background: var(--navy);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.svc-cta .dot-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.04) 1px, transparent 0);
  background-size: 28px 28px;
  pointer-events: none;
}
.svc-cta-inner { position: relative; }
.svc-cta-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.15;
}
.svc-cta-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 40px;
}
.svc-cta-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ── Service page responsive ── */
@media (max-width: 1100px) {
  .svc-hero-inner { gap: 40px; }
  .svc-features-grid { grid-template-columns: repeat(3, 1fr); }
  .svc-trust-inner { grid-template-columns: repeat(2, 1fr); }
  .svc-body-layout { grid-template-columns: 1fr 260px; gap: 40px; }
}
@media (max-width: 900px) {
  .svc-hero-inner { grid-template-columns: 1fr; }
  .svc-hero-img { display: none; }
  .svc-hero-content { max-width: 100%; }
  .svc-body-layout { grid-template-columns: 1fr; }
  .svc-body-aside { position: static; display: grid; grid-template-columns: 1fr 1fr; }
  .svc-aside-cta { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  .svc-hero { padding: 64px 0 52px; }
  .svc-features { padding: 56px 0; }
  .svc-features-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-trust-strip { padding: 44px 0; }
  .svc-trust-inner { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .svc-cta { padding: 72px 0; }
}
@media (max-width: 540px) {
  .svc-ctas { flex-direction: column; align-items: flex-start; }
  .svc-features-grid { grid-template-columns: 1fr; }
  .svc-trust-inner { grid-template-columns: 1fr; }
  .svc-cta-btns { flex-direction: column; align-items: center; }
  .svc-faq-title { font-size: 1.6rem; }
  .svc-body-aside { grid-template-columns: 1fr; }
}

/* ── Related Services section ── */
.svc-related {
  padding: 80px 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
}
.svc-related-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--navy-deep);
  margin-bottom: 36px;
}
.svc-related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.svc-related-card {
  display: flex;
  flex-direction: column;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 24px;
  text-decoration: none;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.svc-related-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
  border-color: var(--brand);
}
.svc-related-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy-deep);
  margin-bottom: 8px;
}
.svc-related-desc {
  font-size: 13px;
  color: var(--ink2);
  line-height: 1.6;
  margin: 0 0 16px;
  flex: 1;
}
.svc-related-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
  margin-top: auto;
}
.svc-related-card:hover .svc-related-link { gap: 10px; }
.svc-related-link svg { transition: transform var(--transition); }
.svc-related-card:hover .svc-related-link svg { transform: translateX(3px); }

/* FAQ answer links */
.svc-faq .accordion-body a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.svc-faq .accordion-body a:hover { color: var(--brand-deep); }

@media (max-width: 900px) {
  .svc-related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .svc-related-grid { grid-template-columns: 1fr; }
  .svc-related { padding: 56px 0; }
}

/* ============================================================
   BLOG / KNOWLEDGE HUB (home.php)
   ============================================================ */

/* Hero */
.blog-hero {
  background: var(--cream);
  padding: 72px 0 60px;
  border-bottom: 1px solid var(--line);
}
.blog-hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--navy-deep);
  margin-bottom: 16px;
  max-width: 700px;
}
.blog-hero-sub {
  font-size: 17px;
  color: var(--ink2);
  line-height: 1.7;
  max-width: 580px;
  margin: 0;
}

/* Layout */
.blog-section {
  padding: 64px 0 80px;
  background: var(--paper);
}
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 56px;
  align-items: start;
}

/* Post grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.post-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.post-card-read-more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
  white-space: nowrap;
  transition: gap var(--transition);
}
.post-card-read-more:hover { gap: 8px; }

/* Placeholder image */
.post-card-img-placeholder {
  aspect-ratio: 16/9;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink3);
}

/* Sidebar */
.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 88px;
}
.blog-sidebar-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 24px;
}
.blog-sidebar-cta {
  background: var(--navy-deep);
  border-color: transparent;
}
.blog-sidebar-cta-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 8px;
}
.blog-sidebar-cta p {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
  line-height: 1.6;
}
.blog-sidebar-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy-deep);
  margin-bottom: 14px;
}

/* Category list */
.blog-cat-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.blog-cat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink2);
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
}
.blog-cat-item:hover {
  background: var(--paper);
  color: var(--brand);
}
.blog-cat-count {
  font-size: 11px;
  font-weight: 600;
  background: var(--line);
  color: var(--ink3);
  padding: 2px 7px;
  border-radius: 99px;
}

/* Empty state */
.archive-empty {
  text-align: center;
  padding: 80px 24px;
  color: var(--ink2);
}

/* ── Blog responsive ── */
@media (max-width: 1080px) {
  .blog-layout { grid-template-columns: 1fr 260px; gap: 40px; }
}
@media (max-width: 860px) {
  .blog-layout { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .blog-sidebar-cta { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .blog-hero { padding: 48px 0 40px; }
  .blog-section { padding: 40px 0 56px; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-sidebar { grid-template-columns: 1fr; }
}
