/*
Theme Name:  faazizpro
Theme URI:   https://faazizpro.com
Author:      Fahad Aziz
Author URI:  https://faazizpro.com
Description: Custom WordPress theme for faazizpro — Google Ads & Conversion Tracking Specialist. Built for Elementor.
Version:     1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License:     GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: faazizpro
Tags:        one-page, elementor, portfolio, dark, custom-menu
*/

/* ============================================================
   TABLE OF CONTENTS
   1. Google Fonts
   2. CSS Variables (Design Tokens)
   3. Reset & Base
   4. Typography
   5. Navigation
   6. Container
   7. Buttons
   8. Section Labels
   9. Metrics Strip
   10. Cards
   11. Process Steps
   12. Forms
   13. Footer
   14. Page Hero
   15. Urgency Badge
   16. Checklist
   17. Section Spacing
   18. Final CTA
   19. Portfolio
   20. Elementor Overrides
   21. WordPress Core Fixes
   22. Responsive
============================================================ */

/* ============================================================
   1. GOOGLE FONTS
============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600&display=swap');

/* ============================================================
   2. CSS VARIABLES (Design Tokens)
============================================================ */
:root {
  --blue:         #2563EB;
  --blue-dark:    #1D4ED8;
  --blue-light:   #EFF6FF;
  --blue-glow:    rgba(37, 99, 235, 0.18);
  --orange:       #F97316;
  --dark:         #080C14;
  --dark2:        #0F1520;
  --dark3:        #161D2E;
  --mid:          #1E2740;
  --mid2:         #252E45;
  --white:        #FFFFFF;
  --text-light:   #F0F4FF;
  --text-muted:   #7A87A8;
  --text-body:    #3B4460;
  --border-dark:  rgba(255, 255, 255, 0.07);
  --border-light: #E2E8F4;
  --radius:       14px;
  --radius-lg:    22px;
  --radius-xl:    32px;
  --font-display: 'Outfit', sans-serif;
  --font-body:    'Plus Jakarta Sans', sans-serif;
}

/* ============================================================
   3. RESET & BASE
============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: #fff;
  color: var(--text-body);
  overflow-x: hidden;
}

/* ============================================================
   4. TYPOGRAPHY
============================================================ */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

/* ============================================================
   5. NAVIGATION
============================================================ */
nav,
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(8, 12, 20, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6%;
  height: 70px;
  transition: background 0.3s;
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.03em;
}

.nav-logo span {
  color: var(--blue);
}

/* WordPress nav menu */
.nav-links,
.site-nav ul {
  display: flex;
  gap: 2.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a,
.site-nav ul a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
  font-family: var(--font-body);
}

.nav-links a:hover,
.nav-links a.active,
.nav-links .current-menu-item > a,
.site-nav ul .current-menu-item > a {
  color: #fff;
}

.nav-cta {
  background: var(--blue);
  color: #fff !important;
  text-decoration: none;
  padding: 10px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.88rem;
  font-family: var(--font-body);
  transition: all 0.2s;
}

.nav-cta:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
}

/* Hamburger — mobile */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  display: block;
}

/* Mobile menu open state */
.mobile-menu-open .nav-links {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: var(--dark);
  padding: 24px 6%;
  gap: 1.25rem;
  border-top: 1px solid var(--border-dark);
  z-index: 199;
}

/* ============================================================
   6. CONTAINER
============================================================ */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 5%;
}

/* ============================================================
   7. BUTTONS
============================================================ */
.btn-primary {
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  padding: 14px 30px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.92rem;
  font-family: var(--font-body);
  display: inline-block;
  transition: all 0.22s;
  border: none;
  cursor: pointer;
  margin-bottom: 10px;
}

.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.35);
  color: #fff;
}

.btn-outline {
  background: #2563EB;
  color: #fff;
  text-decoration: none;
  padding: 14px 30px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.92rem;
  font-family: var(--font-body);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  display: inline-block;
  transition: all 0.22s;
}

.btn-outline:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.35);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--blue);
  text-decoration: none;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  font-family: var(--font-body);
  border: 1.5px solid var(--blue);
  display: inline-block;
  transition: all 0.2s;
  cursor: pointer;
}

.btn-ghost:hover {
  background: var(--blue);
  color: #fff;
}

.btn-white {
  background: #fff;
  color: var(--blue);
  text-decoration: none;
  padding: 15px 34px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  font-family: var(--font-body);
  display: inline-block;
  transition: all 0.22s;
  position: relative;
  z-index: 2;
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
  color: var(--blue);
}

/* Hero grid two-column layout */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* CTA row — buttons side by side */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37,99,235,0.1);
  border: 1px solid rgba(37,99,235,0.25);
  color: #6EA8FE;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 1.25rem;
  font-family: var(--font-body);
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34D399;
  display: inline-block;
  animation: blink 1.4s infinite;
}

.hero-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-top: 1.25rem;
  font-family: var(--font-body);
  max-width: 520px;
}

.micro {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-family: var(--font-body);
  margin-top: 0.5rem;
}

/* Trust row stats under hero buttons */
.trust-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.trust-stat { text-align: center; }

.t-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.t-num em {
  color: var(--blue);
  font-style: normal;
}

.t-label {
  color: var(--text-muted);
  font-size: 0.75rem;
  font-family: var(--font-body);
  margin-top: 2px;
}

.trust-divider {
  width: 1px;
  height: 40px;
  background: var(--border-dark);
}

/* Dashboard visual */
.dash-wrap {
  position: relative;
}

.dashboard {
  background: var(--dark3);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.dash-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.dash-tl {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.dash-period {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: var(--text-muted);
}

.dash-metrics {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.dm { flex: 1; min-width: 70px; }

.dm-l {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.dm-v {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.dm-c {
  font-size: 0.72rem;
  font-family: var(--font-body);
  font-weight: 600;
  margin-top: 2px;
}

.dm-up { color: #34D399; }
.dm-dn { color: #34D399; }

.dash-chart { margin-top: 1rem; }

.bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 80px;
}

.bar {
  flex: 1;
  border-radius: 4px 4px 0 0;
  min-width: 0;
}

.bar-lbl {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
}

.bar-lbl span {
  font-size: 0.6rem;
  color: var(--text-muted);
  font-family: var(--font-body);
}

.floating-card {
  position: absolute;
  bottom: -18px;
  right: -18px;
  background: var(--blue);
  border-radius: var(--radius);
  padding: 14px 20px;
  box-shadow: 0 12px 30px rgba(37,99,235,0.4);
}

.fc-label {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.75);
  font-family: var(--font-body);
}

.fc-val {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

/* Hero section wrapper */
.hero {
  background: var(--dark);
  padding: 130px 0 90px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -100px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(37,99,235,0.12) 0%, transparent 65%);
  pointer-events: none;
}

/* ============================================================
   8. SECTION LABELS
============================================================ */
.label-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.25);
  color: #6EA8FE;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 1.25rem;
  font-family: var(--font-body);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.label-tag-dark {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.2);
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 1.25rem;
  font-family: var(--font-body);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(1.9rem, 3.2vw, 2.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.section-title.light { color: #fff; }
.section-title.dark  { color: #0B1120; }

.section-sub {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 520px;
  margin-top: 0.85rem;
}

.results-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
    margin-top: 3rem;
}

.result-block:first-child {
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

.result-block:last-child {
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

.result-block {
    background: var(--dark3);
    padding: 44px 32px;
    text-align: center;
}


.rn {
    font-family: var(--font-display);
    font-size: clamp(2.5rem,4.5vw,3.5rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.03em;
}


.rd {
    color: var(--text-muted);
    font-size: 0.87rem;
    line-height: 22px;
    margin-top: 6px;
    font-family: var(--font-body);
}


/* ============================================================
   9. METRICS STRIP
============================================================ */
.metrics-strip {
  background: var(--blue);
  padding: 32px 0;
}

.metrics-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.metric-item { text-align: center; }

.metric-num {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 800;
  color: #fff;
}

.metric-label {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-family: var(--font-body);
}

.metric-divider {
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.18);
}

/* ============================================================
   10. CARDS
============================================================ */
.card-dark {
  background: var(--dark3);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s, transform 0.2s;
}

.svc-card {
    padding: 36px 32px;
}

.svc-card p {
color: #7A87A8;
font-size: 0.88rem;
margin-bottom: 1.5rem;
font-family: var(--font-body);
line-height: 24px;
}

.svc-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}

.card-dark:hover {
  border-color: rgba(37, 99, 235, 0.35);
  transform: translateY(-4px);
}

.card-light {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  transition: box-shadow 0.2s, transform 0.2s;
}

.card-light:hover {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.09);
  transform: translateY(-3px);
}

/* ============================================================
   11. PROCESS STEPS
============================================================ */
.step-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

/* Process track — vertical timeline used on homepage + inner pages */
.process-track {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.process-track::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 20px;
  bottom: 20px;
  width: 2px;
  background: var(--border-light);
  z-index: 0;
}

.process-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 0 0 32px 0;
  position: relative;
}

.process-step:last-child {
  padding-bottom: 0;
}

.ps-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 4px #F5F7FF;
}

.ps-body {
  padding-top: 8px;
}

.ps-body h3,
.ps-body h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #0B1120;
  margin-bottom: 6px;
}

.ps-body p {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-family: var(--font-body);
}

/* Dark background variant — homepage uses section-dark */
.section-dark .process-track::before,
.section-dark2 .process-track::before {
  background: var(--border-dark);
}

.section-dark .ps-num,
.section-dark2 .ps-num {
  box-shadow: 0 0 0 4px var(--dark);
}

.section-dark .ps-body h3,
.section-dark2 .ps-body h3 {
  color: #fff;
}

/* Gray section variant */
.section-gray .ps-num {
  box-shadow: 0 0 0 4px #F5F7FF;
}

/* ============================================================
   12. FORMS
============================================================ */
.form-group { margin-bottom: 18px; }

.form-label {
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 7px;
  display: block;
  font-family: var(--font-body);
}

.form-input {
  width: 100%;
  background: var(--mid);
  border: 1px solid var(--border-dark);
  border-radius: 10px;
  padding: 13px 16px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}

.form-input:focus       { border-color: var(--blue); }
.form-input::placeholder { color: #4A5572; }

textarea.form-input { min-height: 130px; resize: vertical; }
select.form-input   { cursor: pointer; }

.form-input-light {
  width: 100%;
  background: #F8FAFF;
  border: 1.5px solid var(--border-light);
  border-radius: 10px;
  padding: 13px 16px;
  color: #0B1120;
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}

.form-input-light:focus       { border-color: var(--blue); }
.form-input-light::placeholder { color: #9BA8C0; }

/* Contact Form 7 overrides */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form textarea,
.wpcf7-form select {
  width: 100%;
  background: #F8FAFF;
  border: 1.5px solid var(--border-light);
  border-radius: 10px;
  padding: 13px 16px;
  color: #0B1120;
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
  margin-bottom: 14px;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
  border-color: var(--blue);
}

.wpcf7-form input[type="submit"] {
  background: var(--blue);
  color: #fff;
  border: none;
  padding: 14px 30px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.92rem;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 0.22s;
  width: 100%;
}

.wpcf7-form input[type="submit"]:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
}

.wpcf7-not-valid-tip {
  color: #E53E3E;
  font-size: 0.76rem;
  font-family: var(--font-body);
  margin-top: 4px;
}

.wpcf7-response-output {
  border-radius: 10px;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  margin-top: 14px;
  border: none !important;
}

.wpcf7-mail-sent-ok {
  background: #ECFDF5;
  color: #065F46;
  border-color: #6EE7B7 !important;
}

.wpcf7-validation-errors {
  background: #FEF2F2;
  color: #991B1B;
}

/* ============================================================
   13. FOOTER
============================================================ */
footer,
.site-footer {
  background: var(--dark);
  border-top: 1px solid var(--border-dark);
  padding: 50px 0 30px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border-dark);
}

.footer-logo-wrap .footer-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: #fff;
  letter-spacing: -0.02em;
}

.footer-logo-wrap .footer-logo span { color: var(--blue); }

.footer-logo-wrap p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.65;
  margin-top: 10px;
  max-width: 240px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 0;
  margin: 0;
}

.footer-col ul a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
  font-family: var(--font-body);
}

.footer-col ul a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  color: var(--text-muted);
  font-size: 0.8rem;
  font-family: var(--font-body);
}

/* ============================================================
   14. PAGE HERO (inner pages)
============================================================ */
.page-hero {
  background: var(--dark);
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.13) 0%, transparent 65%);
  pointer-events: none;
}

.page-hero-content { max-width: 640px; }
.page-hero h1      { color: #fff; }

.page-hero p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-top: 1rem;
}

/* ============================================================
   15. URGENCY BADGE
============================================================ */
.urgency-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(249, 115, 22, 0.1);
  border: 1px solid rgba(249, 115, 22, 0.25);
  color: #FB923C;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  font-family: var(--font-body);
}

.urgency-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #FB923C;
  animation: blink 1.4s infinite;
  flex-shrink: 0;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

/* ============================================================
   16. CHECKLIST
============================================================ */
.checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding: 0;
  margin: 0;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-muted);
  font-family: var(--font-body);
  line-height: 1.5;
}

.checklist li .ck {
  color: #34D399;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.checklist li strong { color: #fff; }

/* ============================================================
   17. SECTION SPACING
============================================================ */
.section-dark  { background: var(--dark);  padding: 90px 0; }
.section-dark2 { background: var(--dark2); padding: 90px 0; }
.section-white { background: #fff;         padding: 90px 0; }
.section-gray  { background: #F5F7FF;      padding: 90px 0; }

/* ============================================================
   18. FINAL CTA
============================================================ */
.final-cta {
  background: var(--blue);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  top: -60%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

/* Make sure container sits above the decorative layer */
.final-cta .container {
  position: relative;
  z-index: 1;
}

.final-cta h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.7rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.18;
  position: relative;
  letter-spacing: -0.02em;
}

.final-cta p {
  color: rgba(255, 255, 255, 0.78);
  margin-top: 0.85rem;
  margin-bottom: 2rem;
  position: relative;
  font-size: 1rem;
}

.final-cta .urgency-note {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.82rem;
  margin-top: 0.85rem;
  position: relative;
  font-family: var(--font-body);
}

/* ============================================================
   19. PORTFOLIO
============================================================ */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 3rem;
}

.pf-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: all 0.25s;
}

.pf-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.pf-top {
  background: var(--dark);
  padding: 28px 26px 22px;
}

.pf-tag {
  display: inline-block;
  background: rgba(37, 99, 235, 0.18);
  color: #7DB8FF;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 14px;
  font-family: var(--font-body);
}

.pf-stats       { display: flex; gap: 20px; flex-wrap: wrap; }
.pf-stat .ps-n  { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; color: #fff; letter-spacing: -0.02em; }
.pf-stat .ps-n em { color: var(--blue); font-style: normal; }
.pf-stat .ps-l  { color: #4A5572; font-size: 0.7rem; font-family: var(--font-body); margin-top: 1px; }

.pf-bottom { background: #fff; padding: 22px 24px; }
.pf-bottom h3  { font-size: 1rem; font-weight: 700; color: #0B1120; margin-bottom: 6px; }
.pf-bottom p   { font-size: 0.84rem; color: #5A6680; line-height: 1.6; font-family: var(--font-body); }

.pf-meta  { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.pf-badge { background: #F0F5FF; color: #2563EB; font-size: 0.72rem; font-weight: 600; padding: 4px 10px; border-radius: 6px; font-family: var(--font-body); }

/* Featured card */
.featured-card                 { grid-column: span 2; }
.featured-card .pf-top         { padding: 36px 34px 28px; }
.featured-card .pf-stats       { gap: 30px; }
.featured-card .pf-stat .ps-n  { font-size: 2rem; }
.featured-card .pf-bottom      { padding: 26px 30px; }
.featured-card .pf-bottom h3   { font-size: 1.15rem; }

/* Stats banner */
.stats-banner {
  background: var(--dark);
  border-radius: var(--radius-xl);
  padding: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 3.5rem;
}

.sb-item   { text-align: center; }
.sb-num    { font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: #fff; letter-spacing: -0.02em; }
.sb-num em { color: var(--blue); font-style: normal; }
.sb-label  { color: var(--text-muted); font-size: 0.82rem; font-family: var(--font-body); margin-top: 4px; }
.sb-divider { width: 1px; background: var(--border-dark); }

/* ============================================================
   20. ELEMENTOR OVERRIDES
   Prevent Elementor from breaking the theme design
============================================================ */

/* Remove Elementor default margins on sections */
.elementor-section,
.elementor-container {
  max-width: 100% !important;
}

/* Full width pages — no padding on Elementor canvas */
.page-template-elementor-canvas .site-header,
.page-template-elementor-canvas nav {
  display: none;
}

/* Elementor full-width stretch */
.elementor-section.elementor-section-stretched {
  left: 0 !important;
  width: 100% !important;
}

/* Keep fonts consistent inside Elementor */
.elementor-widget-heading .elementor-heading-title {
  font-family: var(--font-display) !important;
}

.elementor-widget-text-editor {
  font-family: var(--font-body) !important;
}

/* Elementor button override — use theme style */
.elementor-button {
  font-family: var(--font-body) !important;
  font-weight: 600 !important;
  border-radius: var(--radius) !important;
}

/* ============================================================
   21. WORDPRESS CORE FIXES
============================================================ */

/* Fix WordPress admin bar pushing fixed nav */
.admin-bar nav,
.admin-bar .site-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar nav,
  .admin-bar .site-header {
    top: 46px;
  }
}

/* WordPress alignment classes */
.alignleft  { float: left; margin-right: 1.5rem; margin-bottom: 1rem; }
.alignright { float: right; margin-left: 1.5rem; margin-bottom: 1rem; }
.aligncenter { display: block; margin: 0 auto 1rem; }
.alignwide   { max-width: 1200px; margin-left: auto; margin-right: auto; }
.alignfull   { width: 100vw; margin-left: calc(50% - 50vw); }

/* Screen reader text */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

/* Skip link */
.skip-link {
  background: var(--blue);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.85rem;
  left: 6px;
  padding: 8px 16px;
  position: absolute;
  top: -40px;
  z-index: 999;
  border-radius: 0 0 8px 8px;
  transition: top 0.2s;
}

.skip-link:focus { top: 0; }

/* Scroll margin for anchor targets — clears fixed nav */
#audit-section,
#request-audit-form,
#booking-section {
  scroll-margin-top: 85px;
}

/* ============================================================
   22. RESPONSIVE
============================================================ */
@media (max-width: 900px) {
  .footer-top            { grid-template-columns: 1fr 1fr; }
  .portfolio-grid        { grid-template-columns: 1fr; }
  .featured-card         { grid-column: span 1; }
  .stats-banner          { grid-template-columns: repeat(2, 1fr); }
  .sb-divider            { display: none; }
}

@media (max-width: 680px) {
  .nav-links             { display: none; }
  .hamburger             { display: flex; background: none; border: none;}
  .footer-top            { grid-template-columns: 1fr; }
  .footer-bottom         { flex-direction: column; text-align: center; }
}

/* ============================================================
   HERO SECTION
============================================================ */
.hero {
  background: var(--dark);
  padding: 130px 0 90px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -100px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(37,99,235,0.12) 0%, transparent 65%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37,99,235,0.1);
  border: 1px solid rgba(37,99,235,0.25);
  color: #6EA8FE;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 1.25rem;
  font-family: var(--font-body);
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34D399;
  display: inline-block;
  animation: blink 1.4s infinite;
  flex-shrink: 0;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.hero h1 em {
  color: var(--blue);
  font-style: normal;
}

.hero-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-top: 1.25rem;
  font-family: var(--font-body);
  max-width: 520px;
}

/* FIX 1 — CTA row button alignment */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 2rem;
  margin-bottom: 0;
}

.cta-row .btn-primary,
.cta-row .btn-outline {
  margin-bottom: 0;
}

.micro {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-family: var(--font-body);
  margin-top: 0.75rem;
}

/* Trust stats row */
.trust-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.trust-stat { text-align: center; }

.t-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.t-num em { color: var(--blue); font-style: normal; }

.t-label {
  color: var(--text-muted);
  font-size: 0.75rem;
  font-family: var(--font-body);
  margin-top: 2px;
}

.trust-divider {
  width: 1px;
  height: 40px;
  background: var(--border-dark);
}

/* Dashboard visual */
.dash-wrap { position: relative; }

.dashboard {
  background: var(--dark3);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.dash-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.dash-tl {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.dash-period {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: var(--text-muted);
}

.dash-metrics {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.dm { flex: 1; min-width: 60px; }

.dm-l {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.dm-v {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.dm-c {
  font-size: 0.72rem;
  font-family: var(--font-body);
  font-weight: 600;
  margin-top: 2px;
}

.dm-up { color: #34D399; }
.dm-dn { color: #34D399; }

.bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 80px;
}

.bar {
  flex: 1;
  border-radius: 4px 4px 0 0;
  min-width: 0;
}

.bar-lbl {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
}

.bar-lbl span {
  font-size: 0.58rem;
  color: var(--text-muted);
  font-family: var(--font-body);
}

.floating-card {
  position: absolute;
  bottom: -18px;
  right: -18px;
  background: #161D2E;
  border-radius: var(--radius);
  padding: 14px 20px;
  box-shadow: 0 12px 30px rgba(37,99,235,0.4);
}

.fc-label {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.75);
  font-family: var(--font-body);
}

.fc-val {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

/* ============================================================
   PAIN CARDS / WHY SECTION
============================================================ */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 2.5rem;
}

.pain-card {
  background: #F5F7FF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.pain-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(37,99,235,0.08);
}

.pain-icon { font-size: 2rem; margin-bottom: 0.85rem; }

.pain-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #0B1120;
  margin-bottom: 0.5rem;
}

.pain-card p {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.65;
  font-family: var(--font-body);
}

/* Why / about two-col layout */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 1rem;
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  padding: 0;
  margin: 1.5rem 0 0;
}

.why-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.why-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.why-item h4 {
  font-size: 0.97rem;
  font-weight: 700;
  color: #0B1120;
  margin-bottom: 5px;
}

.why-item p {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.65;
  font-family: var(--font-body);
}

/* Performance bar visual */
.why-visual {
  background: var(--dark3);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  position: sticky;
  top: 95px;
}

.perf-row { margin-bottom: 18px; }

.perf-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 7px;
}

.perf-head span {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-body);
}

.perf-head strong {
  font-size: 0.82rem;
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
}

.bar-track {
  background: var(--mid);
  border-radius: 100px;
  height: 7px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: var(--blue);
  border-radius: 100px;
}

/* Audit section */
.audit-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.audit-box {
  background: var(--dark3);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.audit-box h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}

.audit-box p {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.65;
  font-family: var(--font-body);
}

.audit-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.audit-tag {
  background: rgba(37,99,235,0.15);
  color: #7DB8FF;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
  font-family: var(--font-body);
}

/* ============================================================
   FIX 2 — PROCESS STEPS (full style for inner pages)
============================================================ */
.process-track {
  display: flex;
  flex-direction: column;
  position: relative;
}

.process-track::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 20px;
  bottom: 20px;
  width: 2px;
  background: var(--border-light);
  z-index: 0;
}

.section-dark .process-track::before,
.section-dark2 .process-track::before {
  background: var(--border-dark);
}

.process-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding-bottom: 32px;
  position: relative;
}

.process-step:last-child { padding-bottom: 0; }

.ps-num {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 4px #F5F7FF;
}

.section-dark .ps-num,
.section-dark2 .ps-num {
  box-shadow: 0 0 0 4px var(--dark);
}

.section-gray .ps-num {
  box-shadow: 0 0 0 4px #F5F7FF;
}

.ps-body { padding-top: 7px; }

.ps-body h3,
.ps-body h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #0B1120;
  margin-bottom: 6px;
}

.section-dark .ps-body h3,
.section-dark2 .ps-body h3 { color: #fff; }

.ps-body p {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-family: var(--font-body);
}

/* ============================================================
   23. SERVICES PAGE
============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 3rem;
}

.service-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(37,99,235,0.08);
  border-color: rgba(37,99,235,0.25);
}

.service-icon {
  font-size: 2.25rem;
  margin-bottom: 1.1rem;
  line-height: 1;
  display: block;
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0B1120;
  margin-bottom: 0.65rem;
}

.service-card > p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-family: var(--font-body);
  margin-bottom: 1.5rem;
}

.service-card .checklist li { color: #4A5572; }
.service-card .checklist li .ck { color: var(--blue); }

/* ============================================================
   24. PORTFOLIO PAGE
============================================================ */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 3rem;
}

.portfolio-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 30px;
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.09);
  border-color: rgba(37,99,235,0.2);
}

.portfolio-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.portfolio-tag {
  background: rgba(37,99,235,0.1);
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.portfolio-industry {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-family: var(--font-body);
}

.portfolio-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0B1120;
  line-height: 1.3;
  margin: 0;
}

.portfolio-card > p {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-family: var(--font-body);
  margin: 0;
}

.portfolio-results {
  display: flex;
  background: #F5F7FF;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.pr-item {
  flex: 1;
  text-align: center;
  padding: 16px 10px;
  border-right: 1px solid var(--border-light);
}

.pr-item:last-child { border-right: none; }

.pr-num {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -0.02em;
}

.pr-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-family: var(--font-body);
  margin-top: 3px;
  line-height: 1.3;
}

.portfolio-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* ============================================================
   FIX 3 — ABOUT PAGE (with photo support)
============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-top: 1rem;
}

.about-visual {
  position: sticky;
  top: 95px;
  width: 100%;
}

/* Photo block */
.about-photo-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-dark);
  background: var(--dark3);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

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

.about-photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.82rem;
  text-align: center;
  padding: 2rem;
}

.about-photo-placeholder span { font-size: 2.5rem; }

.about-text {
  display: flex;
  flex-direction: column;
}

.about-text .section-title { margin-bottom: 1.25rem; }

.about-text p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.8;
  font-family: var(--font-body);
  margin-bottom: 1rem;
}

/* ============================================================
   FIX 4 — CONTACT PAGE
============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 52px;
  align-items: start;
  margin-top: 1rem;
}

.contact-form-wrap {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  width: 100%;
}

.contact-info { width: 100%; }

.contact-info-card {
  background: #F5F7FF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
}

.contact-info-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #0B1120;
  margin: 0 0 0.25rem;
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form .form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.contact-form label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #2D3748;
  margin-bottom: 6px;
  font-family: var(--font-body);
}

.contact-form .req { color: var(--blue); }

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="url"],
.contact-form select,
.contact-form textarea {
  background: #F8FAFF;
  border: 1.5px solid var(--border-light);
  border-radius: 10px;
  padding: 13px 16px;
  color: #0B1120;
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.08);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder { color: #9BA8C0; }
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form select { cursor: pointer; }

/* ============================================================
   FIX 4b — BOOK A CALL PAGE
   Fix: "Get Free Written Audit" button invisible on white card
============================================================ */
.booking-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 52px;
  align-items: start;
  margin-top: 1rem;
}

.booking-calendly {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  width: 100%;
}

.booking-info { width: 100%; }

/* btn-outline-dark — visible on white/light backgrounds */
.btn-outline-dark {
  background: transparent;
  color: var(--blue);
  text-decoration: none;
  padding: 14px 30px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.92rem;
  font-family: var(--font-body);
  border: 1.5px solid var(--blue);
  display: inline-block;
  transition: all 0.22s;
}

.btn-outline-dark:hover {
  background: var(--blue);
  color: #fff;
}

/* ============================================================
   FAQ ACCORDION
============================================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  margin-top: 2.5rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid var(--border-light);
  background: #fff;
}

.faq-item:last-child { border-bottom: none; }

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-size: 0.97rem;
  font-weight: 600;
  color: #0B1120;
  transition: background 0.18s;
}

.faq-q:hover { background: #F8FAFF; }

.faq-icon {
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--blue);
  flex-shrink: 0;
  transition: transform 0.25s;
  line-height: 1;
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-a {
  display: none;
  padding: 0 24px 20px;
}

.faq-item.open .faq-a { display: block; }

.faq-a p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
  font-family: var(--font-body);
}

/* ============================================================
   RESPONSIVE — ALL PAGES
============================================================ */
@media (max-width: 1024px) {
  .contact-grid   { grid-template-columns: 1fr; }
  .booking-grid   { grid-template-columns: 1fr; }
  .audit-inner    { grid-template-columns: 1fr; }
  .about-visual   { position: static; }
  .why-visual     { position: static; }
}

@media (max-width: 900px) {
  .hero-grid      { grid-template-columns: 1fr; }
  .dash-wrap      { display: none; }
  .services-grid  { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .about-grid     { grid-template-columns: 1fr; gap: 40px; }
  .why-grid       { grid-template-columns: 1fr; gap: 40px; }
  .pain-grid      { grid-template-columns: 1fr 1fr; }
  .results-row {
        grid-template-columns: 1fr;
        gap: 2px;
    }
  .result-block:first-child {
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    }
      .result-block:last-child {
        border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    }
}

@media (max-width: 680px) {
  .contact-form .form-row  { grid-template-columns: 1fr; }
  .contact-form-wrap       { padding: 24px 18px; }
  .booking-calendly        { padding: 24px 18px; }
  .service-card            { padding: 26px 22px; }
  .portfolio-card          { padding: 24px 20px; }
  .portfolio-results       { flex-direction: column; }
  .pr-item                 { border-right: none; border-bottom: 1px solid var(--border-light); }
  .pr-item:last-child      { border-bottom: none; }
  .pain-grid               { grid-template-columns: 1fr; }
  .cta-row                 { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   23. BLOG — INDEX PAGE
============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 3rem;
}

.blog-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(37,99,235,0.08);
}

/* Featured image */
.blog-card-image {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--dark3);
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.04);
}

/* Placeholder when no featured image */
.blog-card-image--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  background: var(--dark3);
}

/* Card body */
.blog-card-body {
  padding: 24px 22px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0;
}

/* Meta row — date · read time */
.blog-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.blog-date,
.blog-read-time {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-body);
}

.blog-meta-dot {
  color: var(--text-muted);
  font-size: 0.75rem;
}

/* Title */
.blog-card-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 10px;
}

.blog-card-title a {
  color: #0B1120;
  text-decoration: none;
  transition: color 0.2s;
}

.blog-card-title a:hover { color: var(--blue); }

/* Excerpt */
.blog-card-excerpt {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
  font-family: var(--font-body);
  margin-bottom: 18px;
  flex: 1;
}

/* Read more link */
.blog-read-more {
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
  font-family: var(--font-body);
  transition: gap 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
}

.blog-read-more:hover { color: var(--blue-dark); }

/* Pagination */
.blog-pagination {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
}

.blog-pagination .nav-links {
  display: flex;
  gap: 8px;
  align-items: center;
  position: static;
  background: none;
  border: none;
  padding: 0;
  flex-direction: row;
}

.blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border-light);
  font-size: 0.87rem;
  font-family: var(--font-body);
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.2s;
}

.blog-pagination .page-numbers:hover,
.blog-pagination .page-numbers.current {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

.blog-pagination .page-numbers.prev,
.blog-pagination .page-numbers.next {
  width: auto;
  padding: 0 16px;
  font-weight: 600;
}

/* Empty state */
.blog-empty {
  text-align: center;
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.blog-empty span { font-size: 3rem; }

.blog-empty h2 {
  font-size: 1.5rem;
  color: #0B1120;
}

.blog-empty p {
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.95rem;
  max-width: 400px;
}

/* ============================================================
   24. BLOG — SINGLE POST
============================================================ */

/* Post hero — narrower than page hero */
.post-hero { padding-bottom: 60px; }

.post-hero-content {
  max-width: 760px;
}

.post-hero .section-title {
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  line-height: 1.15;
}

/* Featured image full-width below hero */
.post-featured-image {
  background: #F5F7FF;
  padding: 0 0 0;
  margin-top: -1px;
}

.post-featured-image .container {
  max-width: 900px;
}

.post-featured-image img {
  width: 100%;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  display: block;
  max-height: 480px;
  object-fit: cover;
}

/* Post layout — centred narrow column */
.post-layout {
  max-width: 760px;
  margin: 0 auto;
}

/* Article body typography */
.post-body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.85;
  color: #2D3748;
}

.post-body h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: #0B1120;
  margin: 2.5rem 0 1rem;
  line-height: 1.2;
}

.post-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0B1120;
  margin: 2rem 0 0.75rem;
}

.post-body h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #0B1120;
  margin: 1.5rem 0 0.5rem;
}

.post-body p {
  margin-bottom: 1.4rem;
  color: #3B4460;
}

.post-body ul,
.post-body ol {
  padding-left: 1.5rem;
  margin-bottom: 1.4rem;
}

.post-body ul { list-style: disc; }
.post-body ol { list-style: decimal; }

.post-body li {
  margin-bottom: 0.5rem;
  color: #3B4460;
  font-family: var(--font-body);
}

.post-body strong { color: #0B1120; font-weight: 700; }

.post-body a {
  color: var(--blue);
  text-decoration: underline;
  text-decoration-color: rgba(37,99,235,0.3);
  transition: text-decoration-color 0.2s;
}

.post-body a:hover {
  text-decoration-color: var(--blue);
}

.post-body blockquote {
  border-left: 3px solid var(--blue);
  margin: 2rem 0;
  padding: 1rem 1.5rem;
  background: #F5F7FF;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.post-body blockquote p {
  color: #0B1120;
  font-size: 1.05rem;
  font-style: italic;
  margin: 0;
}

.post-body img {
  border-radius: var(--radius);
  margin: 2rem 0;
  width: 100%;
}

.post-body code {
  background: #F0F4FF;
  color: var(--blue);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.88rem;
  font-family: monospace;
}

.post-body pre {
  background: var(--dark3);
  color: #E2E8F4;
  padding: 20px 24px;
  border-radius: var(--radius);
  overflow-x: auto;
  margin: 1.5rem 0;
  font-size: 0.88rem;
}

/* In-article CTA box — auto-inserted after 3rd paragraph */
.post-inline-cta {
  margin: 2.5rem 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.post-inline-cta-inner {
  background: var(--dark);
  border: 1px solid rgba(37,99,235,0.3);
  border-radius: var(--radius-lg);
  padding: 28px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.post-inline-cta-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-family: var(--font-body);
  margin-bottom: 6px !important;
}

.post-inline-cta h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.post-inline-cta p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  font-family: var(--font-body);
  margin: 0 !important;
}

.post-inline-cta .btn-primary {
  flex-shrink: 0;
  margin-bottom: 0;
  white-space: nowrap;
  color: white;
}

/* End CTA section */
.post-end-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
}

.post-end-cta-stats {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
}

/* Related posts — 3 col same as blog index but smaller */
.blog-grid--related {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 2rem;
}

.blog-grid--related .blog-card-title {
  font-size: 0.95rem;
}

/* ============================================================
   25. RESPONSIVE — BLOG
============================================================ */
@media (max-width: 900px) {
  .blog-grid               { grid-template-columns: repeat(2, 1fr); }
  .blog-grid--related      { grid-template-columns: repeat(2, 1fr); }
  .post-end-cta            { grid-template-columns: 1fr; gap: 32px; }
  .post-end-cta-stats      { justify-content: flex-start; }
}

@media (max-width: 680px) {
  .blog-grid               { grid-template-columns: 1fr; }
  .blog-grid--related      { grid-template-columns: 1fr; }
  .post-inline-cta-inner   { flex-direction: column; align-items: flex-start; }
  .post-featured-image img { border-radius: 0; max-height: 240px; }
}
