/* =============================================
   CONSISTRENDS THEME — main.css
   ============================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: #0f172a; background: #fff; line-height: 1.6; }

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

a { color: #2563eb; }

/* ===================== NAVBAR ===================== */
.nav { background: #fff; border-bottom: 1px solid #e2e8f0; padding: 0 60px; position: sticky; top: 0; z-index: 999; transition: box-shadow 0.2s; }
.nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); border-bottom-color: transparent; }
.nav-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.nav-logo img, .nav-logo-img { height: 44px; width: auto; object-fit: contain; border-radius: 8px; }
.nav-logo-text { font-size: 20px; font-weight: 800; color: #0f172a; text-decoration: none; }
.nav-logo-text span { color: #2563eb; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { color: #475569; font-size: 14px; font-weight: 500; text-decoration: none; padding: 8px 14px; border-radius: 8px; transition: color 0.2s, background 0.2s; white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { color: #2563eb; background: #f0f7ff; font-weight: 700; }
.nav-cta a { background: #2563eb; color: #fff; padding: 10px 22px; border-radius: 8px; font-size: 14px; font-weight: 700; text-decoration: none; transition: background 0.2s; }
.nav-cta a:hover { background: #1d4ed8; }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; background: none; border: none; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: #0f172a; border-radius: 2px; transition: all 0.3s; }
.nav-mobile { display: none; background: #fff; border-top: 1px solid #e2e8f0; padding: 16px 24px 24px; flex-direction: column; gap: 4px; }
.nav-mobile a { color: #475569; font-size: 15px; font-weight: 500; text-decoration: none; padding: 12px 16px; border-radius: 8px; display: block; }
.nav-mobile a:hover { color: #2563eb; background: #f0f7ff; }
.nav-mobile .mob-cta { background: #2563eb; color: #fff !important; text-align: center; margin-top: 8px; font-weight: 700; border-radius: 8px; }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===================== SECTION COMMONS ===================== */
.sec-label { display: inline-block; background: #eaf0fb; color: #2563eb; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; padding: 6px 14px; border-radius: 20px; margin-bottom: 14px; text-transform: uppercase; }
.sec-h2 { font-size: 36px; font-weight: 800; color: #0f172a; line-height: 1.2; margin-bottom: 14px; }
.sec-h2 span { color: #2563eb; }
.sec-sub { color: #64748b; font-size: 15px; line-height: 1.6; margin: 0; }

/* ===================== HERO ===================== */
.hero { background: #f5f6f8; padding: 80px 60px; }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; max-width: 1100px; margin: 0 auto; }
.hero-tag { display: inline-block; background: #eaf0fb; color: #2563eb; font-size: 11px; font-weight: 700; letter-spacing: 1px; padding: 6px 14px; border-radius: 20px; margin-bottom: 20px; text-transform: uppercase; }
.hero-h1 { font-size: 42px; font-weight: 800; color: #0f172a; line-height: 1.2; margin-bottom: 20px; }
.hero-h1 span { color: #2563eb; }
.hero-sub { font-size: 16px; color: #64748b; line-height: 1.7; margin-bottom: 36px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.btn-p { background: #2563eb; color: #fff; padding: 14px 28px; border-radius: 8px; font-weight: 700; font-size: 14px; text-decoration: none; display: inline-block; transition: background 0.2s; }
.btn-p:hover { background: #1d4ed8; color: #fff; }
.btn-o { background: #fff; color: #2563eb; border: 2px solid #2563eb; padding: 12px 28px; border-radius: 8px; font-weight: 700; font-size: 14px; text-decoration: none; display: inline-block; }
.hero-stats { display: flex; gap: 32px; padding-top: 32px; border-top: 1px solid #e2e8f0; flex-wrap: wrap; }
.hero-stat strong { display: block; font-size: 20px; font-weight: 800; color: #0f172a; }
.hero-stat span { font-size: 12px; color: #94a3b8; }
.hero-right { position: relative; display: flex; justify-content: center; }
.photo-frame { width: 100%; max-width: 380px; aspect-ratio: 4/5; background: #e2e8f0; border-radius: 20px; overflow: hidden; position: relative; border: 4px solid #fff; box-shadow: 0 8px 40px rgba(37,99,235,0.10); }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.photo-badge { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); background: #fff; border-radius: 12px; padding: 12px 20px; display: flex; gap: 20px; white-space: nowrap; box-shadow: 0 4px 20px rgba(0,0,0,0.10); }
.photo-badge-item { text-align: center; }
.photo-badge-item strong { display: block; font-size: 14px; font-weight: 800; color: #0f172a; }
.photo-badge-item span { font-size: 11px; color: #94a3b8; }
.deco-dot { width: 60px; height: 60px; border-radius: 50%; background: #dbeafe; position: absolute; top: -16px; right: -16px; z-index: 0; }
.deco-dot2 { width: 36px; height: 36px; border-radius: 50%; background: #bfdbfe; position: absolute; bottom: 80px; left: -20px; }

/* ===================== TRENDS ===================== */
.trends { background: #fff; padding: 80px 60px; }
.trends-inner { max-width: 1100px; margin: 0 auto; }
.trends-top { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; flex-wrap: wrap; gap: 16px; }
.trends-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; margin-bottom: 36px; }
.trend-card { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 16px; padding: 32px 28px; position: relative; overflow: hidden; }
.trend-card::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: #2563eb; border-radius: 4px 0 0 4px; }
.trend-num { font-size: 48px; font-weight: 900; color: #eaf0fb; position: absolute; top: 16px; right: 20px; line-height: 1; }
.trend-card h4 { color: #0f172a; font-size: 15px; font-weight: 700; margin-bottom: 14px; line-height: 1.4; padding-right: 40px; }
.trend-card p { color: #64748b; font-size: 13px; line-height: 1.7; font-style: italic; border-left: 3px solid #bfdbfe; padding-left: 12px; margin: 0; }
.trends-note { background: #f0f7ff; border: 1px solid #bfdbfe; border-radius: 12px; padding: 18px 24px; }
.trends-note p { color: #0f172a; font-size: 14px; margin: 0; }
.trends-note a { color: #2563eb; font-weight: 700; text-decoration: none; }

/* ===================== OUTCOMES ===================== */
.outcomes { background: #f5f6f8; padding: 80px 60px; }
.outcomes-inner { max-width: 1100px; margin: 0 auto; }
.outcomes-top { text-align: center; margin-bottom: 52px; }
.outcomes-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.outcome-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 32px 28px; display: flex; flex-direction: column; gap: 14px; position: relative; overflow: hidden; }
.outcome-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: #e2e8f0; transition: background 0.2s; }
.outcome-card:hover::after { background: #2563eb; }
.outcome-icon { width: 44px; height: 44px; background: #eaf0fb; border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.outcome-icon svg { width: 22px; height: 22px; fill: #2563eb; }
.outcome-card h4 { color: #0f172a; font-size: 15px; font-weight: 700; line-height: 1.4; margin: 0; }
.outcome-card p { color: #64748b; font-size: 13px; line-height: 1.7; flex: 1; margin: 0; }
.outcome-link { color: #2563eb; font-size: 13px; font-weight: 700; text-decoration: none; }
.outcome-link::after { content: ' →'; }

/* ===================== COMPARISON ===================== */
.cmp { background: #fff; padding: 80px 60px; }
.cmp-inner { max-width: 1100px; margin: 0 auto; }
.cmp-top { text-align: center; margin-bottom: 52px; }
.cmp-grid { display: grid; grid-template-columns: 1fr 80px 1fr; align-items: stretch; margin-bottom: 36px; }
.cmp-panel { border-radius: 16px; padding: 0 32px 36px; }
.cmp-panel.left { background: #f8fafc; border: 1px solid #e2e8f0; }
.cmp-panel.right { background: #f0f7ff; border: 2px solid #2563eb; }
.cmp-badge-wrap { text-align: center; }
.cmp-badge { display: inline-block; padding: 10px 28px; border-radius: 30px; font-weight: 700; font-size: 13px; position: relative; top: -18px; white-space: nowrap; }
.cmp-badge.gray { background: #e2e8f0; color: #475569; }
.cmp-badge.blue { background: #2563eb; color: #fff; }
.cmp-item { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-bottom: 1px solid #e2e8f0; }
.cmp-item:last-child { border-bottom: none; }
.cmp-panel.right .cmp-item { border-bottom-color: #bfdbfe; }
.cmp-dot { width: 8px; height: 8px; border-radius: 50%; margin-top: 6px; flex-shrink: 0; }
.cmp-dot.gray { background: #94a3b8; }
.cmp-dot.blue { background: #2563eb; }
.cmp-item p { font-size: 14px; line-height: 1.6; margin: 0; }
.cmp-item p.gray { color: #94a3b8; }
.cmp-item p.blue { color: #0f172a; font-weight: 500; }
.cmp-middle { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.cmp-line { flex: 1; width: 1px; background: #e2e8f0; }
.cmp-vs { width: 40px; height: 40px; border-radius: 50%; background: #0f172a; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 12px; font-weight: 800; flex-shrink: 0; }
.cmp-quote { background: #f0f7ff; border: 1px solid #bfdbfe; border-radius: 12px; padding: 20px 28px; text-align: center; }
.cmp-quote p { color: #0f172a; font-size: 15px; font-style: italic; font-weight: 600; margin: 0; }
.cmp-quote p span { color: #2563eb; }

/* ===================== BRANDS ===================== */
.brands { background: #f5f6f8; padding: 80px 60px; }
.brands-inner { max-width: 1100px; margin: 0 auto; }
.brands-top { text-align: center; margin-bottom: 52px; }
.brands-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.brand-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 28px 20px; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; transition: border-color 0.2s, box-shadow 0.2s; }
.brand-card:hover { border-color: #2563eb; box-shadow: 0 4px 20px rgba(37,99,235,0.08); }
.brand-logo-wrap { height: 48px; display: flex; align-items: center; justify-content: center; }
.brand-logo { max-height: 48px; max-width: 140px; object-fit: contain; }
.brand-card h4 { color: #0f172a; font-size: 13px; font-weight: 700; margin: 0; }

/* ===================== TESTIMONIALS ===================== */
.testi { background: #fff; padding: 80px 60px; }
.testi-inner { max-width: 1100px; margin: 0 auto; }
.testi-top { text-align: center; margin-bottom: 52px; }
.testi-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; margin-bottom: 48px; }
.testi-card { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 16px; padding: 32px 28px; display: flex; flex-direction: column; gap: 16px; }
.testi-stars { color: #f59e0b; font-size: 15px; letter-spacing: 2px; }
.testi-text { color: #475569; font-size: 14px; line-height: 1.8; font-style: italic; flex: 1; border-left: 3px solid #bfdbfe; padding-left: 14px; margin: 0; }
.testi-author { display: flex; align-items: center; gap: 14px; padding-top: 16px; border-top: 1px solid #e2e8f0; }
.testi-avatar { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; flex-shrink: 0; border: 2px solid #eaf0fb; }
.testi-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testi-avatar-initials { width: 48px; height: 48px; border-radius: 50%; background: #eaf0fb; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; color: #2563eb; flex-shrink: 0; }
.testi-name { font-size: 14px; font-weight: 700; color: #0f172a; margin: 0 0 2px; }
.testi-role { font-size: 12px; color: #94a3b8; margin: 0; }
.testi-cta { text-align: center; }
.testi-cta-btn { display: inline-block; border: 2px solid #2563eb; color: #2563eb; background: #fff; padding: 14px 36px; border-radius: 8px; font-weight: 700; font-size: 15px; text-decoration: none; }
.testi-cta-btn:hover { background: #2563eb; color: #fff; }

/* ===================== TEAM ===================== */
.team { background: #f5f6f8; padding: 80px 60px; }
.team-inner { max-width: 1100px; margin: 0 auto; }
.team-top { text-align: center; margin-bottom: 52px; }
.team-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.team-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 36px 24px 28px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.team-avatar-link { text-decoration: none; }
.team-avatar { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; border: 3px solid #eaf0fb; margin-bottom: 18px; background: #eaf0fb; display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 700; color: #2563eb; }
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-name { font-size: 17px; font-weight: 800; color: #0f172a; margin-bottom: 4px; }
.team-role { font-size: 13px; color: #2563eb; font-weight: 600; margin-bottom: 10px; }
.team-exp { font-size: 12px; color: #94a3b8; background: #f1f5f9; padding: 4px 12px; border-radius: 20px; display: inline-block; }

/* ===================== FOOTER ===================== */
.footer { background: #0f172a; padding: 64px 60px 0; }
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid #1e293b; }
.footer-brand p { color: #64748b; font-size: 14px; line-height: 1.8; margin: 16px 0 24px; max-width: 280px; }
.footer-logo { font-size: 22px; font-weight: 800; color: #fff; }
.footer-logo span { color: #2563eb; }
.footer-social { display: flex; gap: 10px; }
.social-btn { width: 38px; height: 38px; border-radius: 8px; background: #1e293b; display: flex; align-items: center; justify-content: center; text-decoration: none; transition: background 0.2s; }
.social-btn:hover { background: #2563eb; }
.social-btn svg { width: 16px; height: 16px; fill: #94a3b8; transition: fill 0.2s; }
.social-btn:hover svg { fill: #fff; }
.footer-col h4 { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 20px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; padding: 0; }
.footer-col ul li a { color: #64748b; font-size: 14px; text-decoration: none; transition: color 0.2s; }
.footer-col ul li a:hover { color: #2563eb; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 24px 0; flex-wrap: wrap; gap: 12px; }
.footer-copy { color: #475569; font-size: 13px; margin: 0; }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { color: #475569; font-size: 13px; text-decoration: none; }
.footer-bottom-links a:hover { color: #2563eb; }

/* ===================== BLOG LISTING ===================== */
.blog-header { background: #f5f6f8; padding: 60px 60px 0; }
.blog-header-inner { max-width: 1100px; margin: 0 auto; text-align: center; padding-bottom: 48px; border-bottom: 1px solid #e2e8f0; }
.blog-tag { display: inline-block; background: #eaf0fb; color: #2563eb; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; padding: 6px 14px; border-radius: 20px; margin-bottom: 16px; text-transform: uppercase; }
.blog-header h1 { font-size: 42px; font-weight: 800; color: #0f172a; margin-bottom: 14px; line-height: 1.2; }
.blog-header h1 span { color: #2563eb; }
.blog-header p { color: #64748b; font-size: 16px; max-width: 520px; margin: 0 auto 28px; line-height: 1.7; }
.blog-search { display: flex; max-width: 440px; margin: 0 auto; }
.blog-search input { flex: 1; border: 1px solid #e2e8f0; border-right: none; border-radius: 8px 0 0 8px; padding: 12px 18px; font-size: 14px; font-family: inherit; outline: none; color: #0f172a; }
.blog-search button { background: #2563eb; color: #fff; border: none; padding: 12px 20px; border-radius: 0 8px 8px 0; font-size: 14px; font-weight: 700; cursor: pointer; font-family: inherit; }
.blog-cats { background: #fff; border-bottom: 1px solid #e2e8f0; padding: 0 60px; }
.blog-cats-inner { max-width: 1100px; margin: 0 auto; display: flex; gap: 4px; overflow-x: auto; padding: 16px 0; }
.blog-cats a { color: #64748b; font-size: 13px; font-weight: 500; text-decoration: none; padding: 7px 16px; border-radius: 20px; white-space: nowrap; border: 1px solid transparent; }
.blog-cats a:hover, .blog-cats a.active { color: #2563eb; background: #f0f7ff; border-color: #bfdbfe; font-weight: 700; }
.blog-main { background: #f5f6f8; padding: 60px 60px; }
.blog-main-inner { max-width: 1100px; margin: 0 auto; }
.featured-label { font-size: 11px; font-weight: 700; color: #94a3b8; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 20px; }
.featured-card { background: #fff; border-radius: 20px; border: 1px solid #e2e8f0; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 48px; }
.featured-img { background: linear-gradient(135deg,#1e3a5f,#2563eb); min-height: 340px; position: relative; overflow: hidden; }
.feat-cat { position: absolute; top: 20px; left: 20px; background: #2563eb; color: #fff; font-size: 11px; font-weight: 700; padding: 5px 12px; border-radius: 20px; }
.featured-body { padding: 40px 36px; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.featured-body .cat-tag { display: inline-block; background: #eaf0fb; color: #2563eb; font-size: 11px; font-weight: 700; padding: 5px 12px; border-radius: 20px; width: fit-content; }
.featured-body h2 { font-size: 24px; font-weight: 800; color: #0f172a; line-height: 1.3; }
.featured-body p { color: #64748b; font-size: 14px; line-height: 1.7; margin: 0; }
.featured-meta { display: flex; align-items: center; gap: 12px; }
.meta-avatar { width: 36px; height: 36px; border-radius: 50%; background: #eaf0fb; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: #2563eb; flex-shrink: 0; }
.meta-info .meta-name { font-size: 13px; font-weight: 700; color: #0f172a; margin: 0; }
.meta-info .meta-date { font-size: 12px; color: #94a3b8; margin: 0; }
.read-more { display: inline-flex; align-items: center; gap: 6px; color: #2563eb; font-size: 14px; font-weight: 700; text-decoration: none; margin-top: 4px; }
.read-more::after { content: ' →'; }
.blog-sidebar-wrap { display: grid; grid-template-columns: 1fr 300px; gap: 32px; margin-bottom: 48px; }
.grid-label { font-size: 11px; font-weight: 700; color: #94a3b8; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 20px; display: flex; align-items: center; justify-content: space-between; }
.grid-label a { color: #2563eb; font-size: 12px; text-decoration: none; }
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-bottom: 36px; }
.blog-card { background: #fff; border-radius: 16px; border: 1px solid #e2e8f0; overflow: hidden; display: flex; flex-direction: column; }
.blog-card-img { height: 180px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.blog-card-img.blue { background: linear-gradient(135deg,#1e3a5f,#2563eb); }
.blog-card-img.teal { background: linear-gradient(135deg,#0f4c75,#1b9aaa); }
.blog-card-img.purple { background: linear-gradient(135deg,#3b0764,#7c3aed); }
.blog-card-img.green { background: linear-gradient(135deg,#064e3b,#059669); }
.blog-card-img.orange { background: linear-gradient(135deg,#7c2d12,#ea580c); }
.blog-card-img.pink { background: linear-gradient(135deg,#500724,#db2777); }
.card-cat { position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,0.95); color: #2563eb; font-size: 10px; font-weight: 700; padding: 4px 10px; border-radius: 20px; }
.blog-card-body { padding: 22px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.blog-card-body h3 { font-size: 15px; font-weight: 700; color: #0f172a; line-height: 1.4; }
.blog-card-body p { color: #64748b; font-size: 13px; line-height: 1.6; flex: 1; margin: 0; }
.card-meta { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px solid #f1f5f9; }
.card-meta-left { display: flex; align-items: center; gap: 8px; }
.card-avatar { width: 28px; height: 28px; border-radius: 50%; background: #eaf0fb; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; color: #2563eb; }
.card-meta-left span { font-size: 12px; color: #64748b; }
.card-date { font-size: 11px; color: #94a3b8; }
.sidebar-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 24px; margin-bottom: 20px; }
.sidebar-card h4 { font-size: 14px; font-weight: 700; color: #0f172a; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid #f1f5f9; }
.sidebar-tag { display: inline-block; background: #f1f5f9; color: #475569; font-size: 12px; font-weight: 500; padding: 6px 12px; border-radius: 20px; margin: 4px; text-decoration: none; }
.sidebar-tag:hover { background: #eaf0fb; color: #2563eb; }
.popular-item { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid #f8fafc; }
.popular-item:last-child { border-bottom: none; }
.popular-num { font-size: 22px; font-weight: 900; color: #eaf0fb; flex-shrink: 0; line-height: 1; margin-top: 2px; }
.popular-title { font-size: 13px; font-weight: 600; color: #0f172a; line-height: 1.4; margin-bottom: 4px; }
.popular-date { font-size: 11px; color: #94a3b8; margin: 0; }
.pagination { display: flex; justify-content: center; gap: 8px; padding-bottom: 20px; }
.pagination .page-numbers { width: 40px; height: 40px; border-radius: 8px; border: 1px solid #e2e8f0; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; color: #475569; text-decoration: none; }
.pagination .current { background: #2563eb; color: #fff; border-color: #2563eb; }
.newsletter { background: #0f172a; padding: 60px; }
.newsletter-inner { max-width: 600px; margin: 0 auto; text-align: center; }
.newsletter h3 { font-size: 28px; font-weight: 800; color: #fff; margin-bottom: 10px; }
.newsletter h3 span { color: #60a5fa; }
.newsletter p { color: #64748b; font-size: 15px; margin-bottom: 28px; }
.nl-form { display: flex; max-width: 440px; margin: 0 auto; }
.nl-form input { flex: 1; border: 1px solid #1e293b; border-right: none; border-radius: 8px 0 0 8px; padding: 13px 18px; font-size: 14px; background: #1e293b; color: #fff; font-family: inherit; outline: none; }
.nl-form input::placeholder { color: #475569; }
.nl-form button { background: #2563eb; color: #fff; border: none; padding: 13px 22px; border-radius: 0 8px 8px 0; font-size: 14px; font-weight: 700; cursor: pointer; font-family: inherit; }

/* ===================== SINGLE POST ===================== */
.post-hero { background: #f5f6f8; padding: 52px 60px 0; }
.post-hero-inner { max-width: 1100px; margin: 0 auto; }
.post-breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #94a3b8; margin-bottom: 20px; }
.post-breadcrumb a { color: #2563eb; text-decoration: none; }
.post-breadcrumb span { color: #cbd5e1; }
.post-cat { display: inline-block; background: #eaf0fb; color: #2563eb; font-size: 11px; font-weight: 700; padding: 5px 14px; border-radius: 20px; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 1px; }
.post-title { font-size: 38px; font-weight: 800; color: #0f172a; line-height: 1.25; max-width: 780px; margin-bottom: 20px; }
.post-meta-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding-bottom: 32px; }
.post-meta-author { display: flex; align-items: center; gap: 10px; }
.post-meta-avatar { width: 38px; height: 38px; border-radius: 50%; background: #eaf0fb; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: #2563eb; flex-shrink: 0; overflow: hidden; }
.post-meta-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.post-meta-name { font-size: 13px; font-weight: 700; color: #0f172a; }
.post-meta-name span { font-weight: 400; color: #94a3b8; }
.post-meta-sep { color: #e2e8f0; }
.post-meta-item { font-size: 13px; color: #64748b; }
.post-cover { width: 100%; height: 360px; background: linear-gradient(135deg,#1e3a5f,#2563eb); border-radius: 16px 16px 0 0; display: flex; align-items: center; justify-content: center; margin-top: 8px; overflow: hidden; }
.post-cover svg { width: 72px; height: 72px; fill: rgba(255,255,255,0.15); }
.post-body { background: #fff; padding: 0 60px 60px; }
.post-body-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 280px; gap: 48px; padding-top: 48px; }
.post-content h2 { font-size: 24px; font-weight: 800; color: #0f172a; margin: 40px 0 16px; line-height: 1.3; scroll-margin-top: 90px; }
.post-content h3 { font-size: 18px; font-weight: 700; color: #0f172a; margin: 28px 0 12px; line-height: 1.4; scroll-margin-top: 90px; }
.post-content p { font-size: 15px; color: #475569; line-height: 1.8; margin-bottom: 18px; }
.post-content ul, .post-content ol { margin: 0 0 18px 20px; display: flex; flex-direction: column; gap: 8px; }
.post-content li { font-size: 15px; color: #475569; line-height: 1.7; }
.post-content strong { color: #0f172a; font-weight: 700; }
.post-content a { color: #2563eb; font-weight: 500; }
.post-content blockquote { background: #f0f7ff; border-left: 4px solid #2563eb; padding: 18px 22px; border-radius: 0 10px 10px 0; margin: 24px 0; font-size: 15px; color: #1e40af; font-style: italic; font-weight: 500; line-height: 1.7; }
.post-content img { border-radius: 12px; margin: 20px 0; }
.post-divider { border: none; border-top: 1px solid #f1f5f9; margin: 36px 0; }
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0 0; }
.post-tag { background: #f1f5f9; color: #475569; font-size: 12px; font-weight: 500; padding: 6px 14px; border-radius: 20px; text-decoration: none; }
.post-tag:hover { background: #eaf0fb; color: #2563eb; }
.toc-wrap { position: sticky; top: 90px; align-self: start; }
.toc-card { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 14px; padding: 22px 20px; }
.toc-title { font-size: 12px; font-weight: 700; color: #0f172a; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.toc-title svg { width: 14px; height: 14px; fill: #2563eb; }
.toc-list { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.toc-list li a { font-size: 13px; color: #64748b; text-decoration: none; display: block; padding: 5px 10px; border-radius: 6px; border-left: 2px solid transparent; line-height: 1.4; }
.toc-list li a:hover, .toc-list li a.active { color: #2563eb; background: #f0f7ff; border-left-color: #2563eb; }
.toc-list li.h3-item a { padding-left: 20px; font-size: 12px; }
.toc-share-label { font-size: 11px; font-weight: 700; color: #94a3b8; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 10px; }
.share-btns { display: flex; gap: 8px; }
.share-btn { width: 34px; height: 34px; border-radius: 8px; background: #f1f5f9; display: flex; align-items: center; justify-content: center; text-decoration: none; }
.share-btn:hover { background: #eaf0fb; }
.share-btn svg { width: 15px; height: 15px; fill: #475569; }
.author-bio { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 14px; padding: 22px 24px; margin-top: 40px; display: flex; gap: 18px; align-items: flex-start; text-decoration: none; transition: border-color 0.2s, background 0.2s; }
.author-bio:hover { border-color: #2563eb; background: #f0f7ff; }
.author-bio-avatar { width: 56px; height: 56px; border-radius: 50%; border: 2px solid #eaf0fb; flex-shrink: 0; overflow: hidden; background: #eaf0fb; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 700; color: #2563eb; }
.author-bio-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.author-bio-name { font-size: 15px; font-weight: 800; color: #0f172a; margin-bottom: 2px; }
.author-bio-role { font-size: 12px; color: #2563eb; font-weight: 600; margin-bottom: 8px; }
.author-bio-text { font-size: 13px; color: #64748b; line-height: 1.7; margin: 0; }
.author-bio-links { display: flex; align-items: center; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.author-bio-link { width: 28px; height: 28px; border-radius: 6px; background: #e2e8f0; display: flex; align-items: center; justify-content: center; text-decoration: none; }
.author-bio-link:hover { background: #2563eb; }
.author-bio-link:hover svg { fill: #fff; }
.author-bio-link svg { width: 13px; height: 13px; fill: #64748b; }
.author-bio-cta { font-size: 12px; color: #2563eb; font-weight: 700; }
.related { background: #f5f6f8; padding: 52px 60px; }
.related-inner { max-width: 1100px; margin: 0 auto; }
.related h3 { font-size: 22px; font-weight: 800; color: #0f172a; margin-bottom: 24px; }
.related-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.related-card { background: #fff; border-radius: 14px; border: 1px solid #e2e8f0; overflow: hidden; transition: border-color 0.2s; }
.related-card:hover { border-color: #2563eb; }
.related-card-img { height: 140px; overflow: hidden; }
.related-card-img.blue { background: linear-gradient(135deg,#1e3a5f,#2563eb); }
.related-card-img.teal { background: linear-gradient(135deg,#0f4c75,#1b9aaa); }
.related-card-img.purple { background: linear-gradient(135deg,#3b0764,#7c3aed); }
.related-card-img.green { background: linear-gradient(135deg,#064e3b,#059669); }
.related-card-img.orange { background: linear-gradient(135deg,#7c2d12,#ea580c); }
.related-card-img.pink { background: linear-gradient(135deg,#500724,#db2777); }
.related-card-img img { width: 100%; height: 100%; object-fit: cover; }
.related-card-body { padding: 18px 16px; }
.rc-cat { font-size: 10px; font-weight: 700; color: #2563eb; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.related-card-body h4 { font-size: 14px; font-weight: 700; color: #0f172a; line-height: 1.4; margin-bottom: 8px; }
.related-card-body a { font-size: 12px; color: #2563eb; font-weight: 700; text-decoration: none; }

/* ===================== AUTHOR PAGE ===================== */
.author-hero { background: linear-gradient(160deg,#0f172a 0%,#1e3a5f 100%); padding: 60px 60px 0; }
.author-hero-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: end; }
.author-avatar-wrap { position: relative; padding-bottom: 32px; }
.author-avatar { width: 120px; height: 120px; border-radius: 50%; border: 4px solid #2563eb; overflow: hidden; background: #1e293b; display: flex; align-items: center; justify-content: center; font-size: 36px; font-weight: 800; color: #60a5fa; }
.author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-verified { position: absolute; bottom: 36px; right: 4px; width: 28px; height: 28px; background: #2563eb; border-radius: 50%; border: 2px solid #0f172a; display: flex; align-items: center; justify-content: center; }
.author-verified svg { width: 14px; height: 14px; fill: #fff; }
.author-hero-info { padding-bottom: 32px; }
.author-role-tag { display: inline-block; background: rgba(37,99,235,0.3); color: #93c5fd; font-size: 11px; font-weight: 700; padding: 5px 12px; border-radius: 20px; margin-bottom: 12px; letter-spacing: 1px; text-transform: uppercase; }
.author-hero-name { font-size: 36px; font-weight: 800; color: #fff; margin-bottom: 6px; }
.author-hero-title { font-size: 15px; color: #94a3b8; margin-bottom: 8px; }
.author-hero-tagline { font-size: 14px; color: #64748b; margin-bottom: 20px; }
.author-social { display: flex; gap: 8px; }
.author-social-btn { width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; text-decoration: none; transition: background 0.2s; }
.author-social-btn:hover { background: #2563eb; border-color: #2563eb; }
.author-social-btn svg { width: 15px; height: 15px; fill: #94a3b8; }
.author-social-btn:hover svg { fill: #fff; }
.author-stats-bar { background: #1e293b; border-top: 1px solid rgba(255,255,255,0.06); }
.author-stats-bar-inner { max-width: 1100px; margin: 0 auto; display: flex; }
.author-stat { flex: 1; padding: 20px 24px; border-right: 1px solid rgba(255,255,255,0.06); text-align: center; }
.author-stat:last-child { border-right: none; }
.author-stat strong { display: block; font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 2px; }
.author-stat span { font-size: 12px; color: #64748b; }
.author-main { background: #f5f6f8; padding: 52px 60px; }
.author-main-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 300px; gap: 36px; }
.author-section { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 28px; margin-bottom: 24px; }
.author-section-title { font-size: 12px; font-weight: 700; color: #94a3b8; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }
.author-section-title svg { width: 14px; height: 14px; fill: #2563eb; }
.author-bio-full { font-size: 15px; color: #475569; line-height: 1.8; }
.author-bio-full p { margin-bottom: 14px; }
.expertise-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.expertise-pill { background: #f0f7ff; border: 1px solid #bfdbfe; color: #1e40af; font-size: 13px; font-weight: 600; padding: 8px 16px; border-radius: 20px; }
.articles-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.article-card { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; padding: 18px; display: flex; flex-direction: column; gap: 10px; text-decoration: none; transition: border-color 0.2s; }
.article-card:hover { border-color: #2563eb; background: #f0f7ff; }
.article-card-cat { font-size: 10px; font-weight: 700; color: #2563eb; text-transform: uppercase; letter-spacing: 1px; }
.article-card-title { font-size: 14px; font-weight: 700; color: #0f172a; line-height: 1.4; margin: 0; }
.article-card-meta { font-size: 12px; color: #94a3b8; display: flex; gap: 12px; }
.sidebar-section { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 24px; margin-bottom: 20px; }
.sidebar-title { font-size: 12px; font-weight: 700; color: #94a3b8; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 16px; }
.contact-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid #f8fafc; }
.contact-item:last-child { border-bottom: none; }
.contact-icon { width: 34px; height: 34px; border-radius: 8px; background: #f0f7ff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-icon svg { width: 15px; height: 15px; fill: #2563eb; }
.contact-label { font-size: 11px; color: #94a3b8; margin-bottom: 1px; }
.contact-value { font-size: 13px; font-weight: 600; color: #0f172a; }
.featured-stat { text-align: center; padding: 16px 0; border-bottom: 1px solid #f8fafc; }
.featured-stat:last-child { border-bottom: none; }
.featured-stat strong { display: block; font-size: 26px; font-weight: 800; color: #0f172a; margin-bottom: 2px; }
.featured-stat span { font-size: 12px; color: #64748b; }
.featured-stat strong em { color: #2563eb; font-style: normal; }
.topic-tag { display: inline-block; background: #f1f5f9; color: #475569; font-size: 12px; font-weight: 500; padding: 6px 12px; border-radius: 20px; margin: 4px; text-decoration: none; }
.topic-tag:hover { background: #eaf0fb; color: #2563eb; }
.author-cta { background: linear-gradient(135deg,#1e3a5f,#2563eb); border-radius: 16px; padding: 28px; text-align: center; margin-bottom: 20px; }
.author-cta h4 { color: #fff; font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.author-cta p { color: #93c5fd; font-size: 13px; margin-bottom: 20px; line-height: 1.6; }
.author-cta a { background: #fff; color: #2563eb; font-size: 13px; font-weight: 700; padding: 10px 20px; border-radius: 8px; text-decoration: none; display: inline-block; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
    .outcomes-grid { grid-template-columns: repeat(2,1fr); }
    .blog-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
    .nav { padding: 0 24px; }
    .nav-links, .nav-cta { display: none; }
    .nav-hamburger { display: flex; }
    .nav-mobile.open { display: flex; }
    .hero, .trends, .outcomes, .cmp, .brands, .testi, .team, .footer, .blog-header, .blog-cats, .blog-main, .newsletter, .post-hero, .post-body, .related, .author-hero, .author-main { padding-left: 24px; padding-right: 24px; }
    .hero-inner { grid-template-columns: 1fr; }
    .hero-right { margin-top: 32px; }
    .hero-h1 { font-size: 30px; }
    .trends-grid { grid-template-columns: 1fr; }
    .outcomes-grid { grid-template-columns: 1fr; }
    .cmp-grid { grid-template-columns: 1fr; }
    .cmp-middle { flex-direction: row; padding: 12px 0; }
    .cmp-line { flex: 1; height: 1px; width: auto; }
    .brands-grid { grid-template-columns: repeat(2,1fr); }
    .testi-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .featured-card { grid-template-columns: 1fr; }
    .featured-img { min-height: 200px; }
    .blog-sidebar-wrap { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
    .post-body-inner { grid-template-columns: 1fr; }
    .toc-wrap { position: static; }
    .post-title { font-size: 26px; }
    .related-grid { grid-template-columns: 1fr; }
    .author-hero-inner { grid-template-columns: 1fr; }
    .author-main-inner { grid-template-columns: 1fr; }
    .articles-grid { grid-template-columns: 1fr; }
    .author-stats-bar-inner { flex-wrap: wrap; }
    .author-stat { min-width: 50%; }
    .sec-h2 { font-size: 28px; }
}
@media (max-width: 480px) {
    .footer-top { grid-template-columns: 1fr; }
    .brands-grid { grid-template-columns: 1fr 1fr; }
}

/* ===================== CASE STUDIES LISTING ===================== */
.cs-header { background: #f5f6f8; padding: 60px 60px 52px; text-align: center; }
.cs-header-inner { max-width: 700px; margin: 0 auto; }
.cs-header h1 { font-size: 40px; font-weight: 800; color: #0f172a; line-height: 1.2; margin-bottom: 16px; }
.cs-header h1 span { color: #2563eb; }
.cs-header p { color: #64748b; font-size: 16px; line-height: 1.7; margin: 0; }
.cs-stats-bar { background: #0f172a; padding: 0 60px; }
.cs-stats-inner { max-width: 1100px; margin: 0 auto; display: flex; }
.cs-stat { flex: 1; padding: 24px; border-right: 1px solid rgba(255,255,255,0.06); text-align: center; }
.cs-stat:last-child { border-right: none; }
.cs-stat strong { display: block; font-size: 26px; font-weight: 800; color: #fff; margin-bottom: 4px; }
.cs-stat span { font-size: 12px; color: #64748b; }
.cs-cats { background: #fff; border-bottom: 1px solid #e2e8f0; padding: 0 60px; }
.cs-cats-inner { max-width: 1100px; margin: 0 auto; display: flex; gap: 4px; padding: 16px 0; overflow-x: auto; }
.cs-cats a { color: #64748b; font-size: 13px; font-weight: 500; text-decoration: none; padding: 7px 18px; border-radius: 20px; white-space: nowrap; border: 1px solid transparent; }
.cs-cats a:hover, .cs-cats a.active { color: #2563eb; background: #f0f7ff; border-color: #bfdbfe; font-weight: 700; }
.cs-main { background: #f5f6f8; padding: 52px 60px; }
.cs-main-inner { max-width: 1100px; margin: 0 auto; }
.cs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cs-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; transition: border-color 0.2s, box-shadow 0.2s; }
.cs-card:hover { border-color: #2563eb; box-shadow: 0 4px 24px rgba(37,99,235,0.08); }
.cs-card-top { height: 200px; position: relative; overflow: hidden; background: linear-gradient(135deg, #1e3a5f, #2563eb); display: flex; align-items: center; justify-content: center; }
.cs-card-top.has-img img { width: 100%; height: 100%; object-fit: cover; }
.cs-card-icon svg { width: 48px; height: 48px; fill: rgba(255,255,255,0.2); }
.cs-card-cat { position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,0.95); color: #2563eb; font-size: 10px; font-weight: 700; padding: 4px 10px; border-radius: 20px; letter-spacing: 0.5px; }
.cs-card-body { padding: 24px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.cs-card-body h3 { font-size: 15px; font-weight: 700; color: #0f172a; line-height: 1.4; margin: 0; }
.cs-card-body p { color: #64748b; font-size: 13px; line-height: 1.6; flex: 1; margin: 0; }
.cs-card-meta { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px solid #f1f5f9; }
.cs-card-author { display: flex; align-items: center; gap: 8px; }
.cs-author-avatar { width: 26px; height: 26px; border-radius: 50%; background: #eaf0fb; display: flex; align-items: center; justify-content: center; font-size: 9px; font-weight: 700; color: #2563eb; }
.cs-card-author span { font-size: 12px; color: #64748b; }
.cs-card-date { font-size: 11px; color: #94a3b8; }
.cs-card-cta { font-size: 13px; font-weight: 700; color: #2563eb; }
.cs-cta-strip { background: #2563eb; padding: 52px 60px; text-align: center; }
.cs-cta-inner { max-width: 600px; margin: 0 auto; }
.cs-cta-strip h3 { font-size: 28px; font-weight: 800; color: #fff; margin-bottom: 10px; }
.cs-cta-strip p { color: #bfdbfe; font-size: 15px; margin-bottom: 28px; }
.cs-cta-strip a { background: #fff; color: #2563eb; font-size: 14px; font-weight: 700; padding: 13px 32px; border-radius: 8px; text-decoration: none; display: inline-block; }

/* ===================== CASE STUDY SINGLE ===================== */
.cs-post-hero { background: #f5f6f8; padding: 52px 60px 40px; }
.cs-post-hero-inner { max-width: 1100px; margin: 0 auto; }
.cs-post-intro { background: #f0f7ff; border-left: 4px solid #2563eb; padding: 16px 20px; border-radius: 0 10px 10px 0; font-size: 15px; color: #1e40af; line-height: 1.7; margin-top: 20px; font-style: italic; }

/* ===================== CASE STUDY SIDEBAR CTA ===================== */
.cs-sidebar-cta { background: linear-gradient(135deg, #1e3a5f, #2563eb); border-radius: 14px; padding: 24px 20px; text-align: center; margin-top: 16px; }
.cs-sidebar-cta-label { font-size: 10px; font-weight: 700; color: #93c5fd; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 8px; }
.cs-sidebar-cta h4 { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 10px; line-height: 1.4; }
.cs-sidebar-cta p { font-size: 13px; color: #93c5fd; line-height: 1.6; margin-bottom: 18px; }
.cs-sidebar-cta a { background: #fff; color: #2563eb; font-size: 13px; font-weight: 700; padding: 10px 20px; border-radius: 8px; text-decoration: none; display: inline-block; }

/* ===================== CASE STUDIES RESPONSIVE ===================== */
@media (max-width: 1024px) { .cs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) {
    .cs-header, .cs-cats, .cs-main, .cs-cta-strip, .cs-post-hero { padding-left: 24px; padding-right: 24px; }
    .cs-stats-bar { padding: 0 24px; }
    .cs-stats-inner { flex-wrap: wrap; }
    .cs-stat { min-width: 50%; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); }
    .cs-grid { grid-template-columns: 1fr; }
    .cs-header h1 { font-size: 28px; }
}

/* ===================== CONTACT PAGE ===================== */
.contact-hero { background: #f5f6f8; padding: 60px 60px 52px; text-align: center; }
.contact-hero-inner { max-width: 600px; margin: 0 auto; }
.contact-hero h1 { font-size: 38px; font-weight: 800; color: #0f172a; line-height: 1.2; margin-bottom: 14px; }
.contact-hero h1 span { color: #2563eb; }
.contact-hero p { color: #64748b; font-size: 16px; margin: 0; }
.contact-main { background: #fff; padding: 52px 60px 60px; }
.contact-main-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
.contact-form-card { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 20px; padding: 40px 36px; }
.contact-form-card h2 { font-size: 22px; font-weight: 800; color: #0f172a; margin-bottom: 6px; }
.contact-form-sub { color: #64748b; font-size: 14px; margin-bottom: 28px; }
.contact-errors { background: #fef2f2; border: 1px solid #fecaca; border-radius: 10px; padding: 14px 18px; margin-bottom: 20px; }
.contact-errors p { color: #dc2626; font-size: 13px; margin: 0; line-height: 1.6; }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cf-field { display: flex; flex-direction: column; gap: 6px; }
.cf-field label { font-size: 13px; font-weight: 600; color: #0f172a; }
.cf-required { color: #ef4444; margin-left: 2px; }
.cf-optional { color: #94a3b8; font-weight: 400; font-size: 12px; }
.cf-field input { border: 1px solid #e2e8f0; border-radius: 10px; padding: 12px 16px; font-size: 14px; font-family: inherit; color: #0f172a; background: #fff; outline: none; transition: border-color 0.2s, box-shadow 0.2s; }
.cf-field input:focus { border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37,99,235,0.1); }
.cf-field input::placeholder { color: #94a3b8; }
.cf-submit { background: #2563eb; color: #fff; border: none; padding: 14px 32px; border-radius: 10px; font-size: 15px; font-weight: 700; cursor: pointer; font-family: inherit; transition: background 0.2s, transform 0.1s; align-self: flex-start; width: 100%; }
.cf-submit:hover { background: #1d4ed8; }
.cf-submit:active { transform: scale(0.99); }
.contact-success { background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 20px; padding: 52px 40px; text-align: center; }
.contact-success-icon { width: 64px; height: 64px; background: #22c55e; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.contact-success-icon svg { width: 32px; height: 32px; fill: #fff; }
.contact-success h3 { font-size: 24px; font-weight: 800; color: #14532d; margin-bottom: 12px; }
.contact-success p { color: #166534; font-size: 15px; line-height: 1.7; margin-bottom: 24px; }
.contact-success-link { color: #2563eb; font-size: 14px; font-weight: 700; text-decoration: none; }
.contact-sidebar { display: flex; flex-direction: column; gap: 20px; }
.contact-info-card { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 16px; padding: 24px; }
.contact-info-card h4 { font-size: 14px; font-weight: 700; color: #0f172a; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid #e2e8f0; }
.contact-info-item { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid #f1f5f9; }
.contact-info-item:last-child { border-bottom: none; padding-bottom: 0; }
.contact-info-icon { width: 36px; height: 36px; background: #eaf0fb; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info-icon svg { width: 16px; height: 16px; fill: #2563eb; }
.contact-info-label { font-size: 11px; color: #94a3b8; font-weight: 600; margin: 0 0 3px; text-transform: uppercase; letter-spacing: 0.5px; }
.contact-info-value { font-size: 14px; font-weight: 600; color: #2563eb; text-decoration: none; margin: 0; }
.contact-info-value:hover { color: #1d4ed8; }
.contact-response-card { background: #f0f7ff; border: 1px solid #bfdbfe; border-radius: 16px; padding: 24px; display: flex; gap: 16px; align-items: flex-start; }
.contact-response-icon { width: 40px; height: 40px; background: #2563eb; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-response-icon svg { width: 20px; height: 20px; fill: #fff; }
.contact-response-card h4 { font-size: 14px; font-weight: 700; color: #0f172a; margin-bottom: 6px; }
.contact-response-card p { font-size: 13px; color: #64748b; line-height: 1.6; margin: 0; }
.contact-response-card strong { color: #2563eb; }
.contact-social-card { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 16px; padding: 24px; }
.contact-social-card h4 { font-size: 14px; font-weight: 700; color: #0f172a; margin-bottom: 16px; }
.contact-social-links { display: flex; flex-direction: column; gap: 10px; }
.contact-social-btn { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; text-decoration: none; color: #475569; font-size: 13px; font-weight: 600; transition: border-color 0.2s, color 0.2s; }
.contact-social-btn:hover { border-color: #2563eb; color: #2563eb; }
.contact-social-btn svg { width: 15px; height: 15px; fill: currentColor; flex-shrink: 0; }
@media (max-width: 768px) {
    .contact-hero, .contact-main { padding-left: 24px; padding-right: 24px; }
    .contact-main-inner { grid-template-columns: 1fr; }
    .cf-row { grid-template-columns: 1fr; }
    .contact-hero h1 { font-size: 28px; }
}

/* ===================== SIDEBAR CONTACT FORM ===================== */
.scf-card { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 14px; padding: 22px 20px; }
.scf-header { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid #e2e8f0; }
.scf-icon { width: 36px; height: 36px; background: #2563eb; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.scf-icon svg { width: 16px; height: 16px; fill: #fff; }
.scf-header h4 { font-size: 14px; font-weight: 700; color: #0f172a; margin: 0 0 2px; }
.scf-header p { font-size: 12px; color: #94a3b8; margin: 0; }
.scf-form { display: flex; flex-direction: column; gap: 10px; }
.scf-field input { width: 100%; border: 1px solid #e2e8f0; border-radius: 8px; padding: 10px 14px; font-size: 13px; font-family: inherit; color: #0f172a; background: #fff; outline: none; transition: border-color 0.2s; }
.scf-field input:focus { border-color: #2563eb; }
.scf-field input::placeholder { color: #94a3b8; }
.scf-submit { background: #2563eb; color: #fff; border: none; padding: 11px 20px; border-radius: 8px; font-size: 13px; font-weight: 700; cursor: pointer; font-family: inherit; width: 100%; margin-top: 4px; transition: background 0.2s; }
.scf-submit:hover { background: #1d4ed8; }
.scf-success { text-align: center; padding: 16px 8px; }
.scf-success-icon { width: 48px; height: 48px; background: #22c55e; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; }
.scf-success-icon svg { width: 24px; height: 24px; fill: #fff; }
.scf-success p { font-size: 13px; color: #166534; line-height: 1.6; margin: 0; }
.scf-errors { background: #fef2f2; border: 1px solid #fecaca; border-radius: 8px; padding: 10px 14px; margin-bottom: 12px; }
.scf-errors p { color: #dc2626; font-size: 12px; margin: 0; line-height: 1.6; }

/* Mobile: sidebar form moves to end of article */
@media (max-width: 768px) {
    .toc-wrap { position: static !important; order: 2; }
    .post-body-inner { display: flex; flex-direction: column; }
    .post-content { order: 1; }
    .toc-wrap .toc-card { display: none; } /* hide TOC on mobile — too long */
    .toc-wrap .scf-card { display: block; } /* show contact form at bottom */
    .toc-wrap > div[style*="margin-top:24px"] { margin-top: 0 !important; }
}

/* ===================== LOGO ===================== */
.nav-logo-img, .nav-logo img { height: 56px; width: auto; object-fit: contain; padding: 0; background: none; border-radius: 0; }
.footer-logo-img { height: 56px; width: auto; object-fit: contain; display: block; margin-bottom: 4px; background: none; }

/* ===================== HOMEPAGE V2 UPDATES ===================== */

/* Stats — beautified pill row */
.hero-stats { display: flex; gap: 0; border: 1px solid #e2e8f0; border-radius: 12px; overflow: hidden; background: #fff; flex-wrap: nowrap; }
.hero-stat { flex: 1; padding: 14px 12px; text-align: center; border-right: 1px solid #e2e8f0; }
.hero-stat:last-child { border-right: none; }
.hero-stat strong { display: block; font-size: 20px; font-weight: 800; color: #0f172a; line-height: 1; margin-bottom: 4px; }
.hero-stat span { font-size: 11px; color: #94a3b8; display: block; }

/* Comparison left panel — red/negative */
.cmp-panel.left { background: #fff5f5; border: 1px solid #fca5a5; }
.cmp-badge.red { background: #dc2626; color: #fff; }
.cmp-badge.gray { display: none; }
.cmp-dot.red { background: #dc2626; }
.cmp-item p.red { color: #7f1d1d; font-weight: 500; }
.cmp-item p.gray { display: none; }

/* Reduced section spacing */
.hero { padding: 52px 60px; }
.trends { padding: 44px 60px; }
.outcomes { padding: 44px 60px; }
.cmp { padding: 44px 60px; }
.brands { padding: 44px 60px; }
.testi { padding: 44px 60px; }
.team { padding: 44px 60px; }

/* Brands — smaller cards */
.brands-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.brand-card { padding: 18px 14px; gap: 10px; }
.brand-logo-wrap { height: 36px; }
.brand-logo { max-height: 36px; max-width: 110px; }
.brand-card h4 { font-size: 12px; }

/* Team — smaller cards, 4 col */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.team-card { padding: 22px 14px 18px; }
.team-avatar { width: 72px; height: 72px; font-size: 20px; margin-bottom: 12px; }
.team-name { font-size: 14px; }
.team-role { font-size: 12px; }
.team-exp { font-size: 11px; }

/* ===================== MOBILE UPDATES ===================== */
@media (max-width: 768px) {
    /* Reduce top spacing */
    .hero { padding: 20px 20px 28px; }
    .hero-inner { grid-template-columns: 1fr; gap: 20px; }
    .hero-h1 { font-size: 28px; }

    /* Stats pill on mobile */
    .hero-stats { margin-top: 16px; }
    .hero-stat strong { font-size: 16px; }
    .hero-stat span { font-size: 10px; }

    /* Outcomes mobile — 3 col slider */
    .outcomes { padding: 28px 16px; }
    .outcomes-grid { display: none; }
    .outcomes .mob-slider-wrap { display: block; }

    /* Brands mobile */
    .brands { padding: 28px 16px; }
    .brands-grid { display: none; }

    /* Testi mobile */
    .testi { padding: 28px 16px; }
    .testi-grid { display: none; }

    /* Team mobile — 2 col */
    .team { padding: 28px 16px; }
    .team-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .team-avatar { width: 60px; height: 60px; font-size: 16px; }

    /* Comparison mobile */
    .cmp { padding: 28px 16px; }
    .cmp-grid { grid-template-columns: 1fr; }
    .cmp-middle { flex-direction: row; padding: 10px 0; }
    .cmp-line { flex: 1; height: 1px; width: auto; }

    /* Section spacing */
    .trends, .outcomes, .cmp, .brands, .testi { padding: 28px 16px; }
    .sec-h2 { font-size: 22px; }
}

/* ===================== STICKY BOOK A CALL CTA ===================== */
.sticky-book-cta { position: fixed; bottom: 0; left: 0; right: 0; background: #2563eb; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; gap: 12px; z-index: 9999; transform: translateY(100%); transition: transform 0.3s ease; }
.sticky-book-cta.visible { transform: translateY(0); }
.sticky-book-cta-text { color: #fff; font-size: 14px; font-weight: 600; }
.sticky-book-cta a { background: #fff; color: #2563eb; padding: 9px 20px; border-radius: 8px; font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.sticky-book-cta-close { width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,0.2); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sticky-book-cta-close svg { width: 14px; height: 14px; stroke: #fff; fill: none; }

/* Mobile slider for outcomes/brands/testi */
.mob-slider-section { display: none; }
@media (max-width: 768px) {
    .mob-slider-section { display: block; }
    .outcomes-grid, .brands-grid, .testi-grid { display: none !important; }
}
.mob-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mob-slider-nav { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 14px; }
.mob-slider-btn { width: 34px; height: 34px; border-radius: 50%; background: #2563eb; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.mob-slider-btn svg { width: 14px; height: 14px; fill: #fff; }
.mob-slider-btn:disabled { background: #e2e8f0; }
.mob-slider-btn:disabled svg { fill: #94a3b8; }
.mob-slider-dots { display: flex; gap: 6px; }
.mob-slider-dot { width: 6px; height: 6px; border-radius: 50%; background: #e2e8f0; }
.mob-slider-dot.on { background: #2563eb; }

/* ===================== HOW WE HELP YOU GROW ===================== */
.hwh { background: #fff; padding: 52px 60px; }
.hwh-inner { max-width: 1100px; margin: 0 auto; }
.hwh-top { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-bottom: 52px; }
.hwh-label { display: inline-block; background: #eaf0fb; color: #2563eb; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; padding: 6px 14px; border-radius: 20px; margin-bottom: 14px; text-transform: uppercase; }
.hwh-h2 { font-size: 34px; font-weight: 800; color: #0f172a; line-height: 1.2; margin: 0; }
.hwh-h2 span { color: #2563eb; }
.hwh-sub { color: #64748b; font-size: 14px; line-height: 1.8; margin-bottom: 20px; }
.hwh-book { display: inline-flex; align-items: center; gap: 8px; background: #2563eb; color: #fff; font-size: 13px; font-weight: 700; padding: 11px 20px; border-radius: 8px; text-decoration: none; transition: background 0.2s; }
.hwh-book:hover { background: #1d4ed8; color: #fff; }
.hwh-services { display: flex; flex-direction: column; }
.hwh-svc { display: grid; grid-template-columns: 52px 1fr; align-items: stretch; }
.hwh-svc-left { display: flex; flex-direction: column; align-items: center; padding-top: 4px; }
.hwh-svc-dot { width: 40px; height: 40px; border-radius: 50%; background: #2563eb; display: flex; align-items: center; justify-content: center; flex-shrink: 0; z-index: 1; }
.hwh-svc-dot svg { width: 18px; height: 18px; fill: #fff; }
.hwh-svc-line { width: 2px; background: #e2e8f0; flex: 1; margin: 6px 0; }
.hwh-svc:last-child .hwh-svc-line { display: none; }
.hwh-svc-right { padding: 0 0 44px 24px; }
.hwh-svc:last-child .hwh-svc-right { padding-bottom: 0; }
.hwh-svc-num { font-size: 11px; font-weight: 700; color: #2563eb; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 4px; }
.hwh-svc-title { font-size: 22px; font-weight: 800; color: #0f172a; margin-bottom: 4px; line-height: 1.3; }
.hwh-svc-tagline { font-size: 13px; color: #2563eb; font-weight: 600; margin-bottom: 14px; }
.hwh-svc-desc { font-size: 14px; color: #64748b; line-height: 1.8; margin-bottom: 16px; max-width: 620px; }
.hwh-result-row { display: flex; align-items: stretch; flex-wrap: nowrap; gap: 0; margin-bottom: 0; }
.hwh-result-pill { display: flex; align-items: center; gap: 10px; background: #f8fafc; border: 1px solid #e2e8f0; border-right: none; border-radius: 30px 0 0 30px; padding: 0 18px; flex: 1; min-height: 46px; }
.hwh-result-pill span { font-size: 10px; font-weight: 700; color: #2563eb; text-transform: uppercase; letter-spacing: 1px; white-space: nowrap; flex-shrink: 0; }
.hwh-result-pill p { font-size: 13px; color: #0f172a; font-weight: 600; margin: 0; }
.hwh-svc-cta { display: flex; align-items: center; gap: 6px; background: #eaf0fb; color: #2563eb; font-size: 13px; font-weight: 700; padding: 0 20px; min-height: 46px; border-radius: 0 30px 30px 0; text-decoration: none; border: 1px solid #bfdbfe; border-left: none; white-space: nowrap; flex-shrink: 0; align-self: stretch; transition: background 0.2s, color 0.2s; }
.hwh-svc-cta:hover { background: #2563eb; color: #fff; border-color: #2563eb; }
.hwh-svc-cta svg { width: 13px; height: 13px; stroke: currentColor; fill: none; }

/* Mobile */
@media (max-width: 768px) {
    .hwh { padding: 36px 20px; }
    .hwh-top { grid-template-columns: 1fr; gap: 20px; }
    .hwh-h2 { font-size: 26px; }
    .hwh-svc-right { padding: 0 0 32px 16px; }
    .hwh-svc-title { font-size: 18px; }
    .hwh-svc-desc { font-size: 13px; }
    .hwh-result-pill { flex-wrap: wrap; border-radius: 12px; border-right: 1px solid #e2e8f0; border-radius: 30px; flex: none; }
    .hwh-svc-cta { border-left: 1px solid #bfdbfe; border-radius: 30px; align-self: flex-start; padding: 8px 16px; min-height: auto; }
    .hwh-svc-dot { width: 34px; height: 34px; }
    .hwh-svc-dot svg { width: 15px; height: 15px; }
    .hwh-svc { grid-template-columns: 42px 1fr; }
}

/* ===================== MOBILE SLIDER — PROPER ===================== */
/* Track wrapper — clips overflow */
.mob-slider-track-wrap {
    overflow: hidden;
    width: 100%;
}
/* Track — all pages side by side, slides horizontally */
.mob-slider-track {
    display: flex;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}
/* Each page — full width, stacks cards vertically */
.mob-slide-page {
    min-width: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 0 4px;
}
/* Cards inside slider take full width */
.mob-slide-page .outcome-card,
.mob-slide-page .testi-card,
.mob-slide-page .mob-brand-card {
    width: 100%;
    flex: none;
}
.mob-brand-card {
    flex-direction: row !important;
    align-items: center;
    justify-content: flex-start !important;
    gap: 16px;
    padding: 16px 20px !important;
    text-align: left !important;
}
.mob-brand-card .brand-logo-wrap {
    height: 40px;
    width: 80px;
    flex-shrink: 0;
    justify-content: flex-start;
}
.mob-brand-card h4 {
    font-size: 14px !important;
}

/* Nav row */
.mob-nav-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 20px;
}
/* Arrow buttons */
.mob-nav-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #2563eb;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
    transition: background 0.2s, opacity 0.2s;
}
.mob-nav-arrow:disabled {
    background: #e2e8f0;
    color: #94a3b8;
    cursor: default;
}
.mob-nav-arrow svg {
    width: 18px;
    height: 18px;
}
/* Dots */
.mob-nav-dots {
    display: flex;
    gap: 6px;
    align-items: center;
}
.mob-nav-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #e2e8f0;
    transition: background 0.2s, transform 0.2s;
}
.mob-nav-dot.active {
    background: #2563eb;
    transform: scale(1.3);
}

/* ===================== ALL FIXES ===================== */

/* DESKTOP — Services border wrapper */
.hwh-border-wrap { border: 1.5px solid #e2e8f0; border-radius: 20px; overflow: hidden; }
.hwh-svc { border-bottom: 1px solid #f1f5f9; padding: 32px 36px 32px 28px; }
.hwh-svc:last-child { border-bottom: none; }
.hwh-svc:hover { background: #fafbff; }

/* DESKTOP — Result pill + CTA joined as one row */
.hwh-result-row { display: flex; align-items: stretch; flex-wrap: wrap; margin-bottom: 0; }
.hwh-result-pill { display: inline-flex; align-items: center; gap: 10px; background: #f8fafc; border: 1px solid #e2e8f0; border-right: none; border-radius: 30px 0 0 30px; padding: 9px 18px; }
.hwh-result-pill span { font-size: 10px; font-weight: 700; color: #2563eb; text-transform: uppercase; letter-spacing: 1px; white-space: nowrap; }
.hwh-result-pill p { font-size: 13px; color: #0f172a; font-weight: 600; margin: 0; }
.hwh-svc-cta { display: inline-flex; align-items: center; gap: 6px; background: #eaf0fb; color: #2563eb; font-size: 13px; font-weight: 700; padding: 9px 18px; border-radius: 0 30px 30px 0; text-decoration: none; border: 1px solid #bfdbfe; white-space: nowrap; transition: background 0.2s, color 0.2s; }
.hwh-svc-cta:hover { background: #2563eb; color: #fff; border-color: #2563eb; }

/* MOBILE — Hide desktop comparison grid, show stacked */
.cmp-mobile-stack { display: none; }
@media (max-width: 768px) {
    .cmp-grid { display: none; }
    .cmp-mobile-stack { display: block; }
    .cmp-mobile-stack .cmp-panel { border-radius: 12px; padding: 18px 16px; }
    .cmp-mobile-stack .cmp-panel.left { background: #fff5f5; border: 1px solid #fca5a5; }
    .cmp-mobile-stack .cmp-panel.right { background: #f0f7ff; border: 2px solid #2563eb; }
    .cmp-stacked-badge { display: block; text-align: center; font-weight: 700; font-size: 12px; padding: 9px 14px; border-radius: 20px; margin-bottom: 16px; line-height: 1.3; }
    .cmp-stacked-badge.red { background: #dc2626; color: #fff; }
    .cmp-stacked-badge.blue { background: #2563eb; color: #fff; }
    .cmp-vs-row { display: flex; justify-content: center; padding: 14px 0; }
    .cmp-vs { width: 36px; height: 36px; border-radius: 50%; background: #0f172a; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 11px; font-weight: 800; }

    /* MOBILE — Brands: no duplicate, logo left name right */
    .mob-brand-card { flex-direction: row !important; align-items: center; justify-content: flex-start !important; gap: 16px; padding: 14px 18px !important; text-align: left !important; }
    .mob-brand-card .brand-logo-wrap { height: 36px; width: 90px; flex-shrink: 0; justify-content: flex-start; }
    .mob-brand-card h4 { font-size: 14px !important; }

    /* MOBILE — Testimonials CTA gap */
    .testi-cta { margin-top: 24px; }

    /* MOBILE — Services result pill stacks on mobile */
    .hwh-result-row { flex-direction: column; gap: 10px; }
    .hwh-result-pill { border-right: 1px solid #e2e8f0; border-radius: 30px; }
    .hwh-svc-cta { border-radius: 30px; align-self: flex-start; }
}

/* ===================== MOBILE COMPARISON FIX — badge overflow only ===================== */
/* Fix: blue badge text wraps to 2 lines instead of overflowing */
.cmp-stacked-badge.blue { white-space: normal; line-height: 1.35; padding: 9px 12px; }

/* Fix 2: Brands — logo full width, no text duplication */
@media (max-width: 768px) {
    .mob-brand-card { flex-direction: row !important; align-items: center !important; justify-content: flex-start !important; gap: 14px !important; padding: 14px 18px !important; text-align: left !important; }
    .mob-brand-card .brand-logo-wrap { height: 40px !important; width: 100px !important; min-width: 100px !important; justify-content: flex-start !important; }
    .mob-brand-card .brand-logo { max-height: 40px !important; max-width: 100px !important; }
    .mob-brand-card h4 { display: none !important; }

    /* Fix 3: Testimonials — clear gap between nav and CTA */
    .testi-cta { margin-top: 24px !important; }
}

/* ===================== DESKTOP SERVICES SECTION FIXES ===================== */
/* Single border wrapping all 4 services */
.hwh-border-wrap { border: 1.5px solid #e2e8f0; border-radius: 20px; overflow: hidden; }
.hwh-svc { padding: 32px 36px 32px 28px; border-bottom: 1px solid #f1f5f9; }
.hwh-svc:last-child { border-bottom: none; padding-bottom: 32px; }
.hwh-svc-right { padding-bottom: 0; }
/* Result row — pill and CTA joined as one row */
.hwh-result-row { display: flex; align-items: stretch; flex-wrap: wrap; margin-bottom: 0; gap: 0; }
.hwh-result-pill { display: inline-flex; align-items: center; gap: 10px; background: #f8fafc; border: 1px solid #e2e8f0; border-right: none; border-radius: 30px 0 0 30px; padding: 0 18px; min-height: 44px; }
.hwh-result-pill span { font-size: 10px; font-weight: 700; color: #2563eb; text-transform: uppercase; letter-spacing: 1px; white-space: nowrap; }
.hwh-result-pill p { font-size: 13px; color: #0f172a; font-weight: 600; margin: 0; }
.hwh-svc-cta { display: inline-flex; align-items: center; gap: 6px; background: #eaf0fb; color: #2563eb; font-size: 13px; font-weight: 700; padding: 0 18px; min-height: 44px; border-radius: 0 30px 30px 0; text-decoration: none; border: 1px solid #bfdbfe; border-left: none; white-space: nowrap; transition: background 0.2s, color 0.2s; }
.hwh-svc-cta:hover { background: #2563eb; color: #fff; border-color: #2563eb; }
.hwh-svc-cta svg { width: 13px; height: 13px; stroke: currentColor; fill: none; }

@media (max-width: 768px) {
    /* On mobile — result pill and CTA stack vertically */
    .hwh-result-row { flex-direction: column; gap: 10px; }
    .hwh-result-pill { border-right: 1px solid #e2e8f0 !important; border-radius: 30px !important; }
    .hwh-svc-cta { border-left: 1px solid #bfdbfe !important; border-radius: 8px !important; padding: 8px 16px !important; width: fit-content; }
}

/* ===================== COMPARISON MOBILE STACK HEADINGS OUTSIDE PANELS ===================== */
.cmp-stack-label { display: none; }
@media (max-width: 768px) {
    .cmp-stack-label { display: block; font-size: 14px; font-weight: 800; text-align: center; margin-bottom: 10px; }
    .cmp-stack-label.red-label { color: #dc2626; }
    .cmp-stack-label.blue-label { color: #2563eb; margin-top: 4px; }
    /* Remove old badge inside panel */
    .cmp-stacked-badge { display: none !important; }
}

/* ===================== TOC INLINE (below hero) ===================== */
.toc-inline-wrap { margin: 24px 0 0; max-width: 780px; border: 1px solid #e2e8f0; border-radius: 12px; overflow: hidden; background: #fff; }
.toc-toggle { width: 100%; display: flex; align-items: center; gap: 10px; padding: 14px 20px; background: #f8fafc; border: none; cursor: pointer; font-family: inherit; text-align: left; }
.toc-toggle:hover { background: #f0f7ff; }
.toc-toggle-icon { color: #2563eb; display: flex; align-items: center; }
.toc-toggle-label { flex: 1; font-size: 14px; font-weight: 700; color: #0f172a; }
.toc-toggle-arrow { color: #64748b; display: flex; align-items: center; transition: transform 0.25s ease; }
.toc-inline-body { padding: 4px 0 8px; }
.toc-inline-body .toc-list { list-style: none; padding: 0; margin: 0; }
.toc-inline-body .toc-list li a { display: block; padding: 8px 20px; font-size: 13px; color: #475569; text-decoration: none; border-left: 2px solid transparent; transition: border-color 0.15s, color 0.15s; }
.toc-inline-body .toc-list li a:hover { color: #2563eb; border-left-color: #2563eb; background: #f0f7ff; }
.toc-inline-body .toc-list li.toc-h3 a { padding-left: 36px; font-size: 12px; color: #64748b; }

/* Author Bio heading */
.author-bio-heading { font-size: 18px; font-weight: 800; color: #0f172a; margin: 32px 0 14px; padding-top: 8px; border-top: 1px solid #e2e8f0; }

/* Footer logo transparent */
.footer-logo-img { filter: brightness(0) invert(1); }

/* ===================== AUTHOR PAGE MOBILE ===================== */
@media (max-width: 768px) {
    .author-hero-inner { flex-direction: column !important; gap: 20px !important; }
    .author-avatar { width: 80px !important; height: 80px !important; font-size: 28px !important; }
    .author-stats-bar { flex-wrap: wrap !important; gap: 0 !important; }
    .author-stat { min-width: 50% !important; border-right: none !important; border-bottom: 1px solid #1e293b !important; }
    .author-main { flex-direction: column !important; gap: 24px !important; }
    .author-sidebar { width: 100% !important; }
    .author-articles-grid { grid-template-columns: 1fr !important; }
}

/* ===================== CASE STUDIES LIGHT STATS ROW ===================== */
.cs-stats-light { background: #f0f7ff; border-top: 1px solid #bfdbfe; border-bottom: 1px solid #bfdbfe; padding: 0; }
.cs-stats-light .cs-stats-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); }
.cs-stat-light { padding: 28px 20px; text-align: center; border-right: 1px solid #bfdbfe; }
.cs-stat-light:last-child { border-right: none; }
.cs-stat-light strong { display: block; font-size: 32px; font-weight: 800; color: #2563eb; margin-bottom: 4px; }
.cs-stat-light span { font-size: 13px; color: #475569; }
@media (max-width: 768px) {
    .cs-stats-light .cs-stats-inner { grid-template-columns: repeat(2, 1fr); }
    .cs-stat-light:nth-child(2) { border-right: none; }
    .cs-stat-light:nth-child(1), .cs-stat-light:nth-child(2) { border-bottom: 1px solid #bfdbfe; }
    .cs-stat-light strong { font-size: 24px; }
}

/* ===================== TOC: desktop sidebar only, mobile inline only ===================== */
/* Hide inline TOC on desktop */
.toc-inline-wrap { display: none; }
/* Show inline TOC on mobile only */
@media (max-width: 768px) {
    .toc-inline-wrap { display: block; margin: 20px 0 0; border: 1px solid #e2e8f0; border-radius: 12px; overflow: hidden; background: #fff; }
    /* Hide desktop sidebar TOC on mobile */
    .toc-wrap .toc-card#toc-container { display: none; }
}

/* ===================== AUTHOR BIO CARD — redesigned ===================== */
/* Remove old plain heading */
.author-bio-heading { display: none; }
/* Remove old plain author-bio link styles */
.author-bio-card { border: 1.5px solid #e2e8f0; border-radius: 16px; overflow: hidden; margin-top: 32px; background: #fff; }
.author-bio-card-header { background: #f0f7ff; border-bottom: 1px solid #e2e8f0; padding: 10px 24px; display: flex; align-items: center; gap: 8px; }
.author-bio-label { font-size: 11px; font-weight: 700; color: #2563eb; text-transform: uppercase; letter-spacing: 1.5px; }
.author-bio-inner { display: flex; align-items: flex-start; gap: 20px; padding: 24px; text-decoration: none; color: inherit; transition: background 0.2s; }
.author-bio-inner:hover { background: #fafbff; }
.author-bio-avatar { width: 72px; height: 72px; border-radius: 50%; background: #eaf0fb; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 700; color: #2563eb; flex-shrink: 0; border: 3px solid #fff; box-shadow: 0 0 0 2px #bfdbfe; overflow: hidden; }
.author-bio-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-bio-content { flex: 1; }
.author-bio-name { font-size: 17px; font-weight: 800; color: #0f172a; margin-bottom: 2px; }
.author-bio-role { font-size: 13px; color: #2563eb; font-weight: 600; margin-bottom: 10px; }
.author-bio-text { font-size: 14px; color: #475569; line-height: 1.7; margin-bottom: 14px; }
.author-bio-links { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.author-bio-link { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; color: #475569; text-decoration: none; background: #f1f5f9; padding: 5px 12px; border-radius: 20px; border: 1px solid #e2e8f0; }
.author-bio-link svg { width: 13px; height: 13px; fill: currentColor; }
.author-bio-link:hover { background: #eaf0fb; color: #2563eb; border-color: #bfdbfe; }
.author-bio-cta { display: inline-flex; align-items: center; font-size: 13px; font-weight: 700; color: #2563eb; margin-left: auto; }
@media (max-width: 768px) {
    .author-bio-inner { flex-direction: column; gap: 14px; }
    .author-bio-avatar { width: 60px; height: 60px; font-size: 18px; }
    .author-bio-cta { margin-left: 0; }
}

/* ===================== LEARN MORE CTA — force same height as pill ===================== */
.hwh-result-row { display: flex; align-items: stretch !important; flex-wrap: nowrap; margin-bottom: 0; gap: 0; }
.hwh-result-pill { display: flex !important; align-items: center; gap: 10px; background: #f8fafc; border: 1px solid #e2e8f0; border-right: none !important; border-radius: 30px 0 0 30px; padding: 10px 18px; flex: 1; }
.hwh-result-pill span { font-size: 10px; font-weight: 700; color: #2563eb; text-transform: uppercase; letter-spacing: 1px; white-space: nowrap; flex-shrink: 0; }
.hwh-result-pill p { font-size: 13px; color: #0f172a; font-weight: 600; margin: 0; }
.hwh-svc-cta { display: flex !important; align-items: center; gap: 6px; background: #eaf0fb; color: #2563eb; font-size: 13px; font-weight: 700; padding: 10px 18px; border-radius: 0 30px 30px 0 !important; text-decoration: none; border: 1px solid #bfdbfe; border-left: none !important; white-space: nowrap; flex-shrink: 0; align-self: stretch; transition: background 0.2s, color 0.2s; }
.hwh-svc-cta:hover { background: #2563eb; color: #fff; border-color: #2563eb; }
.hwh-svc-cta svg { width: 13px; height: 13px; stroke: currentColor; fill: none; flex-shrink: 0; }
@media (max-width: 768px) {
    .hwh-result-row { flex-direction: column !important; flex-wrap: wrap; gap: 10px; }
    .hwh-result-pill { border-right: 1px solid #e2e8f0 !important; border-radius: 10px !important; flex: none; }
    .hwh-svc-cta { border-left: 1px solid #bfdbfe !important; border-radius: 8px !important; align-self: flex-start; }
}

/* ===================== COMPARISON MOBILE — badge on panel border (like desktop) ===================== */
/* Remove the outside labels */
.cmp-stack-label { display: none !important; }
/* Restore stacked badge inside panel top */
@media (max-width: 768px) {
    .cmp-mobile-stack .cmp-panel { padding: 0 14px 20px; }
    .cmp-mobile-stack .cmp-stacked-badge {
        display: block !important;
        text-align: center;
        font-weight: 700;
        font-size: 12px;
        padding: 8px 14px;
        border-radius: 20px;
        line-height: 1.35;
        white-space: normal;
        width: fit-content;
        max-width: 90%;
        margin: -16px auto 16px;
        position: relative;
        z-index: 1;
    }
    .cmp-stacked-badge.red { background: #dc2626; color: #fff; }
    .cmp-stacked-badge.blue { background: #2563eb; color: #fff; }
}

/* ===================== FINAL FIXES — April 19 ===================== */

/* FIX 1: Learn More CTA — desktop only, joined to result pill same height */
@media (min-width: 769px) {
    .hwh-result-row { display: flex !important; align-items: stretch !important; flex-wrap: nowrap !important; gap: 0 !important; margin-bottom: 0 !important; }
    .hwh-result-pill { display: flex !important; align-items: center !important; gap: 10px !important; background: #f8fafc !important; border: 1px solid #e2e8f0 !important; border-right: none !important; border-radius: 30px 0 0 30px !important; padding: 0 18px !important; flex: 1 !important; min-height: 46px !important; }
    .hwh-svc-cta { display: flex !important; align-items: center !important; gap: 6px !important; background: #eaf0fb !important; color: #2563eb !important; font-size: 13px !important; font-weight: 700 !important; padding: 0 20px !important; min-height: 46px !important; border-radius: 0 30px 30px 0 !important; text-decoration: none !important; border: 1px solid #bfdbfe !important; border-left: none !important; white-space: nowrap !important; flex-shrink: 0 !important; align-self: stretch !important; }
    .hwh-svc-cta:hover { background: #2563eb !important; color: #fff !important; border-color: #2563eb !important; }
}

/* FIX 2: TOC mobile inline — match desktop sidebar styling, no underlines */
@media (max-width: 768px) {
    .toc-inline-body { padding: 0; }
    .toc-inline-body ul { list-style: none !important; padding: 0 !important; margin: 0 !important; }
    .toc-inline-body ul li a { display: block !important; padding: 10px 18px !important; font-size: 14px !important; color: #475569 !important; text-decoration: none !important; border-left: 2px solid transparent !important; border-bottom: 1px solid #f1f5f9 !important; font-weight: 500 !important; transition: all 0.15s !important; line-height: 1.5 !important; }
    .toc-inline-body ul li:last-child a { border-bottom: none !important; }
    .toc-inline-body ul li a:hover,
    .toc-inline-body ul li a.active { color: #2563eb !important; border-left-color: #2563eb !important; background: #f0f7ff !important; }
    .toc-inline-body ul li.toc-h3 a { padding-left: 32px !important; font-size: 13px !important; color: #64748b !important; }
}

/* FIX 3 & 4: Comparison mobile — gap below section + badge not overlapping VS */
@media (max-width: 768px) {
    .cmp-mobile-stack { display: flex; flex-direction: column; gap: 0; }
    .cmp-mobile-stack .cmp-panel { border-radius: 14px !important; padding: 16px 16px 20px !important; }
    .cmp-mobile-stack .cmp-panel.left { margin-bottom: 0; }
    /* Badge sits on panel border — negative margin pulls it up just enough */
    .cmp-mobile-stack .cmp-stacked-badge {
        display: block !important;
        text-align: center !important;
        font-weight: 700 !important;
        font-size: 12px !important;
        padding: 8px 16px !important;
        border-radius: 20px !important;
        line-height: 1.35 !important;
        white-space: normal !important;
        width: fit-content !important;
        max-width: 85% !important;
        margin: -14px auto 14px !important;
        position: relative !important;
        z-index: 2 !important;
    }
    /* VS row — enough padding so it doesn't touch the badge below */
    .cmp-vs-row { padding: 10px 0 6px !important; }
    /* Gap between comparison section and next section */
    .cmp { padding-bottom: 40px !important; }
}

/* FIX 5: Footer logo — restore colored logo with white background pill */
.footer-logo-img { filter: none !important; background: #fff !important; padding: 6px 10px !important; border-radius: 8px !important; height: 52px !important; width: auto !important; object-fit: contain !important; display: block !important; margin-bottom: 8px !important; }

/* ===================== DEFINITIVE FIXES — April 19 v2 ===================== */

/* FIX 1: Learn More CTA — mobile stack vertically */
@media (max-width: 768px) {
    .hwh-result-row { flex-direction: column !important; gap: 10px !important; flex-wrap: wrap !important; }
    .hwh-result-pill { border-right: 1px solid #e2e8f0 !important; border-radius: 30px !important; flex: none !important; min-height: auto !important; padding: 10px 16px !important; }
    .hwh-svc-cta { border-left: 1px solid #bfdbfe !important; border-radius: 30px !important; align-self: flex-start !important; min-height: auto !important; padding: 10px 16px !important; }
}

/* FIX 2 & 3: Comparison mobile — badge on border, VS no overlap, spacing below section */
@media (max-width: 768px) {
    /* Kill all old conflicting badge rules */
    .cmp-stacked-badge { display: block !important; }
    .cmp-stack-label { display: none !important; }

    .cmp-mobile-stack { display: flex !important; flex-direction: column !important; gap: 0 !important; margin-bottom: 0 !important; }

    /* Red panel */
    .cmp-mobile-stack .cmp-panel.left { background: #fff5f5 !important; border: 1px solid #fca5a5 !important; border-radius: 14px !important; padding: 0 16px 20px !important; margin-bottom: 0 !important; }

    /* VS row — clear space above and below */
    .cmp-vs-row { display: flex !important; justify-content: center !important; padding: 16px 0 !important; }

    /* Blue panel */
    .cmp-mobile-stack .cmp-panel.right { background: #f0f7ff !important; border: 2px solid #2563eb !important; border-radius: 14px !important; padding: 0 16px 20px !important; }

    /* Badge — sits on top border edge of panel, like desktop */
    .cmp-mobile-stack .cmp-stacked-badge {
        display: block !important;
        text-align: center !important;
        font-weight: 700 !important;
        font-size: 12px !important;
        padding: 8px 16px !important;
        border-radius: 20px !important;
        line-height: 1.35 !important;
        white-space: normal !important;
        width: fit-content !important;
        max-width: 80% !important;
        margin: -15px auto 16px !important;
        position: relative !important;
        z-index: 2 !important;
    }
    .cmp-mobile-stack .cmp-stacked-badge.red { background: #dc2626 !important; color: #fff !important; }
    .cmp-mobile-stack .cmp-stacked-badge.blue { background: #2563eb !important; color: #fff !important; }

    /* Gap after the quote box and before next section */
    .cmp-quote { margin-top: 20px !important; }
    .cmp { padding-bottom: 48px !important; }
}

/* ===================== AUTHOR PROFILE — MOBILE FIX ===================== */
@media (max-width: 768px) {
    /* Prevent horizontal overflow */
    .author-hero { overflow: hidden !important; padding: 32px 20px 0 !important; }
    .author-hero-inner { display: flex !important; flex-direction: column !important; align-items: flex-start !important; gap: 16px !important; max-width: 100% !important; }

    /* Avatar */
    .author-avatar-wrap { flex-shrink: 0; }
    .author-avatar { width: 80px !important; height: 80px !important; font-size: 26px !important; }

    /* Name — prevent overflow */
    .author-hero-info { max-width: 100% !important; overflow: hidden !important; padding-bottom: 24px !important; }
    .author-hero-name { font-size: 22px !important; line-height: 1.3 !important; word-break: break-word !important; overflow-wrap: break-word !important; max-width: 100% !important; }
    .author-hero-title { font-size: 14px !important; }
    .author-role-tag { font-size: 10px !important; padding: 4px 10px !important; }

    /* Stats bar — 2 per row */
    .author-stats-bar { overflow: hidden !important; }
    .author-stats-bar-inner { display: grid !important; grid-template-columns: 1fr 1fr !important; flex-wrap: unset !important; }
    .author-stat { border-right: 1px solid rgba(255,255,255,0.08) !important; border-bottom: 1px solid rgba(255,255,255,0.08) !important; padding: 16px 12px !important; text-align: center !important; }
    .author-stat:nth-child(2n) { border-right: none !important; }
    .author-stat strong { font-size: 20px !important; }
    .author-stat span { font-size: 11px !important; }

    /* Main content — single column */
    .author-main { padding: 24px 16px !important; }
    .author-main-inner { grid-template-columns: 1fr !important; gap: 20px !important; }

    /* Articles grid — single column */
    .articles-grid { grid-template-columns: 1fr !important; }

    /* Sidebar full width */
    .author-cta { padding: 20px !important; }
    .sidebar-section { padding: 16px !important; }
}

/* ===================== BRANDS MOBILE — compact centered cards ===================== */
@media (max-width: 768px) {
    /* Override all old brand card styles */
    .mob-slide-page .mob-brand-card,
    .mob-brand-card {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        padding: 16px 12px !important;
        gap: 8px !important;
    }
    .mob-brand-card .brand-logo-wrap {
        width: 100% !important;
        height: 44px !important;
        min-width: unset !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .mob-brand-card .brand-logo {
        max-height: 44px !important;
        max-width: 120px !important;
        object-fit: contain !important;
    }
    .mob-brand-card h4 {
        display: block !important;
        font-size: 12px !important;
        font-weight: 700 !important;
        color: #0f172a !important;
        margin: 0 !important;
    }
    /* Make the slide page cards in a column with proper gap */
    .mob-slide-page {
        gap: 10px !important;
    }
}

/* ===================== INDUSTRY EXPERIENCE PILL ===================== */
.industry-pill { background: #f0f7ff !important; color: #1d4ed8 !important; border: 1px solid #bfdbfe !important; }
