/* =============================================================
   AweeTech Theme — Main Stylesheet
   Design: White bg · Blue (#1D4ED8) accents · Black body text
   Mobile-first, Elementor-compatible
   ============================================================= */

/* ─── RESET + BASE ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-body);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--color-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-primary-dark); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ─── TYPOGRAPHY ──────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-heading);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2rem, 5vw, var(--text-5xl)); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, var(--text-4xl)); }
h3 { font-size: clamp(1.25rem, 2.5vw, var(--text-2xl)); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

p { margin-bottom: 1.2em; max-width: 68ch; }
p:last-child { margin-bottom: 0; }

strong { font-weight: 600; color: var(--color-heading); }
em { font-style: italic; }

ul.styled-list, ol.styled-list {
  margin: 1rem 0;
  padding-left: 0;
}
ul.styled-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.6rem;
  color: var(--color-body);
}
ul.styled-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 6px;
  height: 6px;
  background: var(--color-primary);
  border-radius: 50%;
}

/* ─── LAYOUT CONTAINERS ───────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

.container-sm {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

/* ─── SECTIONS ────────────────────────────────────────────── */
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-light { background: var(--color-bg-light); }
.section-dark {
  background: var(--color-bg-dark);
  color: var(--color-white);
}
.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 { color: var(--color-white); }
.section-dark p { color: rgba(255,255,255,0.82); }
.section-blue {
  background: var(--color-primary);
  color: var(--color-white);
}
.section-blue h1,
.section-blue h2,
.section-blue h3 { color: var(--color-white); }
.section-blue p { color: rgba(255,255,255,0.88); }

.section-eyebrow {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 600;
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}
.section-dark .section-eyebrow,
.section-blue .section-eyebrow { color: var(--color-primary-light); }

.section-title {
  margin-bottom: 1rem;
}
.section-subtitle {
  font-size: var(--text-lg);
  color: var(--color-muted);
  max-width: 60ch;
  line-height: 1.65;
  margin-bottom: 2.5rem;
}
.section-dark .section-subtitle { color: rgba(255,255,255,.72); }
.section-blue .section-subtitle { color: rgba(255,255,255,.82); }

.section-header { margin-bottom: 3rem; }
.section-header.centered { text-align: center; }
.section-header.centered .section-subtitle { margin-left: auto; margin-right: auto; }
.section-header.centered p { margin-left: auto; margin-right: auto; }

/* ─── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.75rem;
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition);
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover {
  background: var(--color-primary-dark);
  color: var(--color-white);
  box-shadow: 0 6px 24px rgba(29,78,216,.35);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-1px);
}

.btn-white {
  background: var(--color-white);
  color: var(--color-primary);
  font-weight: 700;
}
.btn-white:hover {
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
}

.btn-outline-white {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: white;
  color: white;
}

.btn-lg { padding: 1rem 2.25rem; font-size: var(--text-lg); }
.btn-sm { padding: 0.55rem 1.25rem; font-size: var(--text-sm); }

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  align-items: center;
}

/* ─── NAVIGATION ──────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow var(--transition);
}
.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 1.5rem;
  max-width: var(--container-max);
  margin: 0 auto;
  gap: 1.5rem;
}

.nav-logo img { height: 44px; width: auto; }
.nav-logo .logo-text {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--color-heading);
}
.nav-logo .logo-text span { color: var(--color-primary); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-menu li { position: relative; }
.nav-menu a {
  display: block;
  padding: 0.5rem 0.875rem;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-heading);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.nav-menu a:hover { color: var(--color-primary); background: var(--color-primary-xlt); }
.nav-menu .current-menu-item > a { color: var(--color-primary); }

/* Dropdown */
.nav-menu .has-dropdown { position: relative; }
.nav-menu .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem 0;
  z-index: 100;
}
.nav-menu .has-dropdown:hover .dropdown { display: block; }
.nav-menu .dropdown li a {
  padding: 0.6rem 1.25rem;
  font-size: var(--text-sm);
  border-radius: 0;
  display: block;
}
.nav-menu .dropdown li a:hover {
  background: var(--color-primary-xlt);
  color: var(--color-primary);
}

.nav-cta { display: flex; gap: 0.75rem; align-items: center; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-heading);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  padding: 1.5rem;
}
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; }
.mobile-menu ul li a {
  display: block;
  padding: 0.75rem 0;
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-heading);
  border-bottom: 1px solid var(--color-border-light);
}
.mobile-menu ul li a:hover { color: var(--color-primary); }
.mobile-menu .mobile-cta { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.mobile-menu .mobile-cta a { text-align: center; }

/* ─── HERO — HOMEPAGE ──────────────────────────────────────── */
.hero {
  padding: 100px 0 80px;
  background: var(--color-white);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 70% 50%, var(--color-primary-xlt) 0%, transparent 60%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.875rem;
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
  margin-bottom: 1.5rem;
}
.hero-eyebrow .dot {
  width: 6px; height: 6px;
  background: var(--color-primary);
  border-radius: 50%;
  display: inline-block;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero h1 {
  margin-bottom: 1.25rem;
  line-height: 1.1;
}
.hero h1 .blue { color: var(--color-primary); }
.hero-sub {
  font-size: var(--text-lg);
  color: var(--color-muted);
  margin-bottom: 2.5rem;
  max-width: 56ch;
  line-height: 1.7;
}
.hero-trust {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.hero-trust-text {
  font-size: var(--text-sm);
  color: var(--color-muted);
  font-weight: 500;
}
.hero-trust-badges {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--text-xs);
  font-weight: 600;
  font-family: var(--font-display);
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.trust-badge svg { color: var(--color-primary); }

/* Interior page hero */
.page-hero {
  padding: 72px 0 60px;
  background: var(--color-bg-light);
  border-bottom: 1px solid var(--color-border);
}
.page-hero .breadcrumb {
  font-size: var(--text-sm);
  color: var(--color-muted);
  margin-bottom: 1rem;
}
.page-hero .breadcrumb a { color: var(--color-primary); }
.page-hero .breadcrumb span { margin: 0 0.4rem; }
.page-hero h1 { margin-bottom: 1rem; }
.page-hero .lead {
  font-size: var(--text-lg);
  color: var(--color-muted);
  max-width: 58ch;
  margin-bottom: 2rem;
  line-height: 1.7;
}

/* ─── TRUST / STATS BAR ────────────────────────────────────── */
.stats-bar {
  padding: 40px 0;
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.stats-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-number {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--color-primary);
  display: block;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.stat-label {
  font-size: var(--text-sm);
  color: var(--color-muted);
  font-weight: 500;
}
.stats-divider {
  width: 1px;
  height: 40px;
  background: var(--color-border);
}

/* ─── SERVICE CARDS ────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition-slow);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: block;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--color-primary);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--transition-slow);
}
.service-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.service-card:hover::before { transform: scaleY(1); }
.service-card:hover .service-card-title { color: var(--color-primary); }

.service-card-icon {
  width: 48px; height: 48px;
  background: var(--color-primary-xlt);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--color-primary);
}
.service-card-icon svg { width: 24px; height: 24px; }

.service-card-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 0.625rem;
  transition: color var(--transition);
}
.service-card-text {
  font-size: var(--text-sm);
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  font-family: var(--font-display);
  transition: gap var(--transition);
}
.service-card:hover .service-card-link { gap: 0.625rem; }

/* Service Detail Includes */
.includes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.include-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--color-bg-light);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-light);
}
.include-icon {
  flex-shrink: 0;
  width: 20px; height: 20px;
  color: var(--color-primary);
  margin-top: 2px;
}
.include-text {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-heading);
  line-height: 1.45;
}

/* ─── WHY AWEETECH / FEATURES ──────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.feature-item {
  display: flex;
  gap: 1.125rem;
  align-items: flex-start;
}
.feature-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: var(--color-primary-xlt);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  margin-top: 2px;
}
.feature-icon svg { width: 20px; height: 20px; }
.feature-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 0.375rem;
}
.feature-text {
  font-size: var(--text-sm);
  color: var(--color-muted);
  line-height: 1.65;
}

/* ─── PROCESS STEPS ────────────────────────────────────────── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  position: relative;
}
.process-step {
  text-align: center;
  padding: 1.75rem 1.25rem;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.process-step:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}
.process-number {
  width: 52px; height: 52px;
  background: var(--color-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  margin: 0 auto 1.25rem;
}
.process-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 0.5rem;
}
.process-text {
  font-size: var(--text-sm);
  color: var(--color-muted);
  line-height: 1.6;
}

/* ─── INDUSTRY CARDS ────────────────────────────────────────── */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
}
.industry-card {
  display: block;
  text-align: center;
  padding: 1.75rem 1.25rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  transition: all var(--transition);
}
.industry-card:hover {
  border-color: var(--color-primary);
  background: var(--color-primary-xlt);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.industry-card:hover .industry-name { color: var(--color-primary); }
.industry-icon {
  font-size: 2rem;
  margin-bottom: 0.875rem;
  display: block;
}
.industry-name {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-heading);
  transition: color var(--transition);
  margin-bottom: 0.375rem;
}
.industry-desc {
  font-size: var(--text-xs);
  color: var(--color-muted);
  line-height: 1.5;
}

/* ─── FREE AUDIT CTA SECTION ────────────────────────────────── */
.cta-section {
  padding: 80px 0;
  background: var(--color-bg-dark);
  text-align: center;
}
.cta-section h2 { color: var(--color-white); margin-bottom: 1rem; }
.cta-section p { color: rgba(255,255,255,0.75); max-width: 52ch; margin: 0 auto 2.5rem; }
.cta-section .btn-group { justify-content: center; }

/* ─── FAQ ACCORDION ────────────────────────────────────────── */
.faq-list { max-width: 760px; }
.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item.open { border-color: var(--color-primary); }
.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.25rem 1.5rem;
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-heading);
  cursor: pointer;
  transition: color var(--transition);
}
.faq-item.open .faq-question { color: var(--color-primary); }
.faq-icon {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
  color: var(--color-muted);
  transition: all var(--transition);
}
.faq-item.open .faq-icon {
  background: var(--color-primary);
  color: white;
  transform: rotate(45deg);
}
.faq-answer {
  display: none;
  padding: 0 1.5rem 1.25rem;
  font-size: var(--text-sm);
  color: var(--color-muted);
  line-height: 1.7;
}
.faq-item.open .faq-answer { display: block; }

/* Centered FAQ */
.faq-centered { max-width: 760px; margin: 0 auto; }

/* ─── CONTACT FORM ──────────────────────────────────────────── */
.contact-form-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-heading);
  margin-bottom: 0.5rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  color: var(--color-heading);
  background: var(--color-white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(29,78,216,.12);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--color-caption); }
.form-message {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 500;
  margin-top: 1rem;
  display: none;
}
.form-message.success {
  background: #D1FAE5;
  color: #065F46;
  border: 1px solid #6EE7B7;
  display: block;
}
.form-message.error {
  background: #FEE2E2;
  color: #991B1B;
  border: 1px solid #FCA5A5;
  display: block;
}

/* Contact info panel */
.contact-info { }
.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border);
}
.contact-info-item:last-child { border-bottom: none; }
.contact-info-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  background: var(--color-primary-xlt);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}
.contact-info-label {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-muted);
  margin-bottom: 0.25rem;
}
.contact-info-value {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-heading);
}

/* ─── BLOG / POSTS ──────────────────────────────────────────── */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.post-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.post-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.post-card-img {
  aspect-ratio: 16/9;
  background: var(--color-bg-light);
  overflow: hidden;
}
.post-card-img img { width: 100%; height: 100%; object-fit: cover; }
.post-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.post-card-meta {
  font-size: var(--text-xs);
  color: var(--color-muted);
  font-weight: 500;
  margin-bottom: 0.625rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.post-card-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 0.75rem;
  line-height: 1.3;
  flex: 1;
}
.post-card:hover .post-card-title { color: var(--color-primary); }
.post-card-excerpt { font-size: var(--text-sm); color: var(--color-muted); line-height: 1.65; }

/* ─── TWO-COL CONTENT LAYOUT ────────────────────────────────── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }
.content-col { }
.content-col p { color: var(--color-muted); }
.image-col { }
.image-placeholder {
  aspect-ratio: 4/3;
  background: var(--color-bg-light);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-caption);
  font-size: var(--text-sm);
}

/* ─── FOOTER ──────────────────────────────────────────────── */
.site-footer {
  background: var(--color-bg-dark);
  color: rgba(255,255,255,0.75);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .logo-text {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--color-white);
  display: block;
  margin-bottom: 0.75rem;
}
.footer-brand .logo-text span { color: var(--color-primary); }
.footer-brand p {
  font-size: var(--text-sm);
  line-height: 1.7;
  color: rgba(255,255,255,.6);
  margin-bottom: 1.5rem;
  max-width: 32ch;
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}
.footer-col ul li { margin-bottom: 0.625rem; }
.footer-col ul li a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,.6);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--color-white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: var(--text-xs);
  color: rgba(255,255,255,.4);
}
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { color: rgba(255,255,255,.4); font-size: var(--text-xs); }
.footer-bottom-links a:hover { color: rgba(255,255,255,.7); }

/* Social links */
.social-links { display: flex; gap: 0.75rem; }
.social-link {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
  transition: all var(--transition);
  font-size: var(--text-sm);
  text-decoration: none;
}
.social-link:hover {
  background: var(--color-primary);
  color: white;
}

/* ─── BACK TO TOP ───────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 1.5rem;
  width: 44px; height: 44px;
  background: var(--color-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  box-shadow: var(--shadow-blue);
  z-index: 500;
  border: none;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--color-primary-dark); transform: translateY(-2px); }

/* ─── BREADCRUMB ────────────────────────────────────────────── */
.breadcrumb {
  font-size: var(--text-sm);
  color: var(--color-muted);
  margin-bottom: 1rem;
}
.breadcrumb a { color: var(--color-primary); font-weight: 500; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 0.5rem; color: var(--color-caption); }

/* ─── NOTICE / BANNER ───────────────────────────────────────── */
.notice-bar {
  background: var(--color-primary);
  color: white;
  text-align: center;
  padding: 0.625rem 1rem;
  font-size: var(--text-sm);
  font-weight: 500;
}
.notice-bar a { color: white; text-decoration: underline; }

/* ─── SECTION DIVIDER ───────────────────────────────────────── */
.divider {
  height: 1px;
  background: var(--color-border);
  margin: 0;
}

/* ─── CHECKLIST SECTION ─────────────────────────────────────── */
.checklist {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.75rem;
}
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: var(--text-sm);
  color: var(--color-body);
  font-weight: 500;
}
.checklist li::before {
  content: '✓';
  flex-shrink: 0;
  width: 20px; height: 20px;
  background: var(--color-primary);
  color: white;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.section-dark .checklist li { color: rgba(255,255,255,.85); }
.section-dark .checklist li::before { background: rgba(255,255,255,.2); }

/* ─── HIGHLIGHT BAND ────────────────────────────────────────── */
.highlight-band {
  background: var(--color-primary-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  border-left: 4px solid var(--color-primary);
}
.highlight-band p { color: var(--color-heading); font-weight: 500; max-width: none; margin: 0; }

/* ─── PAGE WRAPPER ──────────────────────────────────────────── */
#page { display: flex; flex-direction: column; min-height: 100vh; }
#content { flex: 1; }

/* ─── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .contact-form-wrap { grid-template-columns: 1fr; }
  .two-col { gap: 2.5rem; }
}

@media (max-width: 768px) {
  :root { --section-pad: 3rem 1.25rem; }
  .section { padding: 56px 0; }

  .nav-menu { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  h1 { font-size: clamp(1.75rem, 6vw, 2.5rem); }

  .hero { padding: 64px 0 52px; }
  .hero::before { background: none; }

  .two-col { grid-template-columns: 1fr; gap: 2rem; }
  .two-col.reverse { direction: ltr; }

  .stats-bar-inner { gap: 1.5rem; }
  .stats-divider { display: none; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-bottom-links { flex-wrap: wrap; justify-content: center; }

  .process-grid { grid-template-columns: 1fr 1fr; }
  .industries-grid { grid-template-columns: 1fr 1fr; }

  .cta-section { padding: 56px 0; }
}

@media (max-width: 520px) {
  .btn-group { flex-direction: column; align-items: stretch; }
  .btn-group .btn { text-align: center; justify-content: center; }
  .process-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .includes-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .checklist { grid-template-columns: 1fr; }
}

/* ─── ELEMENTOR COMPAT ──────────────────────────────────────── */
.elementor-page .site-main { padding: 0; }
.elementor-page h1,
.elementor-page h2,
.elementor-page h3 { color: inherit; }

/* ─── WOOCOMMERCE BASICS ────────────────────────────────────── */
.woocommerce-page .site-main { padding: 2rem 0; }
.wc-breadcrumb { font-size: var(--text-sm); color: var(--color-muted); margin-bottom: 1.5rem; }

/* ─── SKIP LINK / ACCESSIBILITY ─────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--color-primary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-size: var(--text-sm);
  font-weight: 600;
  z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ─── PRINT ─────────────────────────────────────────────────── */
@media print {
  .site-header, .site-footer, .back-to-top, .cta-section { display: none; }
  body { color: #000; }
  a { color: #000; }
}

/* =============================================================
   BLOG / SINGLE POST STYLES
   ============================================================= */

/* Reading progress bar */
.reading-progress {
  position: fixed;
  top: 0; left: 0;
  width: 0%; height: 3px;
  background: var(--color-primary);
  z-index: 1001;
  transition: width 0.1s linear;
}

/* Blog archive hero */
.blog-hero {
  background: var(--color-bg-light);
  border-bottom: 1px solid var(--color-border);
  padding: 56px 0 48px;
}
.blog-hero h1 { margin-bottom: 0.75rem; }
.blog-hero p  { color: var(--color-muted); max-width: 52ch; }

/* Category filter pills */
.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 2rem 0;
}
.cat-pill {
  display: inline-block;
  padding: 0.375rem 1rem;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  font-family: var(--font-display);
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  color: var(--color-muted);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.cat-pill:hover,
.cat-pill.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
}

/* Blog layout with sidebar */
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  align-items: start;
}
.blog-sidebar { position: sticky; top: 90px; }
.sidebar-widget {
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.sidebar-widget h3 {
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: 0.625rem;
  border-bottom: 2px solid var(--color-primary-light);
  color: var(--color-heading);
}
.sidebar-cta-widget {
  background: var(--color-primary);
  border-color: var(--color-primary);
  text-align: center;
}
.sidebar-cta-widget h3 { color: white; border-color: rgba(255,255,255,.25); }
.sidebar-cta-widget p  { color: rgba(255,255,255,.85); font-size: var(--text-sm); margin-bottom: 1.25rem; }

/* Recent posts in sidebar */
.sidebar-posts { list-style: none; }
.sidebar-posts li {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-border);
}
.sidebar-posts li:last-child { border-bottom: none; padding-bottom: 0; }
.sidebar-post-thumb {
  flex-shrink: 0;
  width: 60px; height: 60px;
  border-radius: var(--radius-sm);
  background: var(--color-border);
  object-fit: cover;
}
.sidebar-post-title {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-heading);
  line-height: 1.35;
  display: block;
  margin-bottom: 0.25rem;
}
.sidebar-post-title:hover { color: var(--color-primary); }
.sidebar-post-date { font-size: var(--text-xs); color: var(--color-muted); }

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
}
.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 600;
  font-family: var(--font-display);
  border: 1px solid var(--color-border);
  color: var(--color-heading);
  transition: all var(--transition);
}
.pagination a:hover { background: var(--color-primary); border-color: var(--color-primary); color: white; }
.pagination .current { background: var(--color-primary); border-color: var(--color-primary); color: white; }
.pagination .dots { border-color: transparent; background: none; }

/* ── SINGLE POST ─────────────────────────────────────────────── */
.post-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 3.5rem;
  align-items: start;
}
.post-header { margin-bottom: 2.5rem; }
.post-category-link {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  margin-bottom: 1rem;
}
.post-header h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: 1.25rem;
  line-height: 1.15;
}
.post-meta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  font-size: var(--text-sm);
  color: var(--color-muted);
  padding: 1rem 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 2rem;
}
.post-meta strong { color: var(--color-heading); }
.post-meta .separator { color: var(--color-border); }
.post-featured-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 2.5rem;
  aspect-ratio: 16/9;
  background: var(--color-bg-light);
}
.post-featured-img img { width: 100%; height: 100%; object-fit: cover; }

/* Table of Contents */
.toc-box {
  background: var(--color-primary-xlt);
  border: 1px solid var(--color-primary-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  margin-bottom: 2.5rem;
}
.toc-box h3 {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1rem;
}
.toc-list { list-style: none; counter-reset: toc; }
.toc-list li {
  counter-increment: toc;
  padding: 0.3rem 0;
  font-size: var(--text-sm);
}
.toc-list li::before {
  content: counter(toc) ".";
  color: var(--color-primary);
  font-weight: 700;
  margin-right: 0.5rem;
  font-family: var(--font-display);
}
.toc-list a {
  color: var(--color-body);
  font-weight: 500;
}
.toc-list a:hover { color: var(--color-primary); }

/* Post body typography — optimised for long-form reading */
.post-body {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--color-body);
}
.post-body h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  margin: 2.5rem 0 1rem;
  color: var(--color-heading);
  scroll-margin-top: 90px;
}
.post-body h3 {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  margin: 2rem 0 0.75rem;
  color: var(--color-heading);
  scroll-margin-top: 90px;
}
.post-body p { margin-bottom: 1.5rem; max-width: none; }
.post-body ul, .post-body ol {
  margin: 0 0 1.5rem 1.25rem;
}
.post-body ul { list-style: disc; }
.post-body ol { list-style: decimal; }
.post-body li { margin-bottom: 0.5rem; line-height: 1.7; }
.post-body blockquote {
  border-left: 4px solid var(--color-primary);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: var(--color-primary-xlt);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--color-heading);
}
.post-body pre {
  background: var(--color-bg-dark);
  color: #e2e8f0;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  overflow-x: auto;
  font-size: 0.9rem;
  margin: 1.5rem 0;
}
.post-body code {
  background: var(--color-primary-xlt);
  color: var(--color-primary-dark);
  padding: 0.15em 0.4em;
  border-radius: 4px;
  font-size: 0.9em;
  font-family: 'Courier New', monospace;
}
.post-body pre code { background: none; color: inherit; padding: 0; }
.post-body img {
  border-radius: var(--radius-md);
  margin: 1.5rem 0;
  max-width: 100%;
}
.post-body a { font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }
.post-body table {
  width: 100%; border-collapse: collapse; margin: 1.5rem 0;
  font-size: var(--text-sm);
}
.post-body th {
  background: var(--color-primary);
  color: white;
  padding: 0.75rem 1rem;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
}
.post-body td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-body);
}
.post-body tr:nth-child(even) td { background: var(--color-bg-light); }

/* In-content CTA box */
.post-cta-box {
  background: var(--color-primary);
  color: white;
  border-radius: var(--radius-lg);
  padding: 2rem 2.25rem;
  margin: 2.5rem 0;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.post-cta-box h3 { color: white; font-size: var(--text-xl); margin-bottom: 0.375rem; }
.post-cta-box p  { color: rgba(255,255,255,.85); margin: 0; font-size: var(--text-sm); max-width: none; }

/* Tags */
.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 2.5rem 0;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}
.post-tag {
  display: inline-block;
  padding: 0.3rem 0.875rem;
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-muted);
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all var(--transition);
}
.post-tag:hover { background: var(--color-primary-light); color: var(--color-primary); border-color: var(--color-primary-light); }

/* Social share */
.social-share {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.social-share-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-muted);
  font-family: var(--font-display);
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.45rem 0.875rem;
  border-radius: var(--radius-md);
  font-size: var(--text-xs);
  font-weight: 700;
  font-family: var(--font-display);
  color: white;
  text-decoration: none;
  transition: opacity var(--transition);
}
.share-btn:hover { opacity: 0.85; color: white; }
.share-linkedin  { background: #0A66C2; }
.share-twitter   { background: #1DA1F2; }
.share-facebook  { background: #1877F2; }

/* Author Box */
.author-box {
  display: flex;
  gap: 1.5rem;
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin: 2.5rem 0;
  align-items: flex-start;
}
.author-avatar {
  flex-shrink: 0;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-xl);
  color: var(--color-primary);
}
.author-info-name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 0.25rem;
}
.author-info-role {
  font-size: var(--text-sm);
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 0.625rem;
}
.author-info-bio {
  font-size: var(--text-sm);
  color: var(--color-muted);
  line-height: 1.65;
  margin: 0;
}

/* Related Posts */
.related-posts { margin-top: 3rem; }
.related-posts h2 {
  font-size: var(--text-2xl);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--color-primary-light);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

/* ── FREE AUDIT PAGE ─────────────────────────────────────────── */
.audit-hero {
  background: var(--color-bg-dark);
  padding: 80px 0 72px;
  position: relative;
  overflow: hidden;
}
.audit-hero::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: rgba(29,78,216,.15);
  pointer-events: none;
}
.audit-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.audit-form-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  position: relative;
  z-index: 1;
}
.audit-form-card h2 {
  font-size: var(--text-2xl);
  margin-bottom: 0.5rem;
}
.audit-form-card .subtitle {
  font-size: var(--text-sm);
  color: var(--color-muted);
  margin-bottom: 1.75rem;
}
.audit-includes { list-style: none; margin-bottom: 2.5rem; }
.audit-includes li {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.88);
  font-size: var(--text-sm);
  line-height: 1.55;
}
.audit-includes li:last-child { border-bottom: none; }
.audit-check {
  flex-shrink: 0;
  width: 22px; height: 22px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  color: white;
  font-size: 11px;
  font-weight: 800;
}
.audit-what-next {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.audit-step {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--color-bg-light);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}
.audit-step-num {
  width: 40px; height: 40px;
  background: var(--color-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-lg);
  margin: 0 auto 0.875rem;
}
.audit-step-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-base);
  color: var(--color-heading);
  margin-bottom: 0.375rem;
}
.audit-step-text { font-size: var(--text-xs); color: var(--color-muted); line-height: 1.5; }

/* ── MOBILE STICKY CTA BAR ───────────────────────────────────── */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: white;
  border-top: 1px solid var(--color-border);
  padding: 0.75rem 1.25rem;
  z-index: 900;
  box-shadow: 0 -4px 20px rgba(0,0,0,.1);
}
.mobile-sticky-cta .btn { width: 100%; justify-content: center; }

/* ── 404 PAGE ────────────────────────────────────────────────── */
.page-404 {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 1.5rem;
}
.page-404-number {
  font-family: var(--font-display);
  font-size: clamp(6rem, 20vw, 10rem);
  font-weight: 900;
  line-height: 1;
  color: var(--color-primary-light);
  display: block;
  margin-bottom: 0;
}
.page-404 h1 { font-size: var(--text-3xl); margin-bottom: 1rem; }
.page-404 p  { color: var(--color-muted); margin-bottom: 2rem; }
.page-404-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  justify-content: center;
  margin-top: 2rem;
}
.page-404-links a {
  padding: 0.45rem 1rem;
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-heading);
  transition: all var(--transition);
}
.page-404-links a:hover { border-color: var(--color-primary); color: var(--color-primary); background: var(--color-primary-xlt); }

/* ── GUIDES PAGE ─────────────────────────────────────────────── */
.guide-card {
  display: flex;
  gap: 1.25rem;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all var(--transition);
  text-decoration: none;
  color: inherit;
  align-items: flex-start;
}
.guide-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.guide-card:hover .guide-title { color: var(--color-primary); }
.guide-icon {
  flex-shrink: 0;
  width: 52px; height: 52px;
  background: var(--color-primary-xlt);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 1.5rem;
}
.guide-meta { font-size: var(--text-xs); color: var(--color-muted); font-weight: 500; margin-bottom: 0.375rem; }
.guide-title { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 700; color: var(--color-heading); margin-bottom: 0.5rem; transition: color var(--transition); }
.guide-desc { font-size: var(--text-sm); color: var(--color-muted); line-height: 1.6; }

/* ── ADDITIONAL MOBILE ENHANCEMENTS ─────────────────────────── */
@media (max-width: 768px) {
  /* Mobile sticky CTA visible on service/industry pages */
  .show-mobile-cta .mobile-sticky-cta { display: block; }

  /* Give body bottom padding so fixed CTA doesn't overlap content */
  .show-mobile-cta { padding-bottom: 72px; }

  /* Blog layout: single column */
  .blog-layout, .post-layout { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; }

  /* Related posts: 1 col on mobile */
  .related-grid { grid-template-columns: 1fr; }

  /* Audit hero: stack */
  .audit-hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .audit-hero { padding: 52px 0; }
  .audit-what-next { grid-template-columns: 1fr; gap: 1rem; }

  /* Post CTA box: stack */
  .post-cta-box { flex-direction: column; text-align: center; }

  /* Author box: stack on tiny screens */
  .author-box { flex-direction: column; }

  /* Make hero buttons full-width on mobile */
  .hero .btn-group .btn { width: 100%; justify-content: center; }

  /* Stat grid: 2 cols on mobile */
  .stats-bar-inner { gap: 1rem; }
}

@media (max-width: 520px) {
  /* Audit form card: reduce padding */
  .audit-form-card { padding: 1.5rem; }

  /* Related posts: 1 col */
  .related-grid { grid-template-columns: 1fr; }

  /* Page hero: reduce padding */
  .page-hero { padding: 52px 0 44px; }
  .audit-hero { padding: 48px 0; }
}

/* ── PRIVACY / TERMS PAGE ────────────────────────────────────── */
.legal-page { max-width: 800px; margin: 0 auto; }
.legal-page h2 {
  font-size: var(--text-xl);
  margin: 2.5rem 0 0.875rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--color-border);
  color: var(--color-heading);
}
.legal-page h2:first-of-type { margin-top: 0; padding-top: 0; border-top: none; }
.legal-page p  { color: var(--color-muted); line-height: 1.8; margin-bottom: 1.25rem; }
.legal-page ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1.25rem; }
.legal-page ul li { color: var(--color-muted); margin-bottom: 0.5rem; line-height: 1.7; }
.legal-meta {
  font-size: var(--text-sm);
  color: var(--color-muted);
  background: var(--color-bg-light);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: 2.5rem;
  border-left: 3px solid var(--color-primary);
}

/* ── SEARCH RESULTS ──────────────────────────────────────────── */
.search-results-meta {
  font-size: var(--text-sm);
  color: var(--color-muted);
  margin-bottom: 2rem;
}
.search-results-meta strong { color: var(--color-heading); }

/* ── SMOOTH NAV LINK UNDERLINE ───────────────────────────────── */
.nav-menu a {
  position: relative;
}
.nav-menu > li > a::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 0.875rem; right: 0.875rem;
  height: 2px;
  background: var(--color-primary);
  border-radius: 1px;
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}
.nav-menu > li > a:hover::after,
.nav-menu > li.current-menu-item > a::after { transform: scaleX(1); }
