/* =====================================================
   SECTIONS.CSS — Ehtisham Saeed Theme v3
   Single source of truth. No duplicates.
   ===================================================== */

/* ── CSS VARIABLES ─────────────────────────────────── */
:root {
    --bg:           #ffffff;
    --bg-light:     #f8fafc;
    --bg-lighter:   #f1f5f9;
    --bg-dark:      #0A0A0A;
    --text:         #171717;
    --text-light:   #525252;
    --text-muted:   #A3A3A3;
    --accent:       #2563EB;
    --accent-dark:  #1D4ED8;
    --accent-light: #3B82F6;
    --accent-sky:   #0EA5E9;
    --success:      #10B981;
    --error:        #dc2626;
    --warning:      #FBBF24;
    --muted:        #525252;
    --border:       #E5E5E5;
    --wa-green:     #25D366;
    --li-blue:      #0077b5;
}

/* ── RESET & BASE ───────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
/* Elementor compatible - no hiding */
::selection { background: var(--accent); color: #fff; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* ── LAYOUT ─────────────────────────────────────────── */
.container { width: 100%; max-width: 1300px; margin: 0 auto; padding: 0 2rem; }
section { padding: 6rem 0; }

/* ── TYPOGRAPHY HELPERS ─────────────────────────────── */
.section-label {
    font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.2em;
    color: var(--accent); margin-bottom: 1rem; display: block;
}
.section-title {
    font-size: clamp(2rem, 5vw, 3rem); font-weight: 800;
    letter-spacing: -0.02em; margin-bottom: 1rem; color: var(--text);
}
.section-subtitle { color: var(--muted); font-size: 1.1rem; max-width: 500px; }
.accent { color: var(--accent); }

/* ── BUTTONS ────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 0.5rem; font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.95rem; font-weight: 600; padding: 1rem 2rem;
    border: none; border-radius: 100px; cursor: pointer;
    transition: all 0.3s ease; text-decoration: none;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-secondary { background: transparent; border: 2px solid var(--border); color: var(--text); }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }
.btn-outline {
    background: transparent; border: 1.5px solid rgba(255,255,255,0.3);
    color: #fff; padding: 0.9rem 2rem; border-radius: 100px;
    font-size: 0.95rem; font-weight: 600; transition: all 0.3s;
    display: inline-flex; align-items: center;
}
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.05); }
.btn-outline-dark {
    display: inline-flex; align-items: center;
    background: transparent; border: 1.5px solid var(--border);
    color: var(--text); padding: 0.75rem 1.75rem; border-radius: 100px;
    font-weight: 600; font-size: 0.9rem; transition: all 0.3s;
}
.btn-outline-dark:hover { border-color: var(--accent); color: var(--accent); }

/* ── TOPBAR ─────────────────────────────────────────── */
.site-topbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 101;
    background: linear-gradient(90deg, var(--accent-dark), var(--accent), var(--accent-sky));
    height: 36px; display: flex; align-items: center;
    transition: transform 0.3s, opacity 0.3s;
}
.site-topbar.hidden { transform: translateY(-100%); opacity: 0; pointer-events: none; }
.topbar-inner {
    width: 100%; max-width: 1300px; margin: 0 auto; padding: 0 2rem;
    display: flex; align-items: center; justify-content: center;
    position: relative;
}
.topbar-text { font-size: 0.8rem; font-weight: 600; color: #fff; }
.topbar-close {
    position: absolute; right: 2rem; background: none; border: none;
    color: rgba(255,255,255,0.8); font-size: 1.1rem; cursor: pointer; line-height: 1;
}
.topbar-close:hover { color: #fff; }

/* ── HEADER ─────────────────────────────────────────── */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1001;
    transition: top 0.3s, box-shadow 0.3s, background 0.3s;
}
/* When topbar is visible, push header down */
body.has-topbar .site-header { top: 36px; }
.site-header.scrolled {
    box-shadow: 0 1px 0 rgba(255,255,255,0.06), 0 8px 32px rgba(0,0,0,0.4);
}
.header-inner {
    max-width: 1300px; margin: 0 auto; padding: 0 2rem;
    height: 64px; display: flex; align-items: center; gap: 1.5rem;
    background: rgba(10,10,10,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* Logo */
.site-logo {
    font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em;
    color: #fff; flex-shrink: 0; transition: opacity 0.2s;
}
.site-logo:hover { opacity: 0.8; }
.site-logo span { color: var(--accent); }
.site-logo img { max-height: 38px; width: auto; }

/* Reset WP default list/link styles inside nav */
/* Reset nav list styles */
.nav-links,
.nav-links > li {
    list-style: none !important;
    margin: 0; padding: 0;
}
/* Reset sub-menu list items but preserve ul background */
.nav-links .sub-menu > li {
    list-style: none !important;
    margin: 0; padding: 0;
    background: transparent !important;
}
/* Reset link styles - no background on individual links by default */
.nav-links > li > a,
.nav-links > li > a:visited {
    text-decoration: none !important;
    outline: none;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Nav */
.nav-links {
    display: flex; align-items: center; gap: 0.25rem;
    list-style: none; flex: 1; margin: 0; padding: 0;
}
.nav-links > li { position: relative; list-style: none; }
.nav-links > li > a {
    display: block; padding: 0.5rem 0.85rem;
    font-size: 0.875rem; font-weight: 500;
    color: rgba(255,255,255,0.8); border-radius: 8px;
    transition: color 0.2s, background 0.2s; white-space: nowrap;
}
.nav-links > li > a:hover,
.nav-links > li.current-menu-item > a,
.nav-links > li.current-page-ancestor > a,
.nav-links > li.current-menu-ancestor > a {
    color: #fff; background: transparent;
}
.nav-links > li.current-menu-item > a,
.nav-links > li.current-page-ancestor > a,
.nav-links > li.current-menu-ancestor > a {
    color: var(--accent);
}
/* Dropdown arrow */
.nav-links > li.menu-item-has-children > a::after {
    content: ''; display: inline-block; width: 0; height: 0;
    border-left: 4px solid transparent; border-right: 4px solid transparent;
    border-top: 4px solid currentColor;
    margin-left: 6px; vertical-align: middle; opacity: 0.6;
    transition: transform 0.2s;
}
.nav-links > li.menu-item-has-children:hover > a::after { transform: rotate(180deg); }

/* Submenu */
.nav-links .sub-menu {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    position: absolute;
    top: 100%;
    left: 0;
    transform: translateY(4px);
    background: #111827 !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    border-radius: 12px;
    padding: 0.4rem;
    min-width: 210px;
    z-index: 9999;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
/* Bridge: invisible padding fills the gap between link and dropdown */
.nav-links > li.menu-item-has-children > a::before {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0; right: 0;
    height: 12px;
}
/* Show on hover — use visibility+opacity instead of display:none 
   so transition works and pointer events stay intact */
.nav-links > li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}
.nav-links .sub-menu li { display: block; }
.nav-links .sub-menu a {
    display: block !important;
    padding: 0.6rem 0.9rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255,255,255,0.75) !important;
    border-radius: 8px;
    white-space: nowrap;
    transition: color 0.15s, background 0.15s;
}
.nav-links .sub-menu a:hover { color: #fff !important; background: rgba(255,255,255,0.08); }
/* Right-align submenu near right edge */
.nav-links > li:last-child .sub-menu,
.nav-links > li:nth-last-child(2) .sub-menu {
    left: auto; right: 0;
}

/* Header actions */
.header-actions { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; margin-left: auto; }

/* Dark mode toggle — pill switch */
/* dark mode toggle removed */

/* Nav CTA */
.nav-cta {
    display: inline-flex; align-items: center;
    padding: 0.5rem 1.25rem; background: var(--accent);
    color: #fff !important; border-radius: 100px;
    font-size: 0.875rem; font-weight: 700; white-space: nowrap;
    transition: background 0.2s, transform 0.2s;
}
.nav-cta:hover { background: var(--accent-dark); transform: translateY(-1px); }

/* Hamburger */
.nav-toggle {
    display: none; flex-direction: column; gap: 5px;
    width: 36px; height: 36px; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px; cursor: pointer; transition: background 0.2s;
}
.nav-toggle:hover { background: rgba(255,255,255,0.18); }
.nav-toggle span {
    display: block; width: 18px; height: 1.5px; background: #fff;
    border-radius: 2px; transition: transform 0.3s, opacity 0.3s;
    transform-origin: center;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Header spacer for mobile */
.header-spacer { display: none; }

/* ── DARK MODE ───────────────────────────────────────── */
body.dark-mode {
    --bg: #0f172a;
    --bg-light: #1e293b;
    --bg-lighter: #273549;
    --text: #f1f5f9;
    --text-light: #94a3b8;
    --border: #334155;
    --muted: #94a3b8;
}

/* Dark mode page content */
body.dark-mode .services,
body.dark-mode .about,
body.dark-mode .process,
body.dark-mode .testimonials,
body.dark-mode .faq,
body.dark-mode .contact { background: var(--bg); }
body.dark-mode .service-card { background: var(--bg-light); border-color: var(--border); }
body.dark-mode .service-card h3 { color: var(--text); }
body.dark-mode .service-card p  { color: var(--text-light); }
body.dark-mode .process-step    { background: var(--bg-light); border-color: var(--border); }
body.dark-mode .testimonial-card { background: var(--bg-light); border-color: var(--border); }
body.dark-mode .testimonial-card blockquote { color: var(--text-light); }
body.dark-mode .faq-item        { border-color: var(--border); }
body.dark-mode .faq-question    { color: var(--text); }
body.dark-mode .faq-answer      { color: var(--text-light); }
body.dark-mode .trust-bar       { background: var(--bg-light); border-color: var(--border); }
body.dark-mode .contact-form    { background: var(--bg-light); border-color: var(--border); }
body.dark-mode .form-group input,
body.dark-mode .form-group textarea { background: var(--bg); border-color: var(--border); color: var(--text); }
body.dark-mode .page-content-body,
body.dark-mode .page-content-body h2,
body.dark-mode .page-content-body h3,
body.dark-mode .page-content-body p { color: var(--text); }
body.dark-mode .section-title { color: var(--text); }
body.dark-mode .section-subtitle { color: var(--text-light); }
/* Smooth transition */
body, body * { transition: background-color 0.25s, border-color 0.25s, color 0.25s; }

/* ── SCROLL PROGRESS ────────────────────────────────── */
.scroll-progress {
    position: fixed; top: 0; left: 0; height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-sky));
    z-index: 102; width: 0%;
    transition: width 0.1s linear;
}

/* ── HERO ───────────────────────────────────────────── */
.hero {
    min-height: 100vh; padding: 10rem 0 5rem;
    display: flex; align-items: center; background: var(--bg-dark); color: #fff;
}
.hero-grid {
    display: grid; grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem; align-items: center; width: 100%;
}
.hero-content { grid-column: 1; }
.hero-image   { grid-column: 2; }
.hero-features { grid-column: 3; display: flex; flex-direction: column; gap: 1.25rem; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: rgba(37,99,235,0.15); border: 1px solid rgba(37,99,235,0.4);
    color: #93c5fd; padding: 0.4rem 1rem; border-radius: 100px;
    font-size: 0.8rem; font-weight: 500; margin-bottom: 1.5rem;
}
.hero-badge::before {
    content: ''; width: 6px; height: 6px; background: var(--success);
    border-radius: 50%; animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100% { opacity:1; } 50% { opacity:0.4; } }
.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800;
    line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 1.5rem; color: #fff;
}
.hero h1 span { color: var(--accent); }
.hero-text { font-size: 1.05rem; color: rgba(255,255,255,0.65); max-width: 420px; margin-bottom: 2rem; line-height: 1.7; }
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero-stats { display: flex; gap: 2rem; }
.hero-stat h3 { font-size: 1.6rem; font-weight: 800; color: var(--accent); line-height: 1; margin-bottom: 0.25rem; }
.hero-stat p  { font-size: 0.8rem; color: rgba(255,255,255,0.5); }
.hero-image-wrapper { position: relative; }
.hero-image img {
    width: 100%; border-radius: 16px;
    filter: grayscale(20%); box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.hero-image-badge {
    position: absolute; bottom: -16px; left: 50%; transform: translateX(-50%);
    background: #fff; color: var(--bg-dark); padding: 0.5rem 1.2rem;
    border-radius: 100px; font-size: 0.8rem; font-weight: 600;
    white-space: nowrap; box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.feature-card {
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px; padding: 1rem 1.25rem;
    display: flex; align-items: center; gap: 1rem; transition: all 0.3s;
}
.feature-card:hover { border-color: var(--accent); background: rgba(37,99,235,0.1); transform: translateX(4px); }
.feature-icon {
    width: 40px; height: 40px; min-width: 40px;
    background: rgba(37,99,235,0.25); border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.feature-card h4 { font-size: 0.9rem; font-weight: 700; color: #fff; margin-bottom: 0.15rem; }
.feature-card p  { font-size: 0.78rem; color: rgba(255,255,255,0.55); line-height: 1.4; }

/* ── TRUST BAR ──────────────────────────────────────── */
.trust-bar {
    background: var(--bg-light);
    border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
    padding: 1.25rem 0;
}
.trust-bar-inner { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.trust-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; color: var(--text-muted); white-space: nowrap; }
.trust-logos { display: flex; gap: 2rem; flex-wrap: wrap; align-items: center; }
.trust-logo  { font-size: 0.85rem; font-weight: 600; color: var(--text-muted); transition: color 0.2s; }
.trust-logo:hover { color: var(--accent); }
.trust-logo img { max-height: 36px; width: auto; filter: grayscale(100%); opacity: 0.5; transition: all 0.3s; }
.trust-logo img:hover { filter: grayscale(0%); opacity: 1; }

/* ── SERVICES ───────────────────────────────────────── */
.services { background: #fff; padding: 6rem 0; }
.services-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 3rem; gap: 2rem; flex-wrap: wrap; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.service-card {
    background: #fff; border: 1px solid var(--border);
    border-radius: 16px; padding: 2rem 1.75rem; transition: all 0.3s;
}
.service-card:hover { border-color: var(--accent); box-shadow: 0 8px 30px rgba(37,99,235,0.1); transform: translateY(-4px); }
.service-icon { margin-bottom: 1.25rem; width: 48px; height: 48px; background: rgba(37,99,235,0.08); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; line-height: 1; }
.service-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--text); margin-bottom: 0.75rem; }
.service-card p  { font-size: 0.9rem; color: var(--muted); line-height: 1.6; }
.service-link { display: inline-block; margin-top: 1rem; font-size: 0.875rem; font-weight: 600; color: var(--accent); }
.service-link:hover { text-decoration: underline; }
.service-card:hover h3 { color: var(--accent); }

/* ── RESULTS ────────────────────────────────────────── */
.results { background: var(--accent); padding: 6rem 0; }
.results .section-label { color: rgba(255,255,255,0.7); }
.results .section-title { color: #fff; margin-bottom: 2.5rem; }
.results-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.result-card {
    background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2);
    border-radius: 16px; padding: 2rem; transition: all 0.3s;
    display: flex; flex-direction: column; justify-content: space-between;
}
.result-card:hover { background: rgba(255,255,255,0.2); transform: translateY(-4px); }
.result-card--featured { grid-column: span 2; }
.result-tag { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.6); margin-bottom: 0.75rem; }
.result-card h3 { font-size: 1.2rem; font-weight: 800; color: #fff; margin-bottom: 0.75rem; }
.result-card p  { font-size: 0.9rem; color: rgba(255,255,255,0.75); line-height: 1.6; margin-bottom: 1.25rem; }
.result-metrics-row { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.result-metric strong { font-size: 2.5rem; font-weight: 800; color: #fff; line-height: 1; display: block; }
.result-metric span   { font-size: 0.85rem; color: rgba(255,255,255,0.65); }

/* ── ABOUT ──────────────────────────────────────────── */
.about { background: #fff; padding: 6rem 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 5rem; align-items: center; }
.about-image img { width: 100%; border-radius: 16px; box-shadow: 0 20px 60px rgba(0,0,0,0.1); }
.about-content h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800; margin-bottom: 1.25rem; }
.about-content p  { color: var(--muted); line-height: 1.8; margin-bottom: 1rem; }
.about-highlights { display: flex; gap: 2rem; margin-top: 2rem; }
.about-highlight h4 { font-size: 1.5rem; font-weight: 800; color: var(--accent); }
.about-highlight p  { font-size: 0.8rem; color: var(--muted); }

/* ── PROCESS ────────────────────────────────────────── */
.process { background: var(--bg-light); padding: 6rem 0; }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-top: 3rem; }
.process-step {
    background: #fff; border: 1px solid var(--border);
    border-radius: 16px; padding: 2rem; position: relative;
}
.process-step::before {
    content: attr(data-step); position: absolute;
    top: 1.5rem; right: 1.5rem;
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--accent); color: #fff;
    font-size: 0.85rem; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    line-height: 1;
}
.process-step h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.75rem; }
.process-step p  { font-size: 0.875rem; color: var(--muted); line-height: 1.7; }

/* ── TESTIMONIALS ───────────────────────────────────── */
.testimonials { background: #fff; padding: 6rem 0; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.testimonial-card {
    background: var(--bg-light); border: 1px solid var(--border);
    border-radius: 16px; padding: 2rem;
}
.testimonial-stars { color: var(--warning); font-size: 0.9rem; margin-bottom: 1rem; }
.testimonial-card blockquote { font-size: 0.925rem; color: var(--muted); line-height: 1.7; margin-bottom: 1.5rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--accent); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.85rem; flex-shrink: 0;
}
.testimonial-info h4 { font-size: 0.9rem; font-weight: 700; }
.testimonial-info p  { font-size: 0.8rem; color: var(--muted); }

/* ── FAQ ────────────────────────────────────────────── */
.faq { background: var(--bg-light); padding: 6rem 0; }
.faq-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.faq-item { border-bottom: 1px solid var(--border); padding: 1.25rem 0; cursor: pointer; }
.faq-question {
    font-size: 0.95rem; font-weight: 600; color: var(--text);
    display: flex; justify-content: space-between; align-items: center;
    gap: 1rem; width: 100%; text-align: left;
    /* Reset button styles so it looks like text */
    background: none; border: none; padding: 0; cursor: pointer;
    font-family: 'Plus Jakarta Sans', sans-serif;
}
.faq-question::after { content: '+'; font-size: 1.25rem; color: var(--accent); flex-shrink: 0; }
.faq-item.open .faq-question::after { content: '-'; }
.faq-item.open .faq-question { color: var(--accent); }
.faq-answer { display: none; font-size: 0.875rem; color: var(--muted); line-height: 1.7; padding-top: 0.75rem; }
.faq-item.open .faq-answer { display: block; }

/* ── CTA ────────────────────────────────────────────── */
.page-cta, .cta { background: var(--bg-dark); padding: 5rem 0; text-align: center; }
.cta h2, .page-cta h2 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 800; color: #fff; margin-bottom: 1rem; }
.cta h2 span { color: var(--accent); }
.cta p, .page-cta p  { color: rgba(255,255,255,0.7); font-size: 1.05rem; margin-bottom: 2rem; }

/* ── CONTACT ────────────────────────────────────────── */
.contact { background: #fff; padding: 6rem 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 5rem; align-items: start; }
.contact-info h2 { font-size: clamp(1.6rem, 3vw, 2rem); font-weight: 800; margin-bottom: 1rem; }
.contact-info p  { color: var(--muted); margin-bottom: 2rem; }
.contact-methods { display: flex; flex-direction: column; gap: 1rem; }
.contact-method { display: flex; align-items: center; gap: 1rem; padding: 1rem; border: 1px solid var(--border); border-radius: 12px; transition: all 0.3s; }
.contact-method:hover { border-color: var(--accent); transform: translateX(4px); }
.contact-method-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.8rem; flex-shrink: 0; }
.contact-method-text small { display: block; font-size: 0.75rem; color: var(--muted); }
.contact-method-text strong { font-size: 0.9rem; }
.contact-form { background: var(--bg-light); border: 1px solid var(--border); border-radius: 20px; padding: 2.5rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.4rem; }
.form-group input,
.form-group textarea {
    width: 100%; padding: 0.8rem 1rem; border: 1.5px solid var(--border);
    border-radius: 10px; font-size: 0.9rem; font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text); background: #fff; transition: border-color 0.2s, box-shadow 0.2s; outline: none;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(37,99,235,0.1); }
.form-group textarea { resize: vertical; min-height: 120px; }

/* ── FOOTER ─────────────────────────────────────────── */
.site-footer { background: var(--bg-dark); padding: 4rem 0 2rem; color: rgba(255,255,255,0.7); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand h3 { font-size: 1.3rem; font-weight: 800; color: #fff; margin-bottom: 0.75rem; }
.footer-brand h3 span { color: var(--accent); }
.footer-brand p  { font-size: 0.875rem; line-height: 1.7; }
.footer-col h4   { font-size: 0.875rem; font-weight: 700; color: #fff; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.05em; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col a    { font-size: 0.875rem; color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { font-size: 0.8rem; }
.social-links { display: flex; gap: 0.75rem; }
.social-links a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 700; transition: background 0.2s; }
.social-links a:hover { background: var(--accent); }

/* ── PAGE HERO (inner pages) ────────────────────────── */
.page-hero { padding: 8rem 0 5rem; }
.page-hero--dark { background: var(--bg-dark); color: #fff; }
.page-hero--dark .section-label { color: var(--accent-light); }
.page-hero--light { background: var(--bg-light); color: var(--text); }
.page-hero-inner { max-width: 750px; }
.page-hero-inner h1 { margin: 0.5rem 0 1rem; }
.page-hero-sub { font-size: 1.1rem; color: rgba(255,255,255,0.7); }
.page-hero--light .page-hero-sub { color: var(--text-light); }

/* Page header (fallback) */
.page-header { padding: 8rem 0 4rem; background: var(--bg-dark); color: #fff; }
.page-header h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; color: #fff; margin-bottom: 1rem; }
.page-header .section-label { color: var(--accent); }

/* ── PAGE CONTENT BODY ──────────────────────────────── */
.page-content { padding: 4rem 0 6rem; }
.page-content-body h2 { font-size: 1.6rem; font-weight: 800; margin: 2rem 0 1rem; }
.page-content-body h3 { font-size: 1.25rem; font-weight: 700; margin: 1.5rem 0 0.75rem; }
.page-content-body p  { color: var(--muted); line-height: 1.8; margin-bottom: 1rem; }
.page-content-body ul,
.page-content-body ol { margin: 1rem 0 1rem 1.5rem; }
.page-content-body li { color: var(--muted); line-height: 1.8; margin-bottom: 0.4rem; }
.page-content-body ul { list-style: disc; }
.page-content-body ol { list-style: decimal; }
.page-content-body a { color: var(--accent); }
.page-content-body a:hover { text-decoration: underline; }
.page-content-body strong { font-weight: 700; color: var(--text); }

/* ── BLOG / ARCHIVE ─────────────────────────────────── */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; }
.blog-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; transition: all 0.3s; }
.blog-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.08); transform: translateY(-4px); }
.blog-card-thumb img { width: 100%; height: 200px; object-fit: cover; }
.blog-card-body { padding: 1.5rem; }
.blog-card-meta { font-size: 0.78rem; color: var(--muted); margin-bottom: 0.5rem; }
.blog-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; line-height: 1.4; }
.blog-card h3 a:hover { color: var(--accent); }
.blog-card p { font-size: 0.875rem; color: var(--muted); line-height: 1.6; }
.blog-card-link { display: inline-block; margin-top: 1rem; font-size: 0.85rem; font-weight: 600; color: var(--accent); }
.blog-pagination { display: flex; justify-content: center; margin-top: 3rem; gap: 0.5rem; }
.blog-pagination a,
.blog-pagination span { padding: 0.5rem 1rem; border: 1px solid var(--border); border-radius: 8px; font-size: 0.875rem; }
.blog-pagination .current { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ── SINGLE POST ────────────────────────────────────── */
.post-header { background: var(--bg-dark); padding: 8rem 0 4rem; color: #fff; }
.post-header-inner { max-width: 760px; }
.post-meta-top { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; font-size: 0.8rem; color: rgba(255,255,255,0.6); }
.post-header h1 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 800; color: #fff; margin-bottom: 1rem; line-height: 1.2; }
.post-excerpt { font-size: 1.05rem; color: rgba(255,255,255,0.7); line-height: 1.7; }
.post-author-bar { display: flex; align-items: center; gap: 0.75rem; margin-top: 1.5rem; }
.author-avatar { width: 48px; height: 48px; border-radius: 50%; }
.author-info strong { display: block; font-size: 0.9rem; color: #fff; }
.author-info span   { font-size: 0.8rem; color: rgba(255,255,255,0.5); }
.post-featured-image img { width: 100%; max-height: 500px; object-fit: cover; }
.post-body { padding: 4rem 0 6rem; }
.post-content { max-width: 760px; }
.post-content h2 { font-size: 1.6rem; font-weight: 800; margin: 2.5rem 0 1rem; }
.post-content h3 { font-size: 1.25rem; font-weight: 700; margin: 2rem 0 0.75rem; }
.post-content p  { color: var(--muted); line-height: 1.8; margin-bottom: 1.25rem; }
.post-content ul,
.post-content ol { margin: 1.25rem 0 1.25rem 1.5rem; }
.post-content li { color: var(--muted); line-height: 1.8; margin-bottom: 0.5rem; list-style: disc; }
.post-content a  { color: var(--accent); }
.post-content a:hover { text-decoration: underline; }
/* Share buttons inside post-content — must not inherit accent color */
.post-content .ae-share-linkedin,
.post-content .ae-share-linkedin:hover,
.post-content .ae-share-linkedin:visited { color: #fff !important; background: #0077b5 !important; text-decoration: none !important; }
.post-content .ae-share-twitter,
.post-content .ae-share-twitter:hover,
.post-content .ae-share-twitter:visited  { color: #fff !important; background: #000 !important; text-decoration: none !important; }
.post-content .ae-share-facebook,
.post-content .ae-share-facebook:hover,
.post-content .ae-share-facebook:visited { color: #fff !important; background: #1877f2 !important; text-decoration: none !important; }
.post-content .ae-share-copy            { color: #374151 !important; background: #f1f5f9 !important; text-decoration: none !important; }
.post-content strong { font-weight: 700; color: var(--text); }
.post-content img { border-radius: 12px; margin: 2rem 0; }
.post-content blockquote { border-left: 3px solid var(--accent); padding: 1rem 1.5rem; margin: 2rem 0; background: var(--bg-light); border-radius: 0 8px 8px 0; }
.post-tags { margin-top: 2rem; display: flex; gap: 0.5rem; flex-wrap: wrap; }
.post-tag { padding: 0.3rem 0.8rem; background: var(--bg-light); border: 1px solid var(--border); border-radius: 100px; font-size: 0.8rem; color: var(--muted); }
.post-share { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--border); }

/* ── POPUP ──────────────────────────────────────────── */
.ae-popup-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,0.7); backdrop-filter: blur(6px);
    z-index: 999; align-items: center; justify-content: center; padding: 1rem;
}
.ae-popup-overlay.active { display: flex; }
.ae-popup {
    background: #fff; border-radius: 20px; width: 100%; max-width: 460px;
    position: relative; overflow: hidden;
    box-shadow: 0 40px 100px rgba(0,0,0,0.4);
    animation: popupIn 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes popupIn {
    from { opacity:0; transform: scale(0.9) translateY(20px); }
    to   { opacity:1; transform: scale(1) translateY(0); }
}
.ae-popup-close {
    position: absolute; top: 1rem; right: 1rem; width: 30px; height: 30px;
    background: rgba(0,0,0,0.08); border: none; border-radius: 50%;
    font-size: 1rem; cursor: pointer; display: flex; align-items: center; justify-content: center;
    color: var(--muted); z-index: 2; transition: background 0.2s;
}
.ae-popup-close:hover { background: rgba(0,0,0,0.15); }
.ae-popup-body { padding: 2.5rem; text-align: center; }
.ae-popup-icon { font-size: 2.5rem; margin-bottom: 1rem; display: block; }
.ae-popup-body h3 { font-size: 1.35rem; font-weight: 800; color: var(--text); margin-bottom: 0.5rem; }
.ae-popup-body p { font-size: 0.875rem; color: var(--muted); margin-bottom: 1.5rem; line-height: 1.6; }
.ae-popup-form { display: flex; flex-direction: column; gap: 0.75rem; text-align: left; }
.ae-popup-form input {
    width: 100%; padding: 0.8rem 1rem; border: 1.5px solid var(--border);
    border-radius: 10px; font-size: 0.9rem; font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text); background: var(--bg-light); outline: none; transition: border-color 0.2s;
}
.ae-popup-form input:focus { border-color: var(--accent); }
.ae-popup-note { font-size: 0.75rem; color: var(--muted); text-align: center; margin: 0; }
.ae-popup-video { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; background: #000; }
.ae-popup-video iframe { position: absolute; top:0; left:0; width:100%; height:100%; border:none; }

/* ── ANIMATIONS ─────────────────────────────────────── */
.ae-animate {
    opacity: 0; transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.ae-animate.ae-visible { opacity: 1; transform: translateY(0); }
.service-card:nth-child(2)   { transition-delay: 0.08s; }
.service-card:nth-child(3)   { transition-delay: 0.16s; }
.service-card:nth-child(4)   { transition-delay: 0.24s; }
.result-card:nth-child(2)    { transition-delay: 0.07s; }
.result-card:nth-child(3)    { transition-delay: 0.14s; }
.testimonial-card:nth-child(2) { transition-delay: 0.1s; }
.testimonial-card:nth-child(3) { transition-delay: 0.2s; }
.process-step:nth-child(2)   { transition-delay: 0.1s; }
.process-step:nth-child(3)   { transition-delay: 0.2s; }
.process-step:nth-child(4)   { transition-delay: 0.3s; }
@media (prefers-reduced-motion: reduce) { .ae-animate { opacity:1; transform:none; transition:none; } }

/* ── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 1100px) {
    .hero-grid { grid-template-columns: 1fr 1fr; }
    .hero-features { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
    .feature-card { flex: 1 1 calc(50% - 0.75rem); }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    .results-grid { grid-template-columns: 1fr; }
    .result-card--featured { grid-column: span 1; }
    .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .process-steps { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
    .container { padding: 0 1.25rem; }
    section { padding: 4rem 0; }
    /* Header */
    .site-header { top: 0 !important; }
    body.has-topbar .site-header { top: 32px !important; }
    .header-inner { height: 58px; padding: 0 1.25rem; gap: 0.75rem; }
    .nav-toggle { display: flex; }
    .nav-cta { display: none; }

    /* MOBILE NAV */
    .nav-links {
        display: none;
        position: fixed;
        top: 58px; left: 0; right: 0; bottom: 0;
        background: #111827 !important;
        flex-direction: column;
        padding: 0;
        z-index: 1000;
        overflow-y: auto;
        overflow-x: hidden;
    }
    body.has-topbar .nav-links { top: 90px; }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        min-height: calc(100vh - 58px);
    }
    .nav-links > li {
        display: block;
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    .nav-links > li > a {
        display: block;
        padding: 1rem 1.5rem;
        color: #ffffff;
        font-size: 1rem;
        font-weight: 500;
        background: transparent;
    }
    .nav-links > li > a:hover { background: rgba(255,255,255,0.08); }
    .nav-links .sub-menu {
        display: none;
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(255,255,255,0.04);
        border: none;
        border-radius: 0;
        box-shadow: none;
        padding: 0;
        min-width: unset;
    }
    .nav-links .menu-item-has-children.open > .sub-menu { display: block; }
    .nav-links .sub-menu li a {
        padding: 0.75rem 1.5rem 0.75rem 2.5rem;
        font-size: 0.875rem;
        color: rgba(255,255,255,0.75);
        border-radius: 0;
        white-space: normal;
    }
    .nav-links > li.menu-item-has-children > a::after {
        content: '+';
        border: none;
        width: auto; height: auto;
        float: right;
        font-size: 1.1rem;
    }
    .nav-links > li.menu-item-has-children.open > a::after { content: '-'; }
        /* Hero */
    .hero { padding: 6.5rem 0 3rem; min-height: unset; }
    .hero-grid { display: flex; flex-direction: column; gap: 1.5rem; }
    .hero h1 { font-size: 2.2rem; }
    .hero-stats { gap: 1.25rem; }
    .feature-card { flex: 1 1 100%; }
    /* Other */
    .faq-columns { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .process-steps { grid-template-columns: 1fr; }
    .page-hero { padding: 7rem 0 3rem; }
    .page-header { padding: 7rem 0 3rem; }
    .page-hero-dark { padding: 6rem 0 3rem; }
    .page-hero-light { padding: 6rem 0 3rem; }
    .site-topbar { height: 32px; }
    .topbar-text { font-size: 0.72rem; }
}
@media (min-width: 768px) {
    .nav-toggle { display: none !important; }
    .header-spacer { display: none; }
}

/* =====================================================
   TEMPLATE-SPECIFIC RESPONSIVE FIXES
   ===================================================== */

/* ── SERVICE SINGLE PAGE ────────────────────────────── */
.service-hero-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 3rem;
    align-items: center;
}
.service-content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}
.about-content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}
@media (max-width: 900px) {
    .service-hero-grid,
    .service-content-grid,
    .about-content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ── INLINE GRID OVERRIDES (for templates using style=) ─ */
/* Prevent hard-coded grids from breaking mobile */
@media (max-width: 767px) {
    [style*="grid-template-columns:1fr 380px"],
    [style*="grid-template-columns: 1fr 380px"],
    [style*="grid-template-columns:1fr 340px"],
    [style*="grid-template-columns:2fr 1fr"],
    [style*="grid-template-columns: 2fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
    [style*="display:grid"],
    [style*="display: grid"] {
        gap: 1.5rem !important;
    }
}

/* ── SINGLE POST ────────────────────────────────────── */
.post-content-wrap {
    max-width: 760px;
    margin: 0 auto;
}
.author-box {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.75rem;
    margin: 2.5rem 0;
}
.author-box-avatar {
    width: 80px !important;
    height: 80px !important;
    border-radius: 50%;
    flex-shrink: 0;
}
.author-box-content h4 { font-size: 1rem; font-weight: 700; margin-bottom: 0.25rem; }
.author-box-content .author-role { font-size: 0.85rem; color: var(--accent); font-weight: 600; margin-bottom: 0.5rem; }
.author-box-content p { font-size: 0.875rem; color: var(--muted); line-height: 1.7; margin-bottom: 0.75rem; }
.btn-sm { padding: 0.45rem 1rem; font-size: 0.8rem; }
/* btn-outline for dark backgrounds */
.post-header .btn-outline,
.btn-outline-white {
    background: transparent;
    border: 1.5px solid rgba(255,255,255,0.4);
    color: #fff;
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all 0.2s;
}
.post-header .btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

/* ── RELATED POSTS ──────────────────────────────────── */
.related-posts { padding: 4rem 0; background: var(--bg-light); }
.related-title {
    font-size: 1.4rem; font-weight: 800;
    margin-bottom: 2rem; color: var(--text);
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.blog-card-image img { width: 100%; height: 180px; object-fit: cover; border-radius: 12px 12px 0 0; }
.blog-card-content { padding: 1.25rem; }
.blog-card-meta { font-size: 0.78rem; color: var(--muted); margin-bottom: 0.5rem; display: flex; gap: 0.75rem; }
.blog-card-content h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.5rem; line-height: 1.4; }
.blog-card-content h4 a:hover { color: var(--accent); }
.read-more { font-size: 0.85rem; font-weight: 600; color: var(--accent); }

/* ── POST CTA ───────────────────────────────────────── */
.post-cta { background: var(--bg-dark); padding: 4rem 0; }
.page-cta-inner { text-align: center; max-width: 600px; margin: 0 auto; }
.page-cta-inner h3 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; color: #fff; margin-bottom: 0.75rem; }
.page-cta-inner p  { color: rgba(255,255,255,0.7); margin-bottom: 1.75rem; }

/* ── BLOG INDEX & ARCHIVE ───────────────────────────── */
.blog-header { background: var(--bg-dark); padding: 8rem 0 4rem; }
.blog-header h1 { color: #fff; font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; margin-bottom: 1rem; }
.blog-header .section-label { color: var(--accent); }
.blog-header .section-subtitle { color: rgba(255,255,255,0.6); max-width: 600px; }
.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}
.blog-post-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}
.blog-post-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.08); transform: translateY(-3px); }
.blog-post-card .card-thumb img { width: 100%; height: 200px; object-fit: cover; }
.blog-post-card .card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.blog-post-card .card-meta { font-size: 0.78rem; color: var(--muted); margin-bottom: 0.6rem; display: flex; gap: 0.5rem; flex-wrap: wrap; }
.blog-post-card h3 { font-size: 1rem; font-weight: 700; line-height: 1.4; margin-bottom: 0.5rem; flex: 1; }
.blog-post-card h3 a:hover { color: var(--accent); }
.blog-post-card p { font-size: 0.875rem; color: var(--muted); line-height: 1.6; margin-bottom: 1rem; }
.blog-post-card .card-link { font-size: 0.85rem; font-weight: 600; color: var(--accent); margin-top: auto; }

/* ── SEARCH ─────────────────────────────────────────── */
.search-results-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}
.search-result-item {
    padding: 1.5rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: border-color 0.2s;
}
.search-result-item:hover { border-color: var(--accent); }
.search-result-item h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.4rem; }
.search-result-item h3 a:hover { color: var(--accent); }
.search-result-item p { font-size: 0.875rem; color: var(--muted); line-height: 1.6; }

/* ── CASE STUDIES / TESTIMONIALS ────────────────────── */
.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}
.case-study-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s;
}
.case-study-card:hover { border-color: var(--accent); transform: translateY(-3px); }

/* ── RESOURCES PAGE ─────────────────────────────────── */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}
.resource-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.75rem;
    text-align: center;
    transition: all 0.3s;
}
.resource-card:hover { border-color: var(--accent); box-shadow: 0 8px 30px rgba(37,99,235,0.08); transform: translateY(-3px); }

/* ── RESPONSIVE: TEMPLATE GRIDS ─────────────────────── */
@media (max-width: 900px) {
    .related-grid { grid-template-columns: 1fr; }
    .blog-posts-grid { grid-template-columns: repeat(2, 1fr); }
    .case-studies-grid { grid-template-columns: 1fr; }
    .resources-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
    /* Author box stack on mobile */
    .author-box { flex-direction: column; gap: 1rem; }
    .author-box-avatar { width: 60px !important; height: 60px !important; }
    /* All multi-col grids collapse */
    .blog-posts-grid,
    .related-grid,
    .resources-grid,
    .case-studies-grid { grid-template-columns: 1fr; }
    /* Single post */
    .post-header { padding: 6rem 0 3rem; }
    .post-header h1 { font-size: 1.75rem; }
    .post-body { padding: 2.5rem 0; }
    /* Post featured image full width */
    .post-hero-img { width: 100%; border-radius: 0; }
    /* Blog index */
    .blog-header { padding: 6rem 0 3rem; }
    /* Service page sections padding */
    .service-body-content,
    .service-full-content { font-size: 0.95rem; }
}




/* ── ELEMENTOR COMPATIBILITY ─────────────────────────
   Our header is fixed at 64px (100px with topbar).
   Elementor pages need this offset so content doesn't
   hide under the header.
   ─────────────────────────────────────────────────── */

/* Make Elementor's page wrapper account for fixed header */
.elementor-page .elementor-section-wrap,
.elementor-page #content,
.elementor-page .site-content {
    padding-top: 64px;
}
body.has-topbar .elementor-page .elementor-section-wrap,
body.has-topbar .elementor-page #content,
body.has-topbar .elementor-page .site-content {
    padding-top: 100px;
}

/* Don't apply to homepage (front-page.php handles its own layout) */
.home .elementor-page .elementor-section-wrap,
.home .elementor-page #content {
    padding-top: 0;
}

/* In Elementor editor: make header non-fixed so it doesn't obscure editing */
.elementor-editor-active .site-header {
    position: absolute;
}


/* =====================================================
   INNER PAGE SHARED CLASSES
   Replaces all inline styles across templates
   ===================================================== */

/* ── PAGE HERO VARIANTS ── */
.page-hero-dark {
    background: var(--bg-dark);
    padding: 8rem 0 4rem;
    color: #fff;
}
.page-hero-light {
    background: var(--bg-light);
    padding: 8rem 0 4rem;
    border-bottom: 1px solid var(--border);
    color: var(--text);
}
.page-hero-dark .page-label  { color: var(--accent); }
.page-hero-light .page-label { color: var(--accent); }
.page-hero-dark h1  { color: #fff; }
.page-hero-light h1 { color: var(--text); }
.page-hero-dark .page-sub  { color: rgba(255,255,255,0.65); }
.page-hero-light .page-sub { color: var(--text-light); }
.page-hero-inner-sm  { max-width: 900px;  margin: 0 auto; }
.page-hero-inner-md  { max-width: 1100px; margin: 0 auto; }

.page-label {
    font-size: 0.85rem; font-weight: 700;
    letter-spacing: 0.1em; text-transform: uppercase;
    margin: 0 0 0.75rem; display: block;
}
.page-sub {
    font-size: 1.1rem; line-height: 1.7;
    max-width: 650px; margin: 0;
}

/* ── PAGE SECTION VARIANTS ── */
.page-section        { padding: 4rem 0; background: #fff; }
.page-section-light  { padding: 4rem 0; background: var(--bg-light); }
.page-section-dark   { padding: 4rem 0; background: var(--bg-dark); }
.page-section-accent { padding: 4rem 0; background: var(--accent); }

/* ── CTA SECTION VARIANTS ── */
.page-cta-dark   { padding: 4rem 0; background: var(--bg-dark); text-align: center; }
.page-cta-accent { padding: 4rem 0; background: var(--accent); text-align: center; }
.page-cta-light  { padding: 4rem 0; background: var(--bg-light); text-align: center; }
.page-cta-dark h2,
.page-cta-accent h2 {
    font-size: clamp(1.6rem, 3vw, 2rem); font-weight: 800;
    color: #fff; margin: 0 0 1rem;
}
.page-cta-light h2 {
    font-size: clamp(1.6rem, 3vw, 2rem); font-weight: 800;
    color: var(--text); margin: 0 0 1rem;
}
.page-cta-dark p  { color: rgba(255,255,255,0.7); margin: 0 0 2rem; }
.page-cta-accent p { color: rgba(255,255,255,0.85); margin: 0 0 2rem; }
.page-cta-light p  { color: var(--muted); margin: 0 0 2rem; }
.cta-inner { max-width: 700px; margin: 0 auto; }

/* ── BTN VARIANTS ── */
.btn-white {
    display: inline-flex; align-items: center;
    background: #fff; color: var(--accent);
    padding: 0.9rem 2.5rem; border-radius: 8px;
    font-weight: 700; font-size: 1rem; transition: all 0.2s;
}
.btn-white:hover { background: var(--bg-lighter); }
.btn-dark {
    display: inline-flex; align-items: center;
    background: var(--bg-dark); color: #fff;
    padding: 0.85rem 2rem; border-radius: 8px;
    font-weight: 700; font-size: 1rem; transition: all 0.2s;
}

/* ── CONTACT METHOD CARDS ── */
.contact-method-card {
    display: flex; align-items: center; gap: 1rem;
    padding: 1rem 1.25rem; background: var(--bg-light);
    border-radius: 10px; text-decoration: none;
    border: 1px solid var(--border); transition: all 0.2s;
}
.contact-method-card:hover { border-color: var(--accent); transform: translateX(4px); }
.contact-method-icon-wa  { background: var(--wa-green); }
.contact-method-icon-em  { background: var(--accent); }
.contact-method-icon-li  { background: var(--li-blue); }
.contact-icon-box {
    width: 40px; height: 40px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 700; font-size: 0.8rem; flex-shrink: 0;
}
.contact-meta { display: flex; flex-direction: column; }
.contact-meta small { font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.contact-meta strong { color: var(--text); }
.contact-methods-list { display: flex; flex-direction: column; gap: 0.75rem; }

/* ── AVAILABILITY BADGE ── */
.avail-badge {
    display: flex; align-items: center; gap: 0.6rem;
    margin-top: 1.5rem; padding: 1rem 1.25rem;
    background: #f0fdf4; border-radius: 8px; border: 1px solid #86efac;
}
.avail-dot { width: 10px; height: 10px; background: var(--success); border-radius: 50%; flex-shrink: 0; }
.avail-badge span { color: #065f46; font-size: 0.9rem; font-weight: 500; }

/* ── CONTACT PAGE GRID ── */
.contact-page-grid {
    display: grid; grid-template-columns: 1fr 1.2fr;
    gap: 3rem; align-items: start;
}
.contact-form-box {
    background: var(--bg-light); border-radius: 16px;
    padding: 2rem; border: 1px solid var(--border);
}
.contact-form-box h3 { font-size: 1.2rem; font-weight: 700; margin: 0 0 1.5rem; }
.form-row {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 0.75rem; margin-bottom: 0.75rem;
}
.form-status-msg { margin-top: 0.75rem; }
.form-status-msg.success { color: #16a34a; font-weight: 600; }
.form-status-msg.error   { color: var(--error); }
.form-note { font-size: 0.8rem; color: var(--muted); text-align: center; margin: 0.75rem 0 0; }

/* ── SEARCH PAGE ── */
.search-header {
    background: var(--bg-light); padding: 8rem 0 3rem;
    border-bottom: 1px solid var(--border);
}
.search-header h1 { font-size: 2rem; font-weight: 800; margin: 0 0 0.75rem; color: var(--text); }
.search-form {
    display: flex; gap: 0.75rem; max-width: 500px; margin-top: 1rem;
}
.search-form input {
    flex: 1; padding: 0.6rem 1rem; border: 1px solid var(--border);
    border-radius: 8px; font-size: 1rem; font-family: 'Plus Jakarta Sans', sans-serif;
    outline: none; transition: border-color 0.2s;
}
.search-form input:focus { border-color: var(--accent); }
.search-form button {
    background: var(--accent); color: #fff; border: none;
    padding: 0.6rem 1.25rem; border-radius: 8px; font-weight: 600; cursor: pointer;
    font-family: 'Plus Jakarta Sans', sans-serif; transition: background 0.2s;
}
.search-form button:hover { background: var(--accent-dark); }
.search-count { color: var(--muted); margin-bottom: 2rem; }
.search-results { display: flex; flex-direction: column; gap: 2rem; }
.search-result-article { border-bottom: 1px solid var(--border); padding-bottom: 2rem; }
.search-result-article:last-child { border-bottom: none; }
.result-tag-pill {
    display: inline-block; background: #eff6ff; color: var(--accent);
    font-size: 0.75rem; font-weight: 700; padding: 0.2rem 0.6rem;
    border-radius: 4px; text-transform: uppercase; margin-right: 0.5rem;
}
.result-date { color: var(--muted); font-size: 0.85rem; }
.search-result-article h2 { font-size: 1.2rem; font-weight: 700; margin: 0.5rem 0 0.6rem; }
.search-result-article h2 a:hover { color: var(--accent); }
.search-result-article p { color: var(--muted); line-height: 1.7; margin: 0 0 0.75rem; }
.search-empty { text-align: center; padding: 4rem 0; }
.search-empty h2 { color: var(--text); margin-bottom: 0.75rem; }
.search-empty p { color: var(--muted); }

/* ── AUTHOR PAGE ── */
.author-header {
    background: var(--bg-light); padding: 8rem 0 3rem;
    border-bottom: 1px solid var(--border);
}
.author-hero {
    display: flex; align-items: center; gap: 2rem; flex-wrap: wrap;
}
.author-hero-avatar {
    width: 100px; height: 100px; border-radius: 50%;
    object-fit: cover; border: 3px solid var(--border); flex-shrink: 0;
}
.author-hero-label { color: var(--accent); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 0.4rem; }
.author-hero h1  { font-size: 2rem; font-weight: 800; margin: 0 0 0.75rem; }
.author-hero p   { color: var(--muted); font-size: 1rem; line-height: 1.7; max-width: 600px; margin: 0; }
.author-posts-section { padding: 4rem 0; }
.author-posts-title { font-size: 1.4rem; font-weight: 700; margin: 0 0 2rem; }
.author-posts-title span { color: var(--muted); font-weight: 400; font-size: 1rem; }
.author-articles { display: flex; flex-direction: column; gap: 2rem; }
.author-article { border-bottom: 1px solid var(--border); padding-bottom: 2rem; }
.author-article:last-child { border-bottom: none; }
.author-article h3 { font-size: 1.2rem; font-weight: 700; margin: 0.5rem 0 0.6rem; }
.author-article h3 a:hover { color: var(--accent); }
.author-article p { color: var(--muted); font-size: 0.95rem; line-height: 1.7; margin: 0 0 0.75rem; }
.author-article .read-link { color: var(--accent); font-size: 0.9rem; font-weight: 600; }
.author-empty { text-align: center; padding: 4rem 0; color: var(--muted); }

/* ── SERVICE SINGLE HERO GRID ── */
.service-hero-inner {
    display: grid; grid-template-columns: 1fr 340px;
    gap: 3rem; align-items: center;
}
.service-stat-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px; padding: 2rem;
}
.service-stat-label { color: rgba(255,255,255,0.5); font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 0.75rem; }
.service-stat-number { font-size: 2rem; font-weight: 800; color: var(--accent); line-height: 1.2; margin-bottom: 0.75rem; }
.service-stat-desc { color: rgba(255,255,255,0.65); font-size: 0.9rem; line-height: 1.6; margin: 0; }
.service-price-block { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.1); }
.service-price-label { color: rgba(255,255,255,0.5); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; margin: 0 0 0.25rem; }
.service-price-value { color: #fff; font-size: 1.1rem; font-weight: 700; }
.service-hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }
.service-hero-btn-primary {
    background: var(--accent); color: #fff; padding: 0.85rem 2rem;
    border-radius: 8px; font-weight: 700; font-size: 1rem; transition: background 0.2s;
}
.service-hero-btn-primary:hover { background: var(--accent-dark); }
.service-hero-btn-ghost {
    border: 1px solid rgba(255,255,255,0.2); color: #fff;
    padding: 0.85rem 2rem; border-radius: 8px; font-weight: 600;
    font-size: 1rem; transition: border-color 0.2s;
}
.service-hero-btn-ghost:hover { border-color: rgba(255,255,255,0.5); }

/* ── SERVICE CONTENT GRID ── */
.service-content-inner {
    display: grid; grid-template-columns: 2fr 1fr;
    gap: 3rem; align-items: start;
}
.service-includes-box {
    background: var(--bg-light); border-radius: 12px;
    padding: 1.5rem; margin-bottom: 1.5rem;
}
.service-includes-box h3 { font-size: 1rem; font-weight: 700; margin: 0 0 1rem; }
.service-includes-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.service-includes-list li { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.9rem; color: var(--text-light); line-height: 1.5; }
.service-includes-list li::before { content: ''; color: var(--accent); font-weight: 700; flex-shrink: 0; margin-top: 0.1rem; width: 16px; height: 16px; background: var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.6rem; }
.service-cta-sidebar {
    background: var(--accent); border-radius: 12px;
    padding: 1.5rem; color: #fff; text-align: center;
}
.service-cta-sidebar p:first-child { font-size: 0.85rem; opacity: 0.8; margin: 0 0 0.5rem; }
.service-cta-sidebar p:nth-child(2) { font-weight: 700; margin: 0 0 1rem; font-size: 1rem; }
.service-cta-sidebar a {
    background: #fff; color: var(--accent); padding: 0.65rem 1.5rem;
    border-radius: 8px; font-weight: 700; font-size: 0.9rem; display: inline-block;
    transition: background 0.2s;
}
.service-cta-sidebar a:hover { background: var(--bg-lighter); }

/* ── SERVICE PROCESS STEPS ── */
.service-process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
}
.service-process-step { text-align: center; }
.service-step-num {
    width: 48px; height: 48px; background: #eff6ff;
    border-radius: 50%; display: flex; align-items: center;
    justify-content: center; margin: 0 auto 1rem;
    font-size: 1.1rem; font-weight: 800; color: var(--accent);
}
.service-process-step h4 { font-size: 1rem; font-weight: 700; margin: 0 0 0.5rem; }
.service-process-step p  { color: var(--muted); font-size: 0.9rem; line-height: 1.5; margin: 0; }

/* ── SERVICE WHO FOR ── */
.who-for-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}
.who-for-item {
    background: #fff; border-radius: 10px;
    padding: 1.25rem; border-left: 3px solid var(--accent);
}
.who-for-item p { margin: 0; color: var(--text-light); font-size: 0.95rem; line-height: 1.5; }

/* ── SERVICE TESTIMONIAL ── */
.service-testimonial { padding: 4rem 0; background: var(--bg-dark); }
.service-testimonial-inner { max-width: 800px; margin: 0 auto; text-align: center; }
.service-quote-mark { font-size: 3rem; color: var(--accent); margin-bottom: 1rem; line-height: 1; }
.service-testimonial blockquote {
    font-size: 1.2rem; color: #fff; line-height: 1.7;
    font-style: italic; margin: 0 0 1.5rem;
}
.service-testimonial cite { color: rgba(255,255,255,0.6); font-size: 0.9rem; font-style: normal; }

/* ── ABOUT PAGE ── */
.about-page-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem; align-items: start;
}
.about-stats-box {
    background: var(--bg-light); border-radius: 12px; padding: 1.5rem; margin-bottom: 1.5rem;
}
.about-stat-row {
    text-align: center; padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
}
.about-stat-row:last-child { border-bottom: none; }
.about-stat-num   { font-size: 1.75rem; font-weight: 800; color: var(--accent); }
.about-stat-label { color: var(--muted); font-size: 0.85rem; margin-top: 0.2rem; }
.about-creds-box  { background: var(--bg-light); border-radius: 12px; padding: 1.5rem; }
.about-creds-box h4 { font-size: 0.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin: 0 0 1rem; }
.about-creds-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.about-creds-list li { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.9rem; color: var(--text-light); }
.about-creds-check { color: var(--accent); font-weight: 700; flex-shrink: 0; }
.about-cta-box {
    background: var(--accent); border-radius: 12px;
    padding: 1.5rem; margin-top: 1.5rem; text-align: center; color: #fff;
}
.about-cta-box p { color: rgba(255,255,255,0.85); font-size: 0.9rem; margin: 0 0 1rem; }
.about-cta-box a {
    display: inline-block; background: #fff; color: var(--accent);
    padding: 0.65rem 1.5rem; border-radius: 8px; font-weight: 700;
    font-size: 0.9rem; transition: background 0.2s;
}
.about-cta-box a:hover { background: var(--bg-lighter); }

/* ── RESPONSIVE: ALL INNER PAGE GRIDS ── */
@media (max-width: 900px) {
    .contact-page-grid,
    .service-hero-inner,
    .service-content-inner,
    .about-page-grid { grid-template-columns: 1fr; }
    .service-hero-inner { gap: 2rem; }
}
@media (max-width: 767px) {
    .page-hero-dark,
    .page-hero-light { padding: 6rem 0 3rem; }
    .form-row { grid-template-columns: 1fr; }
    .author-hero { flex-direction: column; gap: 1rem; text-align: center; }
    .service-process-grid { grid-template-columns: 1fr 1fr; }
    .who-for-grid { grid-template-columns: 1fr; }
}

/* ── SERVICE PAGE MINOR HELPERS ─── */
.service-icon-emoji  { font-size: 3rem; margin-bottom: 1rem; }
.service-intro-para  { font-size: 1.1rem; font-weight: 500; line-height: 1.8; margin: 0 0 1.5rem; padding-bottom: 1.5rem; border-bottom: 2px solid var(--accent); }
.section-h2          { font-size: 1.75rem; font-weight: 800; margin: 0 0 2rem; }
.related-service-link { text-decoration: none; display: block; }
.related-service-title { font-size: 1rem; font-weight: 700; margin: 0 0 0.4rem; }
.related-service-more { color: var(--accent); font-size: 0.85rem; font-weight: 600; margin: 0; }
.faq-stack { display: flex; flex-direction: column; gap: 0.75rem; }

/* Trust logo hover (replaces inline onmouseover) */
.trust-logo-img {
    max-height: 40px; width: auto; object-fit: contain;
    filter: grayscale(100%); opacity: 0.7;
    transition: opacity 0.3s, filter 0.3s;
}
.trust-logo-img:hover { opacity: 1; filter: grayscale(0%); }

/* Category post link hover (replaces inline onmouseover) */
.cat-post-link { color: var(--text); text-decoration: none; transition: color 0.2s; }
.cat-post-link:hover { color: var(--accent); }

/* Skip to content (accessibility) */
.skip-to-content {
    position: absolute; top: -100px; left: 1rem;
    background: var(--accent); color: #fff;
    padding: 0.75rem 1.5rem; border-radius: 0 0 8px 8px;
    font-weight: 700; font-size: 0.9rem; z-index: 9999;
    transition: top 0.2s;
}
.skip-to-content:focus { top: 0; }

/* ── CATEGORY ARCHIVE ────────────────────────────────── */
.cat-posts-list { display: flex; flex-direction: column; gap: 2rem; }
.cat-post-item {
    display: flex; gap: 1.5rem;
    border-bottom: 1px solid var(--border); padding-bottom: 2rem;
}
.cat-post-item:last-child { border-bottom: none; }
.cat-post-thumb {
    flex-shrink: 0; width: 160px; height: 110px;
    border-radius: 8px; overflow: hidden;
}
.cat-post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cat-post-body { flex: 1; }
.cat-post-meta { color: var(--text-muted); font-size: 0.85rem; display: block; margin-bottom: 0.4rem; }
.cat-post-title { font-size: 1.1rem; font-weight: 700; margin: 0 0 0.5rem; }
.cat-post-excerpt { color: var(--muted); font-size: 0.9rem; line-height: 1.6; margin: 0 0 0.6rem; }
.cat-read-more { color: var(--accent); font-size: 0.85rem; font-weight: 600; }
.cat-pagination { margin-top: 2.5rem; }
.cat-empty { text-align: center; padding: 4rem 0; color: var(--muted); }
@media (max-width: 540px) {
    .cat-post-item { flex-direction: column; }
    .cat-post-thumb { width: 100%; height: 180px; }
}

/* ── MISC HELPERS ────────────────────────────────────── */
.section-label--center { display: inline-block; }
.section-header-center { text-align: center; margin-bottom: 3rem; }

/* ── VIDEO SECTION ───────────────────────────────────── */
.videos-section { background: var(--bg-dark); padding: 6rem 0; }
.videos-header { margin-bottom: 3rem; }
.videos-section .section-label { color: var(--accent); }
.videos-section .section-title { color: #fff; }
.videos-section .section-subtitle { color: rgba(255,255,255,0.65); }

.videos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}
.videos-grid--1 { grid-template-columns: 1fr; max-width: 760px; }
.videos-grid--2 { grid-template-columns: repeat(2, 1fr); max-width: 900px; }

.video-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 0.3s, transform 0.3s;
}
.video-card:hover { border-color: rgba(255,255,255,0.2); transform: translateY(-4px); }

.video-embed {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    background: #000;
}
.video-embed iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: none;
}

.video-card-body { padding: 1.25rem 1.5rem 1.5rem; }
.video-card-title {
    font-size: 1rem; font-weight: 700;
    color: #fff; margin-bottom: 0.4rem; line-height: 1.4;
}
.video-card-desc { font-size: 0.875rem; color: rgba(255,255,255,0.6); line-height: 1.6; margin: 0; }

@media (max-width: 900px) { .videos-grid { grid-template-columns: 1fr; } }
@media (max-width: 767px) {
    .videos-grid--2 { grid-template-columns: 1fr; }
    .videos-section { padding: 4rem 0; }
}

/* =====================================================
   LANDING PAGE (page-landing.php)
   ===================================================== */
.lp-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(10,10,10,0.97); backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.lp-header-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 64px; padding: 0 2rem;
}
.lp-header-cta { padding: 0.5rem 1.25rem; font-size: 0.875rem; }
.lp-main { padding-top: 64px; }
.lp-content { max-width: 800px; margin: 0 auto; padding: 4rem 2rem 6rem; }
.lp-sticky-cta {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 99;
    background: var(--bg-dark); border-top: 1px solid rgba(255,255,255,0.08);
    padding: 1rem 0;
}
.lp-sticky-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem; flex-wrap: wrap;
}
.lp-sticky-inner p { color: rgba(255,255,255,0.7); font-size: 0.875rem; margin: 0; }
body.landing-page { padding-bottom: 72px; }
@media (max-width: 600px) {
    .lp-sticky-inner { flex-direction: column; text-align: center; }
    .lp-sticky-cta { padding: 0.75rem 0; }
}

/* =====================================================
   SALES PAGE (page-sales.php)
   ===================================================== */
.sp-hero { background: var(--bg-light); padding: 8rem 0 5rem; border-bottom: 2px solid var(--border); }
.sp-hero-inner { max-width: 1100px; margin: 0 auto; }
.sp-hero-content { max-width: 700px; }
.sp-urgency-bar {
    display: inline-block; background: #dc2626; color: #fff;
    font-size: 0.8rem; font-weight: 700; padding: 0.3rem 1rem;
    border-radius: 100px; margin-bottom: 1.5rem; text-transform: uppercase; letter-spacing: 0.05em;
}
.sp-hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; color: var(--text); margin-bottom: 1rem; }
.sp-subtitle { font-size: 1.15rem; color: rgba(255,255,255,0.7); margin-bottom: 2rem; line-height: 1.7; }
.sp-hero-cta { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.sp-cta-btn { padding: 1rem 2.5rem; font-size: 1rem; }
.sp-cta-note { color: var(--muted); font-size: 0.85rem; margin: 0; }
.sp-body { padding: 5rem 0 6rem; }
.sp-body-grid {
    display: grid; grid-template-columns: 1fr 320px; gap: 4rem; align-items: start;
    max-width: 1100px; margin: 0 auto;
}
.sp-sidebar { position: sticky; top: 90px; }
.sp-sidebar-card {
    background: var(--bg-light); border: 1px solid var(--border);
    border-radius: 16px; padding: 2rem;
}
.sp-price { font-size: 2rem; font-weight: 800; color: var(--accent); margin-bottom: 1.25rem; }
.sp-sidebar-note { font-size: 0.8rem; color: var(--muted); text-align: center; margin: 0.75rem 0 0; }
.sp-guarantee {
    display: flex; align-items: flex-start; gap: 0.75rem;
    margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--border);
    font-size: 0.875rem; color: var(--muted); line-height: 1.6;
}
.sp-guarantee-icon { color: var(--success); font-weight: 700; flex-shrink: 0; font-size: 1rem; }
@media (max-width: 900px) { .sp-body-grid { grid-template-columns: 1fr; } .sp-sidebar { position: static; } }

/* =====================================================
   LEAD CAPTURE (page-lead-capture.php)
   ===================================================== */
.squeeze-page { background: var(--bg-light) !important; }
.lc-wrap { min-height: 100vh; padding-bottom: 4rem; }
.lc-logo { padding: 1.5rem 2rem; border-bottom: 1px solid rgba(255,255,255,0.06); }
.lc-grid {
    display: grid; grid-template-columns: 1fr 420px; gap: 4rem;
    align-items: start; padding: 4rem 0 5rem;
}
.lc-offer-badge {
    display: inline-block; background: rgba(37,99,235,0.2); border: 1px solid rgba(37,99,235,0.4);
    color: #93c5fd; padding: 0.35rem 1rem; border-radius: 100px;
    font-size: 0.8rem; font-weight: 600; margin-bottom: 1.5rem;
}
.lc-headline { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; color: var(--text); margin-bottom: 1rem; line-height: 1.15; }
.lc-subhead { font-size: 1.1rem; color: var(--muted); line-height: 1.7; margin-bottom: 1.5rem; }
.lc-bullets { list-style: none; margin: 0 0 1.5rem; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.lc-bullets li { display: flex; align-items: flex-start; gap: 0.6rem; color: var(--text); font-size: 0.95rem; }
.lc-bullets li::before { content: '\2713'; color: var(--success); font-weight: 700; flex-shrink: 0; }
.lc-trust { font-size: 0.85rem; color: var(--muted); margin-top: 1.5rem; }
.lc-form-box {
    background: #fff; border-radius: 20px; padding: 2.5rem;
    box-shadow: 0 8px 40px rgba(0,0,0,0.12); border: 1px solid var(--border);
}
.lc-form-title { font-size: 1.2rem; font-weight: 800; color: var(--text); margin-bottom: 1.5rem; }
.lc-form .form-group input,
.lc-form .form-group textarea { background: var(--bg-light); }
@media (max-width: 900px) { .lc-grid { grid-template-columns: 1fr; gap: 3rem; } }

/* =====================================================
   WEBINAR PAGE (page-webinar.php)
   ===================================================== */
.wb-hero { background: var(--bg-light); padding: 8rem 0 5rem; border-bottom: 2px solid var(--border); }
.wb-hero-grid { display: grid; grid-template-columns: 1fr 400px; gap: 4rem; align-items: start; }
.wb-badge {
    display: inline-block; background: rgba(37,99,235,0.2); color: #93c5fd;
    border: 1px solid rgba(37,99,235,0.4); padding: 0.35rem 1rem;
    border-radius: 100px; font-size: 0.75rem; font-weight: 700;
    letter-spacing: 0.08em; margin-bottom: 1.5rem;
}
.wb-hero h1 { font-size: clamp(2rem, 4vw, 3rem); color: var(--text); margin-bottom: 1rem; }
.wb-subtitle { font-size: 1.1rem; color: var(--muted); line-height: 1.7; margin-bottom: 2rem; }
.wb-meta { display: flex; gap: 2rem; margin-bottom: 2rem; flex-wrap: wrap; }
.wb-meta-item { display: flex; flex-direction: column; gap: 0.2rem; }
.wb-meta-label { font-size: 0.75rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.wb-meta-value { font-size: 1rem; font-weight: 700; color: var(--text); }
.wb-meta-item--urgent .wb-meta-value { color: #f87171; }
.wb-countdown { display: flex; gap: 1rem; }
.wb-count-block { text-align: center; }
.wb-count-block span { display: block; font-size: 2.5rem; font-weight: 800; color: var(--accent); line-height: 1; }
.wb-count-block small { font-size: 0.7rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; }
.wb-form-card { background: #fff; border-radius: 20px; padding: 2.5rem; box-shadow: 0 30px 80px rgba(0,0,0,0.3); }
.wb-form-title { font-size: 1.2rem; font-weight: 800; margin-bottom: 1.5rem; }
.wb-agenda { margin-top: 3rem; }
.wb-agenda-title { font-size: 1.5rem; font-weight: 800; margin-bottom: 1.5rem; }
.wb-agenda-list { display: flex; flex-direction: column; gap: 1rem; }
.wb-agenda-item { display: flex; align-items: flex-start; gap: 1rem; padding: 1rem 1.25rem; background: var(--bg-light); border-radius: 10px; }
.wb-agenda-num { width: 32px; height: 32px; background: var(--accent); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.85rem; flex-shrink: 0; }
.wb-agenda-item p { margin: 0; font-size: 0.95rem; color: var(--text); line-height: 1.5; padding-top: 0.4rem; }
.wb-speaker { display: flex; gap: 1.5rem; margin-top: 3rem; padding: 2rem; background: var(--bg-light); border-radius: 16px; }
.wb-speaker-photo { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.wb-speaker-label { font-size: 0.75rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.25rem; }
.wb-speaker-name { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
@media (max-width: 900px) { .wb-hero-grid { grid-template-columns: 1fr; gap: 3rem; } }
@media (max-width: 600px) { .wb-speaker { flex-direction: column; } }

/* =====================================================
   CASE STUDY PAGE (page-case-study.php)
   ===================================================== */
.cs-hero { background: var(--bg-light); padding: 8rem 0 5rem; border-bottom: 2px solid var(--border); }
.cs-breadcrumb { font-size: 0.85rem; color: var(--muted); margin-bottom: 1.5rem; }
.cs-breadcrumb a { color: var(--accent); }
.cs-hero-grid { display: grid; grid-template-columns: 1fr 340px; gap: 3rem; align-items: start; }
.cs-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.cs-tag { background: var(--bg-lighter); color: var(--muted); padding: 0.25rem 0.75rem; border-radius: 100px; font-size: 0.8rem; font-weight: 600; }
.cs-hero h1 { font-size: clamp(1.8rem, 4vw, 3rem); color: var(--text); margin-bottom: 1rem; }
.cs-subtitle { font-size: 1.1rem; color: var(--muted); margin-bottom: 1.5rem; line-height: 1.7; }
.cs-services { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.cs-services-label { font-size: 0.8rem; color: var(--muted); }
.cs-service-pill { background: rgba(37,99,235,0.2); border: 1px solid rgba(37,99,235,0.3); color: #93c5fd; padding: 0.2rem 0.7rem; border-radius: 100px; font-size: 0.78rem; font-weight: 600; }
.cs-metrics { background: #fff; border: 2px solid var(--accent); border-radius: 16px; padding: 1.75rem; display: flex; flex-direction: column; gap: 1.25rem; box-shadow: 0 8px 30px rgba(37,99,235,0.1); }
.cs-metric { border-bottom: 1px solid var(--border); padding-bottom: 1.25rem; }
.cs-metric:last-child { border-bottom: none; padding-bottom: 0; }
.cs-metric-stat { font-size: 2rem; font-weight: 800; color: var(--accent); line-height: 1; }
.cs-metric-label { font-size: 0.85rem; color: var(--muted); margin-top: 0.25rem; }
.cs-featured-img { background: var(--bg-dark); }
.cs-featured-img .container { padding-top: 0; padding-bottom: 0; }
.cs-hero-img { width: 100%; max-height: 500px; object-fit: cover; border-radius: 0 0 16px 16px; }
.cs-block { margin-bottom: 3rem; padding-bottom: 3rem; border-bottom: 1px solid var(--border); }
.cs-block:last-of-type { border-bottom: none; }
.cs-block-title { font-size: 1.4rem; font-weight: 800; margin-bottom: 1.25rem; }
.cs-block-title--challenge { color: #dc2626; }
.cs-block-title--solution  { color: var(--accent); }
.cs-block-title--detail    { color: var(--text); }
.cs-quote {
    margin: 2rem 0; padding: 2rem 2rem 2rem 2.5rem;
    border-left: 3px solid var(--accent); background: var(--bg-light); border-radius: 0 12px 12px 0;
}
.cs-quote p { font-size: 1.1rem; color: var(--text); font-style: italic; line-height: 1.7; margin: 0 0 0.75rem; }
.cs-quote cite { font-size: 0.875rem; color: var(--muted); font-style: normal; }
.cs-results-section { background: var(--accent); padding: 5rem 0; }
.cs-results-title { font-size: 1.75rem; font-weight: 800; color: #fff; text-align: center; margin-bottom: 2.5rem; }
.cs-results-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 2rem; }
.cs-result-card { text-align: center; }
.cs-result-stat { font-size: 3rem; font-weight: 800; color: #fff; line-height: 1; }
.cs-result-label { font-size: 0.9rem; color: rgba(255,255,255,0.75); margin-top: 0.4rem; }
@media (max-width: 900px) { .cs-hero-grid { grid-template-columns: 1fr; } }

/* =====================================================
   THANK YOU PAGE (page-thank-you.php)
   ===================================================== */
.thank-you-page { background: var(--bg-light) !important; }
.ty-wrap { min-height: 100vh; display: flex; align-items: center; padding: 4rem 0; }
.ty-container { max-width: 640px; margin: 0 auto; text-align: center; }
.ty-icon {
    width: 80px; height: 80px; background: var(--success); color: #fff;
    border-radius: 50%; font-size: 2rem; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 2rem;
}
.ty-headline { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; margin-bottom: 1rem; }
.ty-subhead { font-size: 1.1rem; color: var(--muted); line-height: 1.7; margin-bottom: 2rem; }
.ty-next-box {
    background: #fff; border: 1px solid var(--border); border-radius: 16px;
    padding: 1.75rem; margin-bottom: 2rem; text-align: left;
}
.ty-next-label { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 0.5rem; }
.ty-next-text { font-size: 1rem; color: var(--text); margin: 0; line-height: 1.7; }
.ty-content { text-align: left; margin-bottom: 2rem; }
.ty-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2rem; }
.ty-share { padding-top: 2rem; border-top: 1px solid var(--border); }
.ty-share-label { font-size: 0.875rem; color: var(--muted); margin-bottom: 0.75rem; }
.ty-share-btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: #0077b5; color: #fff; padding: 0.6rem 1.25rem;
    border-radius: 8px; font-size: 0.875rem; font-weight: 600; transition: background 0.2s;
}
.ty-share-btn:hover { background: #005e8e; }
.ty-home-link { display: inline-block; margin-top: 1.5rem; font-size: 0.875rem; color: var(--muted); }
.ty-home-link:hover { color: var(--accent); }

/* ---- Form Embed Wrapper ---- */
/* Wraps GHL/external embed codes - resets any conflicting styles */
.form-embed-wrap {
    width: 100%;
}
.form-embed-wrap iframe {
    width: 100% !important;
    border: none !important;
    display: block;
}
.form-embed-wrap form {
    width: 100%;
}

/* Landing page inline form section */
.lp-form-section {
    background: var(--bg-light);
    padding: 4rem 0 6rem;
}
.lp-form-heading {
    font-size: 1.75rem; font-weight: 800;
    text-align: center; margin-bottom: 2rem;
}


/* =====================================================
   SINGLE POST — TOC, AUTHOR SOCIAL, PREV/NEXT
   ===================================================== */

/* Post body layout — 2 column when TOC present */
.post-body-grid { display: block; }
.post-body-grid.has-toc {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 3rem;
    align-items: start;
}

/* Table of Contents */
.toc-sidebar { position: sticky; top: 84px; }
.toc-box {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
}
.toc-label {
    font-size: 0.75rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.1em;
    color: var(--muted); margin: 0 0 0.75rem;
}
.toc-nav { display: flex; flex-direction: column; gap: 0.15rem; }
.toc-link {
    display: block; font-size: 0.85rem; font-weight: 500;
    color: var(--muted); padding: 0.3rem 0;
    border-left: 2px solid transparent;
    padding-left: 0.75rem; transition: all 0.2s;
    text-decoration: none; line-height: 1.4;
}
.toc-link:hover { color: var(--accent); border-left-color: var(--accent); }
.toc-link.active { color: var(--accent); border-left-color: var(--accent); font-weight: 600; }
.toc-level-3 { padding-left: 1.5rem; font-size: 0.8rem; }

/* Author box social links */
.author-box-links {
    display: flex; align-items: center; gap: 0.75rem;
    flex-wrap: wrap; margin-top: 0.75rem;
}
.author-social-link {
    display: inline-flex; align-items: center; gap: 0.4rem;
    font-size: 0.8rem; font-weight: 600; padding: 0.35rem 0.85rem;
    border-radius: 100px; text-decoration: none;
    transition: all 0.2s;
}
.author-social-li {
    background: #e8f0f9; color: #0077b5;
}
.author-social-li:hover { background: #0077b5; color: #fff; }
.author-social-x {
    background: #f1f1f1; color: #000;
}
.author-social-x:hover { background: #000; color: #fff; }

/* No-thumbnail fallback for related posts */
.blog-card-no-thumb {
    display: flex; align-items: center; justify-content: center;
    height: 180px; background: var(--bg-light);
    border-radius: 12px 12px 0 0; color: var(--accent);
    font-size: 0.85rem; font-weight: 700; text-decoration: none;
    text-transform: uppercase; letter-spacing: 0.05em;
}

/* Prev / Next post navigation */
.post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}
.post-nav-link {
    display: flex; flex-direction: column; gap: 0.3rem;
    padding: 1rem 1.25rem;
    background: var(--bg-light); border: 1px solid var(--border);
    border-radius: 10px; text-decoration: none;
    transition: all 0.2s;
}
.post-nav-link:hover { border-color: var(--accent); background: #fff; }
.post-nav-next { text-align: right; }
.post-nav-dir {
    font-size: 0.75rem; font-weight: 700; color: var(--accent);
    text-transform: uppercase; letter-spacing: 0.08em;
}
.post-nav-title {
    font-size: 0.9rem; font-weight: 600; color: var(--text);
    line-height: 1.4; display: -webkit-box;
    -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* Mobile: stack TOC above content */
@media (max-width: 900px) {
    .post-body-grid.has-toc { grid-template-columns: 1fr; }
    .toc-sidebar { position: static; }
    .toc-box { margin-bottom: 2rem; }
}
@media (max-width: 600px) {
    .post-nav { grid-template-columns: 1fr; }
    .post-nav-next { text-align: left; }
}
