/*
Theme Name: Augmented Audit Co
Theme URI: https://augmentedaudit.com.au
Author: Augmented Audit Co
Description: Professional audit and assurance – light, bold, modern
Version: 10.4.0
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: augmented-audit
*/

/* ============================================================
   TOKENS
   ============================================================ */
:root {
  --navy:        #0c1f45;
  --navy-mid:    #183468;
  --teal:        #0891b2;   /* bright cyan-teal — punchier on light bg */
  --teal-dark:   #0e7490;
  --teal-pale:   #e0f2fe;
  --teal-soft:   #cffafe;
  --blue-light:  #dbeafe;
  --white:       #ffffff;
  --off-white:   #f8fafc;
  --hero-bg:     #eef4fb;
  --border:      #dde6f0;
  --text:        #1e293b;
  --text-light:  #475569;
  --text-muted:  #94a3b8;
  --gold:        #f59e0b;

  /* Fonts */
  --f-display: 'Outfit', 'Segoe UI', system-ui, sans-serif;
  --f-body:    'DM Sans', 'Segoe UI', system-ui, sans-serif;

  /* Radii */
  --r-sm:   6px;
  --r-md:   14px;
  --r-lg:   22px;
  --r-xl:   32px;
  --r-pill: 999px;

  /* Shadows */
  --sh-xs: 0 1px 4px rgba(12,31,69,.06);
  --sh-sm: 0 2px 12px rgba(12,31,69,.08);
  --sh-md: 0 6px 24px rgba(12,31,69,.11);
  --sh-lg: 0 12px 48px rgba(12,31,69,.15);
  --sh-xl: 0 24px 64px rgba(12,31,69,.18);

  --ease: all 0.26s cubic-bezier(0.4,0,0.2,1);
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--f-body); color: var(--text); line-height: 1.65; background: var(--white); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--ease); }
ul { list-style: none; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal   { opacity:0; transform:translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity:1; transform:none; }
.reveal-l { opacity:0; transform:translateX(-26px); transition: opacity .6s ease, transform .6s ease; }
.reveal-r { opacity:0; transform:translateX( 26px); transition: opacity .6s ease, transform .6s ease; }
.reveal-l.in, .reveal-r.in { opacity:1; transform:none; }
.d1{transition-delay:.1s} .d2{transition-delay:.2s} .d3{transition-delay:.3s} .d4{transition-delay:.4s}

/* ============================================================
   LAYOUT
   ============================================================ */
.container   { max-width:1200px; margin:0 auto; padding:0 28px; }
.section     { padding:88px 0; }
.section-alt { background: var(--off-white); }
.tc          { text-align:center; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
/* "Section heading pill" — the oval banner look from the reference */
.section-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: var(--white);
  font-family: var(--f-display);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 7px 22px;
  border-radius: var(--r-pill);
  margin-bottom: 1rem;
}
.section-pill.teal { background: var(--teal); }
.section-pill.center { /* used with tc */ }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-body); font-size: .75rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--teal);
  margin-bottom: .875rem;
}
.eyebrow::before { content:''; width:16px; height:2px; background:var(--teal); display:block; flex-shrink:0; }
.eyebrow.center { justify-content:center; }
.eyebrow.white { color:rgba(255,255,255,.75); }
.eyebrow.white::before { background:rgba(255,255,255,.75); }

.h-xl {
  font-family: var(--f-display);
  font-size: clamp(1.875rem, 3.2vw, 2.75rem);
  font-weight: 700; line-height: 1.2; letter-spacing: -.025em; color: var(--navy);
}
.h-lg {
  font-family: var(--f-display);
  font-size: clamp(1.65rem, 2.8vw, 2.4rem);
  font-weight: 700; line-height: 1.22; letter-spacing: -.022em; color: var(--navy);
}
.lead { font-size: 1.05rem; color: var(--text-light); line-height: 1.75; max-width: 620px; }
.lead.center { margin: 0 auto; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-body); font-weight: 700; font-size: .9375rem;
  padding: .825rem 2rem; border-radius: var(--r-pill);
  border: 2px solid transparent; cursor: pointer; white-space: nowrap; transition: var(--ease);
}
.btn-navy  { background:var(--navy);  color:var(--white); border-color:var(--navy); }
.btn-navy:hover  { background:var(--navy-mid); border-color:var(--navy-mid); color:var(--white); transform:translateY(-2px); box-shadow:0 6px 20px rgba(12,31,69,.28); }
.btn-teal  { background:var(--teal);  color:var(--white); border-color:var(--teal); }
.btn-teal:hover  { background:var(--teal-dark); border-color:var(--teal-dark); color:var(--white); transform:translateY(-2px); box-shadow:0 6px 20px rgba(8,145,178,.35); }
.btn-ghost-navy { background:transparent; color:var(--navy); border-color:var(--navy); }
.btn-ghost-navy:hover { background:var(--navy); color:var(--white); }
.btn-ghost-white { background:transparent; color:var(--white); border-color:rgba(255,255,255,.5); }
.btn-ghost-white:hover { background:rgba(255,255,255,.12); border-color:var(--white); color:var(--white); }
.btn-white { background:var(--white); color:var(--teal); border-color:var(--white); }
.btn-white:hover { background:transparent; color:var(--white); border-color:var(--white); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 1000;
  transition: box-shadow .3s ease;
}
.site-header.scrolled { box-shadow: var(--sh-md); border-bottom-color: transparent; }

.header-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  height: 78px; gap: 1.5rem;
}

/* Logo */
.site-logo img, .site-logo .custom-logo { max-height: 48px; width: auto; }
.site-name-text {
  font-family: var(--f-display); font-size: 1.35rem; font-weight: 800;
  color: var(--navy); letter-spacing: -.02em;
}

/* Right side wrapper */
.header-right {
  display: flex; align-items: center; gap: 14px;
}

/* ─── THE DARK PILL NAV ─── */
.nav-pill {
  background: var(--navy);
  border-radius: var(--r-pill);
  padding: 6px 6px;
  display: flex; align-items: center;
}

.nav-menu { display:flex; align-items:center; gap:0; margin:0; }
.nav-menu > li { position:relative; }
.nav-menu > li > a {
  display: flex; align-items: center; gap: 4px;
  font-family: var(--f-body);
  font-size: .875rem; font-weight: 600;
  color: rgba(255,255,255,.88);
  padding: .5rem 1.1rem; border-radius: var(--r-pill);
  white-space: nowrap; transition: var(--ease);
}
.nav-menu > li > a:hover,
.nav-menu > .current-menu-item > a {
  color: var(--white); background: rgba(255,255,255,.16);
}
.nav-chevron { font-size:.62rem; transition:transform .22s ease; }
.nav-dropdown:hover .nav-chevron { transform: rotate(180deg); }

/* Dropdown */
.dropdown-panel {
  display: none; position: absolute; top: calc(100% + 12px); left: 50%;
  transform: translateX(-50%);
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-md); box-shadow: var(--sh-xl);
  padding: 8px; min-width: 310px; z-index: 999;
}
.nav-dropdown:hover .dropdown-panel { display: block; }
.dropdown-item { display:flex !important; align-items:center; gap:12px; padding:11px 12px; border-radius:10px; color:var(--text); }
.dropdown-item:hover { background: var(--off-white); }
.di-icon { width:36px; height:36px; background:var(--teal-pale); color:var(--teal); border-radius:8px; display:flex; align-items:center; justify-content:center; font-size:1rem; flex-shrink:0; transition:var(--ease); }
.dropdown-item:hover .di-icon { background:var(--teal); color:var(--white); }
.di-text strong { display:block; font-size:.85rem; font-weight:700; color:var(--navy); margin-bottom:1px; }
.dropdown-item:hover .di-text strong { color:var(--teal); }
.di-text em { display:block; font-style:normal; font-size:.76rem; color:var(--text-muted); }

/* Phone pill */
.nav-phone-pill {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--navy); color: var(--white);
  font-family: var(--f-body); font-size: .875rem; font-weight: 700;
  padding: .55rem 1.25rem; border-radius: var(--r-pill);
  white-space: nowrap; border: 2px solid transparent;
  transition: var(--ease);
}
.nav-phone-pill i { color: var(--teal); font-size: .8rem; transition: var(--ease); }
.nav-phone-pill:hover { background: var(--teal); color: var(--white); }
.nav-phone-pill:hover i { color: var(--white); }

/* Mobile toggle */
.mobile-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  background: none; border: 1.5px solid var(--border); border-radius: var(--r-sm);
  width: 42px; height: 42px; cursor: pointer; padding: 8px;
}
.mobile-toggle span { display:block; width:100%; height:2px; background:var(--navy); border-radius:2px; transition:var(--ease); }

/* ============================================================
   HERO  — LIGHT BACKGROUND, GIANT BRAND NAME
   ============================================================ */
.hero {
  background: linear-gradient(150deg, #dbeafe 0%, #eff6ff 30%, #f0fdf4 65%, #ffffff 100%);
  padding: 72px 0 60px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 55% at 85% 20%, rgba(8,145,178,.10) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 15% 90%, rgba(12,31,69,.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-layout {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  align-items: center;
}

/* ─── GIANT BRAND NAME ─── */
.hero-brand {
  margin-bottom: 1.5rem;
}
.brand-line {
  display: block;
  font-family: var(--f-display);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -.04em;
}
.brand-line-1 {
  font-size: clamp(3.5rem, 7.5vw, 7rem);
  color: var(--navy);
}
.brand-line-2 {
  font-size: clamp(3.5rem, 7.5vw, 7rem);
  /* Teal gradient across the word */
  background: linear-gradient(90deg, #0891b2 0%, #06b6d4 50%, #14b8a6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.brand-line-3 {
  font-size: clamp(3.5rem, 7.5vw, 6.5rem); /* was clamp(2rem, 4vw, 3.8rem) */
  color: var(--navy-mid);
  opacity: .7;
  /*font-weight: 700; */
}

/* Wavy SVG underline */
.brand-wave {
  display: block;
  margin: 14px 0 24px;
  width: min(420px, 100%);
  height: 14px;
  overflow: visible;
}

.hero-tagline {
  font-family: var(--f-display);
  font-size: 1.2rem; font-weight: 600;
  color: var(--text); margin-bottom: .75rem;
}
.hero-desc {
  font-size: 1rem; color: var(--text-light); line-height: 1.78;
  margin-bottom: 2rem; max-width: 500px;
}
.hero-actions { display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.hero-trust {
  display:flex; align-items:center; gap:12px;
  margin-top:2rem; padding-top:1.75rem;
  border-top:1px solid var(--border);
}
.hsp-stars { color: var(--gold); font-size:.9rem; letter-spacing:2px; }
.hsp-text  { font-size:.875rem; color:var(--text-light); }
.hsp-text strong { color:var(--navy); }

/* Right side stat badges */
.hero-stats {
  display: flex; flex-direction: column; gap: 14px;
}
.hero-stat {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px 24px;
  text-align: center;
  box-shadow: var(--sh-sm);
  transition: var(--ease);
}
.hero-stat:hover { transform: translateY(-3px); box-shadow: var(--sh-lg); }
.hs-num {
  display: block;
  font-family: var(--f-display); font-size: 2.4rem; font-weight: 800;
  color: var(--teal); line-height: 1; margin-bottom: 4px;
}
.hs-lbl {
  font-size: .73rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .07em; color: var(--text-muted);
}
.hero-stat.accent {
  background: var(--navy);
  border-color: var(--navy);
}
.hero-stat.accent .hs-num { color: var(--teal); }
.hero-stat.accent .hs-lbl { color: rgba(255,255,255,.55); }

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats-strip { background: var(--navy); padding: 50px 0; }
.stats-row   { display: grid; grid-template-columns: repeat(4,1fr); }
.stat-box    { text-align: center; padding: 20px 16px; position: relative; }
.stat-box + .stat-box::before { content:''; position:absolute; left:0; top:50%; transform:translateY(-50%); height:32px; width:1px; background:rgba(255,255,255,.15); }
.stat-number { display:block; font-family:var(--f-display); font-size:clamp(2rem,3.5vw,2.875rem); font-weight:800; color:var(--teal); line-height:1; margin-bottom:6px; }
.stat-label  { font-size:.8rem; font-weight:600; color:rgba(255,255,255,.6); text-transform:uppercase; letter-spacing:.06em; }

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid { display:grid; grid-template-columns:1fr 1fr; gap:4.5rem; align-items:center; }
.about-img-wrap { position:relative; }
.about-img-wrap img { width:100%; border-radius:var(--r-lg); box-shadow:var(--sh-xl); aspect-ratio:4/3; object-fit:cover; }
.about-badge { position:absolute; bottom:-16px; right:-16px; background:var(--teal); color:var(--white); border-radius:var(--r-md); padding:16px 20px; text-align:center; box-shadow:var(--sh-lg); }
.about-badge .ab-num { font-family:var(--f-display); font-size:1.875rem; font-weight:800; display:block; line-height:1; }
.about-badge .ab-lbl { font-size:.68rem; font-weight:700; opacity:.9; text-transform:uppercase; letter-spacing:.06em; }
.about-text .lead { margin-top:1rem; margin-bottom:1.5rem; max-width:100%; }
.about-checks { display:flex; flex-direction:column; gap:10px; margin:1.75rem 0; }
.about-check { display:flex; align-items:flex-start; gap:10px; font-size:.9375rem; }
.about-check i { color:var(--teal); flex-shrink:0; margin-top:2px; }

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:1.5rem; margin-top:2.5rem; }
.service-card { background:var(--white); border:1.5px solid var(--border); border-radius:var(--r-lg); padding:2.25rem; transition:var(--ease); position:relative; overflow:hidden; }
.service-card::after { content:''; position:absolute; top:0; left:0; right:0; height:3px; background:linear-gradient(90deg,var(--teal),#06b6d4); transform:scaleX(0); transform-origin:left; transition:transform .35s ease; }
.service-card:hover { border-color:transparent; box-shadow:var(--sh-lg); transform:translateY(-4px); }
.service-card:hover::after { transform:scaleX(1); }
.sc-icon { width:52px; height:52px; background:var(--teal-pale); color:var(--teal); border-radius:var(--r-md); display:flex; align-items:center; justify-content:center; font-size:1.3rem; margin-bottom:1.375rem; transition:var(--ease); }
.service-card:hover .sc-icon { background:var(--teal); color:var(--white); }
.service-card h3 { font-family:var(--f-display); font-size:1.3rem; font-weight:700; color:var(--navy); margin-bottom:.75rem; }
.service-card p { font-size:.9375rem; color:var(--text-light); line-height:1.7; margin-bottom:1.375rem; }
.sc-link { display:inline-flex; align-items:center; gap:5px; font-size:.875rem; font-weight:700; color:var(--teal); }
.sc-link:hover { gap:9px; }

/* ============================================================
   WHY US
   ============================================================ */
.why-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1.75rem; margin-top:2.5rem; }
.why-card { background:var(--white); border:1px solid var(--border); border-radius:var(--r-lg); padding:2.25rem 1.875rem; text-align:center; transition:var(--ease); }
.why-card:hover { box-shadow:var(--sh-lg); transform:translateY(-4px); border-color:transparent; }
.why-icon { width:68px; height:68px; background:var(--teal-pale); border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:1.6rem; color:var(--teal); margin:0 auto 1.375rem; transition:var(--ease); }
.why-card:hover .why-icon { background:var(--teal); color:var(--white); }
.why-card h3 { font-family:var(--f-display); font-size:1.15rem; font-weight:700; color:var(--navy); margin-bottom:.75rem; }
.why-card p { font-size:.9rem; color:var(--text-light); line-height:1.7; }

/* ============================================================
   PROCESS
   ============================================================ */
.process-steps { display:grid; grid-template-columns:repeat(4,1fr); gap:1.5rem; margin-top:2.5rem; position:relative; }
.process-steps::before { content:''; position:absolute; top:34px; left:calc(12.5% + 22px); right:calc(12.5% + 22px); height:2px; background:linear-gradient(90deg,var(--teal),#06b6d4); }
.process-step { text-align:center; position:relative; z-index:1; }
.ps-num { width:68px; height:68px; background:var(--white); border:2.5px solid var(--teal); border-radius:50%; display:flex; align-items:center; justify-content:center; font-family:var(--f-display); font-size:1.4rem; font-weight:800; color:var(--teal); margin:0 auto 1.25rem; transition:var(--ease); box-shadow:var(--sh-sm); }
.process-step:hover .ps-num { background:var(--teal); color:var(--white); }
.process-step h4 { font-family:var(--f-display); font-size:1.05rem; font-weight:700; color:var(--navy); margin-bottom:.5rem; }
.process-step p { font-size:.875rem; color:var(--text-light); line-height:1.65; }

/* ============================================================
   TEAM
   ============================================================ */
.team-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:2rem; margin-top:2.5rem; max-width:840px; margin-left:auto; margin-right:auto; }
.team-card { background:var(--white); border-radius:var(--r-lg); overflow:hidden; box-shadow:var(--sh-md); border:1px solid var(--border); transition:var(--ease); }
.team-card:hover { box-shadow:var(--sh-xl); transform:translateY(-5px); border-color:transparent; }
.team-photo-wrap { overflow:hidden; }
.team-photo-wrap img, .team-photo { width:100%; height:380px; object-fit:cover; object-position:top center; transition:transform .5s ease; }
.team-card:hover .team-photo-wrap img, .team-card:hover .team-photo { transform:scale(1.02); }
.team-info { padding:1.625rem 1.875rem 1.875rem; }
.team-name { font-family:var(--f-display); font-size:1.5rem; font-weight:700; color:var(--navy); margin-bottom:2px; }
.team-role { display:inline-block; font-size:.75rem; font-weight:700; color:var(--teal); text-transform:uppercase; letter-spacing:.06em; margin-bottom:1rem; }
.team-bio { font-size:.9rem; color:var(--text-light); line-height:1.7; margin-bottom:1.25rem; }
.team-links { display:flex; gap:8px; flex-wrap:wrap; }
.team-link, .contact-badge { display:inline-flex; align-items:center; gap:5px; background:var(--off-white); color:var(--navy); font-size:.8rem; font-weight:600; padding:.375rem .875rem; border-radius:var(--r-pill); border:1px solid var(--border); }
.team-link:hover, .contact-badge:hover { background:var(--teal); color:var(--white); border-color:var(--teal); }

/* ============================================================
   INDUSTRIES — replaces Testimonials
   ============================================================ */
.industries { background: var(--navy); padding: 88px 0; }

.industries-header { text-align: center; margin-bottom: 3rem; }
.industries-header .h-lg { color: var(--white); margin-top: .75rem; }
.industries-header .lead { color: rgba(255,255,255,.65); margin-top: .75rem; }

.industries-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  max-width: 960px;
  margin: 0 auto;
}

.industry-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.82);
  font-family: var(--f-body);
  font-size: .875rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--r-pill);
  transition: var(--ease);
  cursor: default;
}
.industry-tag:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(8,145,178,.45);
}
.industry-tag i { font-size: .8rem; opacity: .7; }
.industry-tag:hover i { opacity: 1; }

/* Featured / highlighted tags */
.industry-tag.hl {
  background: rgba(8,145,178,.18);
  border-color: rgba(8,145,178,.45);
  color: #67e8f9;
}
.industry-tag.hl:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner { background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%); padding: 72px 0; }
.cta-inner { display:flex; align-items:center; justify-content:space-between; gap:2rem; flex-wrap:wrap; }
.cta-text h2 { font-family:var(--f-display); font-size:clamp(1.6rem,3vw,2.4rem); font-weight:700; color:var(--white); margin-bottom:.375rem; }
.cta-text p { color:rgba(255,255,255,.85); font-size:1rem; }
.cta-btns { display:flex; gap:12px; flex-wrap:wrap; flex-shrink:0; }

/* ============================================================
   BLOG
   ============================================================ */
.blog-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1.75rem; margin-top:2.5rem; }
.blog-card { background:var(--white); border-radius:var(--r-lg); overflow:hidden; border:1px solid var(--border); display:flex; flex-direction:column; transition:var(--ease); }
.blog-card:hover { box-shadow:var(--sh-lg); transform:translateY(-4px); border-color:transparent; }
.blog-img-wrap { overflow:hidden; }
.blog-img-wrap img, .blog-thumbnail { width:100%; height:196px; object-fit:cover; transition:transform .5s ease; }
.blog-card:hover .blog-img-wrap img, .blog-card:hover .blog-thumbnail { transform:scale(1.05); }
.blog-content { padding:1.5rem; display:flex; flex-direction:column; flex:1; }
.blog-badge { display:inline-block; background:var(--teal-pale); color:var(--teal); font-size:.7rem; font-weight:700; text-transform:uppercase; letter-spacing:.08em; padding:3px 10px; border-radius:var(--r-pill); margin-bottom:.75rem; width:fit-content; }
.blog-title { font-family:var(--f-display); font-size:1.1rem; font-weight:700; color:var(--navy); line-height:1.35; margin-bottom:.75rem; }
.blog-card:hover .blog-title { color:var(--teal); }
.blog-excerpt { font-size:.9rem; color:var(--text-light); line-height:1.65; flex:1; margin-bottom:1rem; }
.blog-meta { font-size:.8125rem; color:var(--text-muted); }
.read-more { display:inline-flex; align-items:center; gap:5px; font-size:.875rem; font-weight:700; color:var(--teal); margin-top:1rem; }
.read-more:hover { gap:9px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background:var(--navy); padding:64px 0 0; }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1.4fr; gap:3rem; padding-bottom:48px; border-bottom:1px solid rgba(255,255,255,.1); }
.footer-brand .custom-logo, .footer-brand img { max-height:42px; filter:brightness(0) invert(1); margin-bottom:1.125rem; }
.footer-brand .site-name-text { font-family:var(--f-display); font-size:1.35rem; font-weight:800; color:var(--white); display:block; margin-bottom:1.125rem; }
.footer-tagline { font-size:.9rem; color:rgba(255,255,255,.6); line-height:1.7; margin-bottom:1.5rem; }
.footer-social { display:flex; gap:.625rem; }
.footer-social a { width:36px; height:36px; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.1); border-radius:8px; display:flex; align-items:center; justify-content:center; color:rgba(255,255,255,.7); font-size:.9rem; transition:var(--ease); }
.footer-social a:hover { background:var(--teal); color:var(--white); border-color:var(--teal); }
.footer-col h4, .footer-widget h3, .footer-widget h4 { font-family:var(--f-display); font-size:.75rem; font-weight:800; text-transform:uppercase; letter-spacing:.1em; color:var(--white); margin-bottom:1.125rem; }
.footer-col ul, .footer-widget ul { list-style:none; }
.footer-col li, .footer-widget li { margin-bottom:.5rem; }
.footer-col a, .footer-widget a { color:rgba(255,255,255,.6); font-size:.9rem; }
.footer-col a:hover, .footer-widget a:hover { color:#67e8f9; }
.footer-widget p { font-size:.9rem; color:rgba(255,255,255,.6); line-height:1.7; }
.footer-contact-row { display:flex; align-items:flex-start; gap:8px; margin-bottom:.875rem; font-size:.9rem; color:rgba(255,255,255,.65); }
.footer-contact-row i { color:#67e8f9; flex-shrink:0; margin-top:2px; font-size:.85rem; }
.footer-bottom { display:flex; align-items:center; justify-content:space-between; padding:1.375rem 0; font-size:.8125rem; color:rgba(255,255,255,.4); flex-wrap:wrap; gap:.5rem; }
.footer-bottom a { color:rgba(255,255,255,.4); }
.footer-bottom a:hover { color:#67e8f9; }

/* ============================================================
   INNER PAGES
   ============================================================ */
.content-wrapper { max-width:800px; margin:0 auto; padding:80px 24px; }
.entry-header { margin-bottom:2.25rem; }
.entry-title { font-family:var(--f-display); font-size:clamp(1.875rem,3.5vw,2.75rem); font-weight:700; color:var(--navy); line-height:1.2; margin-bottom:1rem; }
.entry-meta { color:var(--text-muted); font-size:.875rem; display:flex; gap:1.25rem; flex-wrap:wrap; margin-bottom:2rem; }
.entry-content { line-height:1.85; color:var(--text); }
.entry-content h2 { font-family:var(--f-display); font-size:1.875rem; font-weight:700; color:var(--navy); margin:2.5rem 0 1rem; }
.entry-content h3 { font-family:var(--f-display); font-size:1.5rem; font-weight:700; color:var(--navy); margin:2rem 0 1rem; }
.entry-content p { margin-bottom:1.5rem; }
.entry-content ul, .entry-content ol { margin-bottom:1.5rem; padding-left:2rem; }
.entry-content li { margin-bottom:.5rem; }
.entry-content img { margin:2rem 0; border-radius:var(--r-md); }
.entry-content a { color:var(--teal); text-decoration:underline; text-underline-offset:3px; }
.section-label { color:var(--teal); font-weight:700; text-transform:uppercase; letter-spacing:.1em; font-size:.875rem; margin-bottom:.5rem; display:block; }
.section-title { font-family:var(--f-display); font-size:clamp(2rem,3.5vw,2.75rem); font-weight:700; color:var(--navy); margin-bottom:1rem; line-height:1.2; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width:1024px) {
  .hero-layout { grid-template-columns:1fr; }
  .hero-stats { display:grid; grid-template-columns:repeat(2,1fr); max-width:400px; }
  .about-grid { grid-template-columns:1fr; gap:3rem; }
  .about-badge { bottom:16px; right:16px; }
  .services-grid { grid-template-columns:1fr 1fr; }
  .process-steps { grid-template-columns:repeat(2,1fr); }
  .process-steps::before { display:none; }
  .footer-grid { grid-template-columns:1fr 1fr; gap:2rem; }
  .stats-row { grid-template-columns:repeat(2,1fr); }
  .stat-box + .stat-box::before { display:none; }
}

@media (max-width:768px) {
  .mobile-toggle { display:flex; }
  .header-right {
    display: none; position:absolute; top:100%; left:0; right:0;
    background:var(--white); box-shadow:var(--sh-lg);
    padding:16px 24px 20px; flex-direction:column; align-items:stretch; gap:10px;
    border-top:3px solid var(--teal);
  }
  .header-right.open { display:flex; }
  .nav-pill { background:transparent; border-radius:0; padding:0; width:100%; }
  .nav-menu { flex-direction:column; gap:0; width:100%; }
  .nav-menu > li > a { color:var(--navy); padding:.875rem 0; border-bottom:1px solid var(--border); border-radius:0; font-size:1rem; background:none; }
  .nav-menu > li > a:hover { color:var(--teal); background:none; }
  .nav-menu > li:last-child > a { border-bottom:0; }
  .dropdown-panel { position:static; transform:none; box-shadow:none; border:none; background:var(--off-white); border-radius:var(--r-sm); padding:6px; margin:4px 0 8px; display:none; }
  .nav-dropdown.open .dropdown-panel { display:block; }
  .nav-phone-pill { width:100%; justify-content:center; border-radius:var(--r-pill); }

  .brand-line-1, .brand-line-2 { font-size: clamp(2.8rem, 12vw, 5rem); }
  .brand-line-3 { font-size: clamp(1.6rem, 7vw, 2.8rem); }
  .hero-stats { grid-template-columns:1fr 1fr; max-width:100%; }
  .hero-actions { flex-direction:column; align-items:flex-start; }
  .hero-actions .btn { width:100%; justify-content:center; }

  .services-grid { grid-template-columns:1fr; }
  .why-grid { grid-template-columns:1fr; }
  .team-grid { grid-template-columns:1fr; max-width:420px; margin-left:auto; margin-right:auto; }
  .blog-grid { grid-template-columns:1fr; }
  .process-steps { grid-template-columns:1fr 1fr; }
  .cta-inner { flex-direction:column; text-align:center; }
  .cta-btns { justify-content:center; }
  .footer-grid { grid-template-columns:1fr; }
  .footer-bottom { flex-direction:column; text-align:center; }
  .industries-cloud { gap:8px; }
  .industry-tag { font-size:.8rem; padding:9px 16px; }
}

@media (max-width:480px) {
  .section { padding:60px 0; }
  .brand-line-1, .brand-line-2 { font-size:2.6rem; }
  .brand-line-3 { font-size:1.5rem; }
  .process-steps { grid-template-columns:1fr; }
  .hero-stats { grid-template-columns:1fr 1fr; }
}

/* ============================================================
   WORDPRESS
   ============================================================ */
.alignleft { float:left; margin:0 2rem 1rem 0; }
.alignright { float:right; margin:0 0 1rem 2rem; }
.aligncenter { display:block; margin:0 auto; }
.wp-block-quote { border-left:3px solid var(--teal); padding-left:1.5rem; margin:2rem 0; font-style:italic; color:var(--text-light); }
.wp-block-button__link { background:var(--teal); color:var(--white); padding:.75rem 1.5rem; border-radius:var(--r-pill); font-weight:600; }
.page-numbers { display:inline-flex; align-items:center; gap:.5rem; }
.page-numbers a, .page-numbers span { display:inline-flex; align-items:center; justify-content:center; width:40px; height:40px; border:1px solid var(--border); border-radius:var(--r-sm); font-size:.875rem; font-weight:600; color:var(--text); }
.page-numbers a:hover { background:var(--teal-pale); border-color:var(--teal); color:var(--teal); }
.page-numbers .current { background:var(--teal); border-color:var(--teal); color:var(--white); }

/* ============================================================
   HERO — PERSON PHOTO + FLOATING BADGES
   ============================================================ */

/* Override hero grid to give more room to photo side */
.hero-layout {
  grid-template-columns: 1fr 420px !important;
  align-items: flex-end !important;
}

/* Wrapper holds the image + absolutely-positioned badges */
.hero-person-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  /* Extend image to bottom of section */
  align-self: stretch;
  padding-top: 20px;
}

/* The transparent-bg person photo */
.hero-person-img {
  display: block;
  max-width: 100%;
  width: 100%;
  max-height: 560px;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 12px 36px rgba(12,31,69,.18));
  position: relative;
  z-index: 1;
}

/* All floating badges share these base styles */
.hero-float-badge {
  position: absolute;
  z-index: 2;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 14px 20px;
  text-align: center;
  box-shadow: var(--sh-lg);
  min-width: 140px;
  animation: badge-float 4s ease-in-out infinite;
}
.hero-float-badge.accent {
  background: var(--navy);
  border-color: var(--navy);
}

/* Stagger the float animation so each badge bobs at a different phase */
.hfb-top-left  { top: 60px;  left: -20px;  animation-delay: 0s; }
.hfb-mid-right { top: 50%;   right: -80px; bottom: auto; transform: translateY(-50%); animation-delay: 1.3s; }  /*right: -20px; */
.hfb-bot-left  { bottom: 60px; left: -10px; animation-delay: 2.6s; }

/* mid-right needs special transform to combine float + centre */
.hfb-mid-right {
  animation-name: badge-float-centre;
}

@keyframes badge-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}
@keyframes badge-float-centre {
  0%, 100% { transform: translateY(-50%); }
  50%       { transform: translateY(calc(-50% - 8px)); }
}

.hfb-num {
  display: block;
  font-family: var(--f-display);
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 3px;
}
.hero-float-badge.accent .hfb-num { color: var(--teal); }
.hfb-lbl {
  font-family: var(--f-body);
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--text-muted);
}
.hero-float-badge.accent .hfb-lbl { color: rgba(255,255,255,.6); }

/* ── Responsive: hide badges on smaller screens, stack image ── */
@media (max-width: 1024px) {
  .hero-layout { grid-template-columns: 1fr !important; align-items: flex-start !important; }
  .hero-person-wrap {
    max-width: 380px;
    margin: 0 auto;
    align-self: auto;
  }
  .hero-person-img { max-height: 380px; }
  .hfb-top-left  { top: 20px;  left: 0; }
  .hfb-mid-right { top: auto; right: 0; bottom: 80px; transform: none; }
  .hfb-bot-left  { bottom: 20px; left: 0; }
}
@media (max-width: 768px) {
  .hero-float-badge { display: none; } /* clean on mobile */
  .hero-person-wrap { max-width: 280px; }
  .hero-person-img  { max-height: 280px; }
}

/* ============================================================
   BLOG ARCHIVE PAGE
   ============================================================ */

/* Page hero — used by archive, single, 404 etc */
.page-hero {
  background: linear-gradient(150deg, #dbeafe 0%, #eff6ff 40%, #f8fafc 100%);
  padding: 64px 0 56px;
  border-bottom: 1px solid var(--border);
}
.page-hero-inner { max-width: 720px; }
.page-hero-title {
  font-family: var(--f-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -.03em;
  margin: .875rem 0 1rem;
}
.page-hero-desc {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.75;
  max-width: 560px;
}

/* Archive grid — 3-col, same card as homepage but slightly taller */
.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3.5rem;
}

/* Reuse .blog-card styles — just extend what's needed */
.archive-grid .blog-card { height: 100%; }

.blog-placeholder-img {
  width: 100%;
  height: 196px;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--teal);
}

.blog-card-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: .75rem;
}
.blog-date {
  font-size: .78rem;
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
}

.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.blog-author {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-light);
}
.author-avatar {
  width: 28px !important;
  height: 28px !important;
  border-radius: 50%;
  object-fit: cover;
}

/* Pagination */
.archive-pagination {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}
.archive-pagination .page-numbers {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}
.archive-pagination .page-numbers li { list-style: none; }
.archive-pagination .page-numbers li a,
.archive-pagination .page-numbers li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-pill);
  font-size: .875rem;
  font-weight: 600;
  color: var(--text);
  transition: var(--ease);
}
.archive-pagination .page-numbers li a:hover {
  background: var(--teal-pale);
  border-color: var(--teal);
  color: var(--teal);
}
.archive-pagination .page-numbers li .current {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

/* No posts empty state */
.no-posts {
  text-align: center;
  padding: 80px 24px;
  max-width: 480px;
  margin: 0 auto;
}
.no-posts-icon {
  width: 80px; height: 80px;
  background: var(--teal-pale);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: var(--teal);
  margin: 0 auto 1.5rem;
}
.no-posts h2 {
  font-family: var(--f-display);
  font-size: 1.75rem; font-weight: 700; color: var(--navy); margin-bottom: .75rem;
}
.no-posts p {
  color: var(--text-light); line-height: 1.7; margin-bottom: 2rem;
}

/* ── Archive responsive ── */
@media (max-width: 900px) {
  .archive-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .archive-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 48px 0 40px; }
}

/* ============================================================
   SERVICES PAGE (page-services.php)
   ============================================================ */

/* Trust strip */
.svc-trust-strip {
  background: var(--navy);
  padding: 22px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.svc-trust-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 1rem;
}
.svc-trust-item {
  display: flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,.8); font-size: .85rem; font-weight: 600;
}
.svc-trust-item i { color: var(--teal); font-size: 1.1rem; flex-shrink: 0; }

/* Section alternating bg */
.svc-section       { padding: 88px 0; background: var(--white); }
.svc-section-alt   { background: var(--off-white); }

/* Two-col layout: sidebar left + body right */
.svc-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 4rem;
  align-items: start;
}
.svc-layout-flip {
  grid-template-columns: 1fr 280px;
}
.svc-layout-flip .svc-sidebar { order: 2; }
.svc-layout-flip .svc-body    { order: 1; }

/* Sidebar */
.svc-sidebar { position: sticky; top: 100px; }
.svc-big-icon {
  width: 90px; height: 90px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.4rem;
  margin-bottom: 1.75rem;
  box-shadow: var(--sh-md);
}
.svc-big-icon.svc-icon-teal { background: var(--teal); }

.svc-quick-facts {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  box-shadow: var(--sh-xs);
}
.svc-section-alt .svc-quick-facts { background: var(--white); }
.svc-quick-facts h4 {
  font-family: var(--f-display); font-size: .75rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--navy); margin-bottom: 1rem;
  padding-bottom: .75rem; border-bottom: 1px solid var(--border);
}
.svc-quick-facts ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.svc-quick-facts li {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: .875rem; color: var(--text);
}
.svc-quick-facts li i { color: var(--teal); flex-shrink: 0; margin-top: 2px; font-size: .85rem; }

/* Body content */
.svc-title {
  font-family: var(--f-display);
  font-size: clamp(1.875rem, 3vw, 2.625rem);
  font-weight: 800; color: var(--navy);
  line-height: 1.15; letter-spacing: -.03em;
  margin: .875rem 0 1.25rem;
}
.svc-lead {
  font-size: 1.075rem; color: var(--text-light);
  line-height: 1.8; margin-bottom: 2rem;
  padding-bottom: 2rem; border-bottom: 1px solid var(--border);
}
.svc-h3 {
  font-family: var(--f-display);
  font-size: 1.2rem; font-weight: 700; color: var(--navy);
  margin: 1.875rem 0 .75rem;
}
.svc-body p { color: var(--text-light); line-height: 1.8; margin-bottom: 1rem; }
.svc-body em { color: var(--navy); font-style: italic; }

/* 2-col feature cards inside service body */
.svc-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.25rem 0 1.75rem;
}
.svc-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  padding: 1.375rem;
  transition: var(--ease);
}
.svc-section-alt .svc-card { background: var(--white); }
.svc-card:hover { border-color: var(--teal); box-shadow: var(--sh-md); transform: translateY(-2px); }
.svc-card > i {
  font-size: 1.5rem; color: var(--teal);
  display: block; margin-bottom: .75rem;
}
.svc-card h4 {
  font-family: var(--f-display); font-size: 1rem; font-weight: 700;
  color: var(--navy); margin-bottom: .5rem;
}
.svc-card p { font-size: .875rem; color: var(--text-light); line-height: 1.65; margin: 0; }

/* Responsive */
@media (max-width: 1024px) {
  .svc-layout, .svc-layout-flip { grid-template-columns: 1fr; gap: 2.5rem; }
  .svc-layout-flip .svc-sidebar, .svc-layout-flip .svc-body { order: unset; }
  .svc-sidebar { position: static; display: flex; gap: 1.5rem; align-items: flex-start; flex-wrap: wrap; }
  .svc-big-icon { flex-shrink: 0; }
  .svc-quick-facts { flex: 1; min-width: 240px; }
  .svc-trust-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 640px) {
  .svc-cards { grid-template-columns: 1fr; }
  .svc-trust-grid { grid-template-columns: 1fr; }
  .svc-section { padding: 60px 0; }
  .svc-sidebar { flex-direction: column; }
}

/* ============================================================
   BLOG PAGE — FILTER PILLS + FEATURED CARD + SEARCH
   ============================================================ */
.blog-search-form { margin-top:1.75rem; max-width:500px; }
.bsf-inner { display:flex; align-items:center; background:var(--white); border:1.5px solid var(--border); border-radius:var(--r-pill); padding:5px 5px 5px 18px; box-shadow:var(--sh-sm); transition:var(--ease); }
.bsf-inner:focus-within { border-color:var(--teal); box-shadow:0 0 0 3px rgba(8,145,178,.12); }
.bsf-icon { color:var(--text-muted); font-size:1rem; flex-shrink:0; }
.bsf-input { flex:1; border:none; outline:none; background:transparent; font-family:var(--f-body); font-size:.9375rem; color:var(--text); padding:.5rem .75rem; }
.bsf-input::placeholder { color:var(--text-muted); }
.bsf-btn { background:var(--navy); color:var(--white); border:none; border-radius:var(--r-pill); font-family:var(--f-body); font-size:.875rem; font-weight:700; padding:.65rem 1.5rem; cursor:pointer; transition:var(--ease); white-space:nowrap; }
.bsf-btn:hover { background:var(--teal); }

.blog-filter-bar { background:var(--off-white); border-bottom:1px solid var(--border); padding:14px 0; }
.blog-filter-pills { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.filter-pill { display:inline-flex; align-items:center; gap:6px; background:var(--white); border:1.5px solid var(--border); color:var(--text); font-size:.8125rem; font-weight:600; padding:6px 16px; border-radius:var(--r-pill); transition:var(--ease); white-space:nowrap; text-decoration:none; }
.filter-pill:hover { border-color:var(--navy); color:var(--navy); background:var(--white); }
.filter-pill.active { background:var(--navy); border-color:var(--navy); color:var(--white); }
.filter-count { display:inline-flex; align-items:center; justify-content:center; background:rgba(0,0,0,.12); border-radius:var(--r-pill); font-size:.7rem; font-weight:700; min-width:20px; height:20px; padding:0 5px; }
.filter-pill.active .filter-count { background:rgba(255,255,255,.2); }

.blog-featured-card { display:grid; grid-template-columns:1.1fr 1fr; border-radius:var(--r-xl); overflow:hidden; border:1.5px solid var(--border); box-shadow:var(--sh-md); transition:var(--ease); margin-bottom:0; }
.blog-featured-card:hover { box-shadow:var(--sh-xl); transform:translateY(-3px); }
.bfc-img-wrap { display:block; overflow:hidden; background:var(--teal-pale); min-height:340px; }
.bfc-img { width:100%; height:100%; object-fit:cover; transition:transform .6s ease; }
.blog-featured-card:hover .bfc-img { transform:scale(1.03); }
.bfc-img-placeholder { display:flex; align-items:center; justify-content:center; font-size:4rem; color:var(--teal); min-height:340px; background:var(--teal-pale); }
.bfc-content { padding:2.25rem 2rem; display:flex; flex-direction:column; background:var(--white); }
.bfc-meta { display:flex; align-items:center; gap:10px; margin-bottom:1rem; }
.bfc-title { font-family:var(--f-display); font-size:clamp(1.35rem,2vw,1.875rem); font-weight:700; color:var(--navy); line-height:1.25; letter-spacing:-.02em; margin-bottom:1rem; }
.bfc-title a { color:inherit; }
.bfc-title a:hover { color:var(--teal); }
.bfc-excerpt { font-size:.9375rem; color:var(--text-light); line-height:1.75; flex:1; margin-bottom:1.5rem; }
.bfc-footer { display:flex; align-items:center; justify-content:space-between; gap:12px; padding-top:1.25rem; border-top:1px solid var(--border); flex-wrap:wrap; }

.blog-date { font-size:.78rem; color:var(--text-muted); font-weight:500; white-space:nowrap; }
.blog-author { display:flex; align-items:center; gap:7px; font-size:.8rem; font-weight:600; color:var(--text-light); }
.author-avatar { width:28px !important; height:28px !important; border-radius:50%; object-fit:cover; }
.blog-card-meta-row { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-bottom:.75rem; }
.blog-card-footer { display:flex; align-items:center; justify-content:space-between; gap:8px; padding-top:1rem; border-top:1px solid var(--border); margin-top:auto; }
.blog-placeholder-img { width:100%; height:196px; background:var(--teal-pale); display:flex; align-items:center; justify-content:center; font-size:2.5rem; color:var(--teal); }

@media (max-width:860px) { .blog-featured-card { grid-template-columns:1fr; } .bfc-img-wrap, .bfc-img-placeholder { min-height:220px; } .bfc-content { padding:1.5rem; } }
@media (max-width:540px) { .bfc-footer { flex-direction:column; align-items:flex-start; } }

/* ============================================================
   FOOTER — PROPER GRID LAYOUT
   ============================================================ */
.site-footer { background:var(--navy); padding:64px 0 0; }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1.5fr; gap:3rem; padding-bottom:48px; border-bottom:1px solid rgba(255,255,255,.1); }
.footer-brand .custom-logo, .footer-brand img { max-height:44px; filter:brightness(0) invert(1); margin-bottom:1.125rem; width:auto; }
.footer-tagline { font-size:.9rem; color:rgba(255,255,255,.6); line-height:1.7; margin-bottom:1.5rem; }
.footer-social { display:flex; gap:.625rem; }
.footer-social a { width:36px; height:36px; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.12); border-radius:8px; display:flex; align-items:center; justify-content:center; color:rgba(255,255,255,.7); font-size:.9rem; transition:var(--ease); }
.footer-social a:hover { background:var(--teal); color:var(--white); border-color:var(--teal); }
.footer-col h4 { font-family:var(--f-display); font-size:.75rem; font-weight:800; text-transform:uppercase; letter-spacing:.1em; color:var(--white); margin-bottom:1.125rem; }
.footer-col ul { list-style:none; display:flex; flex-direction:column; gap:.5rem; }
.footer-col a { color:rgba(255,255,255,.6); font-size:.9rem; transition:var(--ease); }
.footer-col a:hover { color:#67e8f9; }
.footer-contact-row { display:flex; align-items:flex-start; gap:9px; margin-bottom:.875rem; font-size:.875rem; color:rgba(255,255,255,.65); line-height:1.5; }
.footer-contact-row i { color:#67e8f9; flex-shrink:0; margin-top:2px; font-size:.85rem; }
.footer-contact-row a { color:rgba(255,255,255,.7); transition:var(--ease); }
.footer-contact-row a:hover { color:#67e8f9; }
.footer-bottom { display:flex; align-items:center; justify-content:space-between; padding:1.375rem 0; font-size:.8125rem; color:rgba(255,255,255,.4); flex-wrap:wrap; gap:.5rem; }

/* Override any old footer-widgets styles */
.footer-widgets { display:none !important; }

@media (max-width:1024px) { .footer-grid { grid-template-columns:1fr 1fr; gap:2rem; } }
@media (max-width:640px) { .footer-grid { grid-template-columns:1fr; } .footer-bottom { flex-direction:column; text-align:center; } }

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

/* Two-col layout: form left, info right */
.contact-page-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

/* Form card */
.cpf-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2.5rem;
  box-shadow: var(--sh-md);
}
.cpf-title {
  font-family: var(--f-display);
  font-size: 1.5rem; font-weight: 700; color: var(--navy);
  margin-bottom: 1.75rem; padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

/* Form field styles */
.cf-row { margin-bottom: 1.125rem; }
.cf-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.cf-field { display: flex; flex-direction: column; gap: 5px; }
.cf-field label { font-size: .8125rem; font-weight: 700; color: var(--navy); }
.cf-req { color: var(--teal); }
.cf-field input,
.cf-field select,
.cf-field textarea {
  border: 1.5px solid var(--border); border-radius: var(--r-md);
  padding: .7rem 1rem; font-family: var(--f-body); font-size: .9375rem;
  color: var(--text); background: var(--white); transition: var(--ease); outline: none; width: 100%;
}
.cf-field input:focus, .cf-field select:focus, .cf-field textarea:focus {
  border-color: var(--teal); box-shadow: 0 0 0 3px rgba(8,145,178,.1);
}
.cf-field input.cf-invalid, .cf-field textarea.cf-invalid {
  border-color: #ef4444; box-shadow: 0 0 0 3px rgba(239,68,68,.1);
}
.cf-field input::placeholder, .cf-field textarea::placeholder { color: var(--text-muted); }
.cf-field textarea { resize: vertical; min-height: 130px; }
.cf-field select { cursor: pointer; }
.cf-submit {
  width: 100%; padding: .9rem 2rem;
  background: var(--navy); color: var(--white); border: none;
  border-radius: var(--r-pill); font-family: var(--f-body);
  font-size: 1rem; font-weight: 700; cursor: pointer;
  transition: var(--ease); margin-top: .5rem;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.cf-submit:hover:not(:disabled) { background: var(--teal); transform: translateY(-1px); box-shadow: var(--sh-md); }
.cf-submit:disabled { opacity: .7; cursor: not-allowed; }
.cf-submit-text, .cf-submit-loading { display: inline-flex; align-items: center; gap: 8px; }
@keyframes cf-spin { to { transform: rotate(360deg); } }
.cf-spin { animation: cf-spin .8s linear infinite; display: inline-block; }
.cf-success, .cf-error {
  border-radius: var(--r-md); padding: 1rem 1.125rem;
  margin-bottom: 1.25rem; display: flex; align-items: flex-start; gap: 10px;
  font-size: .9rem; line-height: 1.5;
}
.cf-success { background: #f0fdf4; border: 1.5px solid #86efac; color: #166534; }
.cf-success i { color: #16a34a; flex-shrink: 0; font-size: 1.1rem; margin-top: 2px; }
.cf-success strong { display: block; font-weight: 700; margin-bottom: 2px; }
.cf-error { background: #fef2f2; border: 1.5px solid #fca5a5; color: #991b1b; }
.cf-error i { color: #ef4444; flex-shrink: 0; font-size: 1.1rem; }

/* Right info column */
.contact-page-info { display: flex; flex-direction: column; gap: 1.75rem; }
.cpi-block {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--r-lg); padding: 1.75rem;
}
.cpi-block h3 {
  font-family: var(--f-display); font-size: .75rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .1em; color: var(--navy);
  margin-bottom: 1.25rem; padding-bottom: .875rem; border-bottom: 1px solid var(--border);
}
.cpi-rows { display: flex; flex-direction: column; gap: 1.125rem; }
.cpi-row { display: flex; align-items: flex-start; gap: 12px; }
.cpi-icon {
  width: 38px; height: 38px; flex-shrink: 0;
  background: var(--teal-pale); border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  color: var(--teal); font-size: .95rem;
}
.cpi-label { display: block; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--text-muted); margin-bottom: 2px; }
.cpi-value { display: block; font-size: .9rem; color: var(--text); font-weight: 500; line-height: 1.5; }
.cpi-value a { color: var(--navy); font-weight: 600; transition: var(--ease); }
.cpi-value a:hover { color: var(--teal); }

/* Service pills */
.cpi-service-pills { display: flex; flex-direction: column; gap: 8px; }
.cpi-pill {
  display: flex; align-items: center; gap: 9px;
  background: var(--off-white); border: 1.5px solid var(--border);
  border-radius: var(--r-md); padding: .625rem 1rem;
  font-size: .875rem; font-weight: 600; color: var(--navy);
  transition: var(--ease);
}
.cpi-pill i { color: var(--teal); font-size: .9rem; }
.cpi-pill:hover { border-color: var(--teal); background: var(--teal-pale); color: var(--teal); }

/* Credentials */
.cpi-cred-list { display: flex; flex-direction: column; gap: 10px; }
.cpi-cred { display: flex; align-items: center; gap: 9px; font-size: .875rem; color: var(--text); }
.cpi-cred i { color: var(--teal); flex-shrink: 0; }

/* Responsive */
@media (max-width: 900px) {
  .contact-page-grid { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .cf-row-2 { grid-template-columns: 1fr; }
  .cpf-card { padding: 1.5rem; }
}
