/* ========================================
   KAMYARSHAH.COM — Global Stylesheet
   Palette: Charcoal + Hunter Green + Cream
   ======================================== */

:root {
  --charcoal: #1C1C1C;
  --charcoal-light: #2A2A2A;
  --cream: #FAF8F5;
  --warm-white: #FFFFFF;
  --green: #1B4332;
  --green-light: #2D6A4F;
  --green-muted: #40916C;
  --green-pale: rgba(27,67,50,0.06);
  --gold: #B8860B;
  --gold-light: #D4A843;
  --gold-muted: #C9A94E;
  --text: #1A1A1A;
  --text-muted: #5A5A5A;
  --text-light: #888;
  --border: #E5E0D8;
  --border-light: #F0ECE4;
  --red: #C53030;
}

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

body {
  font-family: 'Lora', Georgia, serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.75;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

/* === NAV === */
.site-nav {
  background: var(--charcoal);
  padding: 0 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid var(--green);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 68px;
}
.nav-brand {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff;
  text-decoration: none;
}
.nav-brand span {
  color: var(--green-muted);
  font-weight: 400;
  font-size: 0.85rem;
  margin-left: 0.5rem;
}
.nav-links { display: flex; gap: 1.4rem; align-items: center; }
.nav-links a {
  color: #B0ACA5;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-cta {
  background: var(--green) !important;
  color: #fff !important;
  padding: 0.5rem 1.3rem;
  border-radius: 4px;
  font-weight: 600;
}
.nav-cta:hover { background: var(--green-light) !important; }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a::after { content: ' \25BE'; font-size: 0.65rem; }
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--charcoal-light);
  border: 1px solid #333;
  border-radius: 4px;
  min-width: 220px;
  padding: 0.5rem 0;
  z-index: 200;
}
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
  display: block;
  padding: 0.5rem 1.2rem;
  font-size: 0.78rem;
  text-transform: none;
  letter-spacing: 0.01em;
}
.nav-dropdown-menu a:hover { background: rgba(255,255,255,0.05); }

/* === LAYOUT === */
.container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
.narrow { max-width: 780px; margin: 0 auto; }
.section { padding: 5rem 0; }
.section-alt { background: var(--warm-white); }

/* === PAGE HERO === */
.page-hero { background: var(--charcoal); padding: 5rem 2rem 4rem; }
.page-hero .container { max-width: 780px; }
.page-hero .overline {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--green-muted);
  font-weight: 600;
  margin-bottom: 1rem;
}
.page-hero h1 { font-size: 2.4rem; font-weight: 700; color: #fff; line-height: 1.25; margin-bottom: 1.2rem; }
.page-hero p { color: #B0ACA5; font-size: 1.1rem; line-height: 1.8; }

/* === HOMEPAGE HERO === */
.hero { background: var(--charcoal); padding: 6rem 2rem 5rem; text-align: center; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -100px; right: -100px; width: 400px; height: 400px; background: radial-gradient(circle, rgba(27,67,50,0.1) 0%, transparent 70%); border-radius: 50%; }
.hero-inner { max-width: 820px; margin: 0 auto; position: relative; z-index: 1; }
.hero-label { font-family: 'Inter', sans-serif; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green-muted); margin-bottom: 1.5rem; font-weight: 500; }
.hero h1 { font-size: 2.8rem; font-weight: 700; line-height: 1.2; color: #fff; margin-bottom: 1.5rem; }
.hero h1 em { font-style: normal; color: var(--green-muted); }
.hero p { font-size: 1.15rem; color: #B0ACA5; line-height: 1.8; margin-bottom: 2.5rem; max-width: 680px; margin-left: auto; margin-right: auto; }
.hero-sub { margin-top: 1rem; font-family: 'Inter', sans-serif; font-size: 0.8rem; color: #777; }

/* === BUTTONS === */
.btn-primary {
  display: inline-block;
  background: var(--green);
  color: #fff;
  padding: 1rem 2.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--green-light); transform: translateY(-1px); }

/* === STATS BAR === */
.stats-bar { background: var(--warm-white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 2.5rem 2rem; }
.stats-grid { max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.stat-number { font-family: 'Inter', sans-serif; font-size: 2.2rem; font-weight: 700; color: var(--green); }
.stat-label { font-family: 'Inter', sans-serif; font-size: 0.78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 0.3rem; }

/* === ENTITY BAR === */
.entity-bar { background: var(--charcoal); padding: 2.5rem 2rem; text-align: center; }
.entity-bar p { max-width: 800px; margin: 0 auto; color: #B0ACA5; font-size: 1.05rem; line-height: 1.8; }
.entity-bar strong { color: var(--green-muted); font-weight: 600; }

/* === SECTION HEADERS === */
.sh { text-align: center; margin-bottom: 2rem; }
.sh .overline { font-family: 'Inter', sans-serif; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--green); font-weight: 600; margin-bottom: 0.8rem; }
.sh h2 { font-size: 2rem; font-weight: 700; line-height: 1.3; }
.sh p { max-width: 600px; margin: 1rem auto 0; color: var(--text-muted); font-size: 1rem; }

/* === INLINE STATS === */
.inline-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin: 2.5rem 0; }
.inline-stat { text-align: center; background: var(--warm-white); border: 1px solid var(--border); border-radius: 6px; padding: 1.5rem; }
.inline-stat .num { font-family: 'Inter', sans-serif; font-size: 1.8rem; font-weight: 700; color: var(--green); }
.inline-stat .label { font-family: 'Inter', sans-serif; font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-top: 0.2rem; }

/* === CARDS === */
.card-grid { display: grid; gap: 2rem; margin-top: 2.5rem; }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2.5rem 2rem;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.06); border-color: var(--green); }
.card h3 { font-size: 1.15rem; margin-bottom: 0.8rem; font-weight: 600; }
.card h3 a { color: var(--text); text-decoration: none; }
.card h3 a:hover { color: var(--green); }
.card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; }
.card .tag { display: inline-block; background: var(--green-pale); color: var(--green); font-family: 'Inter', sans-serif; font-size: 0.72rem; font-weight: 600; padding: 0.2rem 0.5rem; border-radius: 3px; margin-bottom: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; }
.card-link { display: inline-block; margin-top: 1.2rem; font-family: 'Inter', sans-serif; font-size: 0.82rem; color: var(--green); text-decoration: none; font-weight: 600; }
.card-link:hover { text-decoration: underline; }
.card-icon { width: 48px; height: 48px; background: var(--charcoal); border-radius: 8px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; font-size: 1.3rem; color: var(--green-muted); }

/* === PROSE === */
.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { font-size: 1.6rem; font-weight: 700; margin: 2.5rem 0 1rem; }
.prose h3 { font-size: 1.2rem; font-weight: 600; margin: 2rem 0 0.8rem; }
.prose p { margin-bottom: 1.2rem; }

/* === COMPARISON TABLE === */
.comparison-wrap { max-width: 900px; margin: 0 auto; overflow-x: auto; }
.comparison-table { width: 100%; border-collapse: collapse; font-family: 'Inter', sans-serif; font-size: 0.88rem; margin: 2rem 0; }
.comparison-table th { background: var(--charcoal); color: #fff; padding: 1rem 1.2rem; text-align: left; font-weight: 600; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.04em; }
.comparison-table th.hl { background: var(--green); }
.comparison-table td { padding: 0.9rem 1.2rem; border-bottom: 1px solid var(--border); }
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table td.hl { background: rgba(27,67,50,0.04); font-weight: 500; }
.comparison-table td:first-child { font-weight: 600; color: var(--text-muted); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.03em; }
.check { color: var(--green); font-weight: 700; }
.x { color: var(--red); }

/* === FAQ === */
.faq-list { max-width: 780px; margin: 2rem auto 0; }
.faq-item { border-bottom: 1px solid var(--border); padding: 1.5rem 0; }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q { font-family: 'Inter', sans-serif; font-size: 1rem; font-weight: 600; color: var(--text); margin-bottom: 0.8rem; }
.faq-a { color: var(--text-muted); font-size: 0.95rem; line-height: 1.8; }

/* === TESTIMONIALS === */
.testimonials-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; margin-top: 2.5rem; }
.testimonial { background: var(--warm-white); border: 1px solid var(--border); border-radius: 6px; padding: 2.5rem; }
.testimonial blockquote { font-size: 1rem; line-height: 1.8; color: var(--text); margin-bottom: 1.5rem; font-style: italic; }
.testimonial-author { font-family: 'Inter', sans-serif; font-size: 0.85rem; }
.testimonial-author strong { color: var(--text); font-weight: 600; }
.testimonial-author span { color: var(--text-muted); }
.testimonial-metric { display: inline-block; background: var(--green-pale); color: var(--green); font-family: 'Inter', sans-serif; font-size: 0.78rem; font-weight: 600; padding: 0.25rem 0.6rem; border-radius: 3px; margin-top: 0.5rem; }

/* === BOTTOM CTA === */
.bottom-cta { background: var(--charcoal); padding: 5rem 2rem; text-align: center; }
.bottom-cta h2 { color: #fff; font-size: 2rem; margin-bottom: 1rem; }
.bottom-cta p { color: #B0ACA5; max-width: 600px; margin: 0 auto 2.5rem; font-size: 1.05rem; line-height: 1.8; }

/* === BLOG GRID === */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2.5rem; }
.blog-card { display:block; padding:1.5rem; text-decoration:none; color:inherit; background: var(--warm-white); border: 1px solid var(--border); border-radius: 6px; overflow: hidden; transition: box-shadow 0.2s; }
.blog-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.blog-card-body { padding: 1.5rem; }
.blog-card .cat { font-family: 'Inter', sans-serif; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--green); font-weight: 600; margin-bottom: 0.5rem; }
.blog-card h3 { font-size: 1rem; font-weight: 600; line-height: 1.4; margin-bottom: 0.5rem; }
.blog-card h3 a { color: var(--text); text-decoration: none; }
.blog-card h3 a:hover { color: var(--green); }
.blog-card .excerpt { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }
.blog-card .meta { font-family: 'Inter', sans-serif; font-size: 0.75rem; color: var(--text-light); margin-top: 0.8rem; }
.pagination { display: flex; justify-content: center; gap: 0.5rem; margin-top: 3rem; font-family: 'Inter', sans-serif; }
.pagination a, .pagination span { display: inline-block; padding: 0.5rem 1rem; border: 1px solid var(--border); border-radius: 4px; font-size: 0.85rem; color: var(--text-muted); text-decoration: none; }
.pagination .current { background: var(--green); color: #fff; border-color: var(--green); }
.pagination a:hover { border-color: var(--green); color: var(--green); }

/* === FOOTER === */
.site-footer { background: #111; padding: 3rem 2rem; color: #888; font-family: 'Inter', sans-serif; font-size: 0.82rem; }
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-entity { max-width: 700px; line-height: 1.8; margin-bottom: 2rem; color: #777; font-family: 'Lora', Georgia, serif; font-size: 0.9rem; }
.footer-entity strong { color: #aaa; }
.footer-links { display: flex; gap: 1rem; flex-wrap: nowrap; margin-bottom: 1.5rem; font-size: 0.75rem; }
.footer-links a { color: #888; text-decoration: none; font-size: 0.75rem; white-space: nowrap; }
.footer-links a:hover { color: var(--green-muted); }
.footer-copy { color: #555; font-size: 0.75rem; }

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero h1 { font-size: 2rem; }
  .page-hero h1 { font-size: 1.8rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .card-grid-3, .card-grid-2 { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .inline-stats { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .comparison-table { font-size: 0.8rem; }
  .nav-links { display: none; }
  .nav-brand span { display: none; }
}

/* ========================================
   BLOG POST — Article Layout
   ======================================== */

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

/* Breadcrumb */
.breadcrumb {
  max-width: 780px; margin: 1.5rem auto 0; padding: 0 2rem;
  font-family: 'Inter', sans-serif; font-size: 0.8rem; color: var(--text-muted);
}
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--green); }
.sep { margin: 0 0.4rem; }

/* Article header */
.article-header { max-width: 780px; margin: 2rem auto 0; padding: 0 2rem; }
.article-header h1 { font-size: 2rem; line-height: 1.3; font-weight: 700; margin-bottom: 1.2rem; }
.article-header img { width: 100%; height: auto; border-radius: 8px; margin: 1.5rem 0; }
.article-meta {
  display: flex; align-items: center; gap: 1rem;
  font-family: 'Inter', sans-serif; font-size: 0.82rem;
  color: var(--text-muted); margin-bottom: 0.5rem;
}
.author-avatar, .bio-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--green); color: #fff;
  font-family: 'Inter', sans-serif; font-size: 0.75rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.author-info { display: flex; flex-direction: column; gap: 0.2rem; }
.author-name { font-weight: 600; color: var(--text); font-size: 0.88rem; }
.pub-date { color: var(--text-muted); font-size: 0.78rem; }
.read-time { margin-left: auto; font-size: 0.78rem; color: var(--text-muted); white-space: nowrap; }
.last-updated { font-size: 0.75rem; color: var(--text-light); font-style: italic; margin-top: 0.3rem; }

/* Direct answer block (AEO/speakable) */
.direct-answer {
  max-width: 780px; margin: 2rem auto; padding: 0 2rem;
}
.direct-answer-inner {
  background: var(--green-pale); border-left: 4px solid var(--green);
  padding: 1.2rem 1.5rem; border-radius: 0 6px 6px 0;
  font-size: 0.95rem; color: var(--text); line-height: 1.75;
}

/* Article body */
.article-body {
  max-width: 780px; margin: 0 auto; padding: 0 2rem 2rem;
}
.article-body p { margin-bottom: 1.3rem; font-size: 1rem; line-height: 1.85; }
.article-body h2 { font-size: 1.55rem; font-weight: 700; margin: 2.5rem 0 1rem; }
.article-body h3 { font-size: 1.2rem; font-weight: 600; margin: 2rem 0 0.8rem; }
.article-body h4 { font-size: 1rem; font-weight: 600; margin: 1.5rem 0 0.6rem; }
.article-body ul, .article-body ol { margin: 0 0 1.3rem 1.5rem; }
.article-body li { margin-bottom: 0.5rem; line-height: 1.75; }
.article-body strong { color: var(--text); font-weight: 700; }
.article-body em { font-style: italic; }
.article-body a { color: var(--green); text-decoration: underline; text-underline-offset: 2px; }
.article-body a:hover { color: var(--green-light); }
.article-body blockquote {
  border-left: 4px solid var(--gold); padding: 1rem 1.5rem;
  margin: 2rem 0; background: rgba(184,134,11,0.04);
  font-style: italic; color: var(--text-muted);
}

/* Key takeaway box */
.key-takeaway { max-width: 780px; margin: 0 auto 2rem; padding: 0 2rem; }
.key-takeaway-inner {
  background: var(--charcoal); color: #fff;
  padding: 1.5rem 2rem; border-radius: 6px;
  font-family: 'Inter', sans-serif; font-size: 0.92rem; line-height: 1.7;
}

/* TOC */
.toc-wrapper { max-width: 780px; margin: 0 auto 2rem; padding: 0 2rem; }
.toc {
  background: var(--warm-white); border: 1px solid var(--border);
  border-radius: 6px; padding: 1.5rem;
}
.toc-toggle {
  font-family: 'Inter', sans-serif; font-size: 0.85rem; font-weight: 600;
  color: var(--text); cursor: pointer; display: block; margin-bottom: 0.8rem;
}
.toc-list { list-style: none; margin: 0; padding: 0; }
.toc-list li { display: flex; gap: 0.8rem; align-items: baseline; margin-bottom: 0.5rem; }
.toc-num { font-family: 'Inter', sans-serif; font-size: 0.75rem; color: var(--green); font-weight: 700; }
.toc-list a { font-family: 'Inter', sans-serif; font-size: 0.85rem; color: var(--text-muted); text-decoration: none; }
.toc-list a:hover { color: var(--green); }

/* Inline CTA (mid-article) */
.inline-cta { max-width: 780px; margin: 2.5rem auto; padding: 0 2rem; }
.inline-cta-inner {
  background: var(--charcoal); border-radius: 6px;
  padding: 2rem; display: flex; gap: 2rem;
  align-items: center; justify-content: space-between;
}
.cta-text h2 { color: #fff; font-size: 1.2rem; margin-bottom: 0.5rem; }
.cta-text p { color: #B0ACA5; font-size: 0.88rem; line-height: 1.6; margin: 0; }
.cta-btn a {
  display: inline-block; background: var(--green); color: #fff;
  font-family: 'Inter', sans-serif; font-size: 0.88rem; font-weight: 600;
  padding: 0.75rem 1.5rem; border-radius: 4px; text-decoration: none;
  white-space: nowrap; transition: background 0.2s;
}
.cta-btn a:hover { background: var(--green-light); }

/* Author bio */
.author-bio { max-width: 780px; margin: 2.5rem auto; padding: 0 2rem; }
.author-bio-inner {
  display: flex; gap: 1.5rem; align-items: flex-start;
  background: var(--warm-white); border: 1px solid var(--border);
  border-radius: 6px; padding: 2rem;
}
.bio-content h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.2rem; }
.bio-title { font-family: 'Inter', sans-serif; font-size: 0.8rem; color: var(--green); font-weight: 600; margin-bottom: 0.8rem; }
.bio-content p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 0.8rem; }
.bio-link { font-family: 'Inter', sans-serif; font-size: 0.82rem; color: var(--green); text-decoration: none; font-weight: 600; }
.bio-link:hover { text-decoration: underline; }

/* Related posts */
.related-posts { max-width: 780px; margin: 2.5rem auto; padding: 0 2rem; }
.related-posts h2 { font-size: 1.2rem; font-weight: 700; margin-bottom: 1.5rem; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.related-card {
  background: var(--warm-white); border: 1px solid var(--border);
  border-radius: 6px; padding: 1.2rem; text-decoration: none;
  display: block; transition: box-shadow 0.2s, border-color 0.2s;
}
.related-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.06); border-color: var(--green); }
.rc-cat { font-family: 'Inter', sans-serif; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--green); font-weight: 600; margin-bottom: 0.4rem; }
.rc-title { font-size: 0.88rem; font-weight: 600; color: var(--text); line-height: 1.4; margin-bottom: 0.5rem; }
.rc-read { font-family: 'Inter', sans-serif; font-size: 0.78rem; color: var(--green); }

/* Sticky CTA (mobile scroll) */
.sticky-cta {
  display: none; position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--green); z-index: 200; text-align: center; padding: 0;
}
.sticky-cta.visible { display: block; }
.sticky-cta a {
  display: block; padding: 1rem; color: #fff;
  font-family: 'Inter', sans-serif; font-weight: 600;
  font-size: 0.95rem; text-decoration: none;
}

/* ========================================
   BLOG INDEX — Updated class names
   ======================================== */
.blog-index-header { max-width: 1100px; margin: 0 auto; padding: 3rem 2rem 0; }
.blog-index-header h1 { font-size: 2.5rem; font-weight: 700; margin-bottom: 0.5rem; }
.blog-index-header p { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 2rem; }

/* Blog card updated class names */
.blog-card-cat { font-family: 'Inter', sans-serif; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--green); font-weight: 600; margin-bottom: 0.5rem; }
.blog-card-title { font-size: 1rem; font-weight: 600; color: var(--text); line-height: 1.4; margin-bottom: 0.6rem; }
.blog-card-excerpt { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 0.8rem; }
.blog-card-meta { font-family: 'Inter', sans-serif; font-size: 0.75rem; color: var(--text-light); display: flex; gap: 1rem; }

/* Pagination updated class names */
.pag-prev, .pag-next { font-weight: 600; }
.pag-active { background: var(--green); color: #fff !important; border-color: var(--green) !important; }
.pag-dots { border: none !important; color: var(--text-light) !important; cursor: default; }

/* Article list (used on service pages) */
.article-list { list-style: none; padding: 0; margin: 1.5rem 0; }
.article-list li { border-bottom: 1px solid var(--border); padding: 0.75rem 0; }
.article-list li:first-child { border-top: 1px solid var(--border); }
.article-list a { color: var(--text); text-decoration: none; font-size: 0.95rem; }
.article-list a:hover { color: var(--green); }

/* ========================================
   INFOGRAPHIC / CATEGORY PAGES
   ======================================== */
.infographic-section { max-width: 1100px; margin: 0 auto; padding: 3rem 2rem; }
.infographic-bar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2rem; }
.infographic-frame {
  background: var(--warm-white); border: 1px solid var(--border);
  border-radius: 8px; overflow: hidden; transition: box-shadow 0.2s;
}
.infographic-frame:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.infographic-img { width: 100%; height: auto; display: block; }
.ig-label { padding: 1rem 1.2rem; font-weight: 600; font-size: 0.95rem; }
.ig-actions { padding: 0 1.2rem 1.2rem; display: flex; gap: 0.8rem; }
.ig-actions a {
  font-family: 'Inter', sans-serif; font-size: 0.8rem; font-weight: 600;
  color: var(--green); text-decoration: none; border: 1px solid var(--green);
  padding: 0.35rem 0.8rem; border-radius: 4px; transition: background 0.2s, color 0.2s;
}
.ig-actions a:hover { background: var(--green); color: #fff; }

/* ========================================
   PPC / LANDING PAGE — Nav variant
   ======================================== */
.nav { background: var(--charcoal); padding: 1rem 2rem; border-bottom: 3px solid var(--green); }
.nav__inner { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.nav__logo { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 1.1rem; color: #fff; text-decoration: none; }
.nav__cta {
  background: var(--green); color: #fff;
  font-family: 'Inter', sans-serif; font-size: 0.85rem; font-weight: 600;
  padding: 0.6rem 1.2rem; border-radius: 4px; text-decoration: none;
  transition: background 0.2s;
}
.nav__cta:hover { background: var(--green-light); }

/* ========================================
   MISC UTILITY
   ======================================== */
.btn-secondary {
  display: inline-block; border: 2px solid var(--green); color: var(--green);
  font-family: 'Inter', sans-serif; font-size: 0.9rem; font-weight: 600;
  padding: 0.75rem 1.5rem; border-radius: 4px; text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.btn-secondary:hover { background: var(--green); color: #fff; }

.section-label { font-family: 'Inter', sans-serif; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--green); margin-bottom: 0.5rem; }
.section-headline { font-size: 2rem; font-weight: 700; margin-bottom: 0.8rem; }
.section-sub { color: var(--text-muted); font-size: 1.05rem; max-width: 600px; line-height: 1.7; }
.section--tight { padding: 3rem 2rem; }

.entity-summary { max-width: 780px; margin: 0 auto 2rem; padding: 0 2rem; color: var(--text-muted); font-size: 0.95rem; line-height: 1.75; font-style: italic; }

.open { } /* toggled by JS for FAQ/accordion */

/* Stats bar variant */
.stats-bar__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; max-width: 900px; margin: 0 auto; }
.stats-bar__number { font-size: 2rem; font-weight: 700; font-family: 'Inter', sans-serif; color: var(--green); }
.stats-bar__label { font-family: 'Inter', sans-serif; font-size: 0.78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; }

/* Testimonial card variants */
.testimonial-card { background: var(--warm-white); border: 1px solid var(--border); border-radius: 6px; padding: 2rem; }
.testimonial-card__quote { font-size: 1rem; line-height: 1.8; font-style: italic; color: var(--text); margin-bottom: 1.2rem; }
.testimonial-card__attribution { font-family: 'Inter', sans-serif; font-size: 0.82rem; }
.testimonial-attribution { font-family: 'Inter', sans-serif; font-size: 0.82rem; color: var(--text-muted); }
.testimonial-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 700; }
.testimonial-initials { font-size: 0.7rem; font-weight: 700; }
.testimonial-role { color: var(--text-muted); font-size: 0.78rem; }
.testimonial-permalink { font-size: 0.75rem; color: var(--green); text-decoration: none; }
.testimonials-above-fold { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; margin: 2.5rem 0; }

/* Press */
.press-list { list-style: none; padding: 0; margin: 1.5rem 0; }
.press-item { border-bottom: 1px solid var(--border); padding: 1rem 0; display: flex; gap: 1rem; align-items: baseline; }
.press-item-pub { font-family: 'Inter', sans-serif; font-size: 0.75rem; font-weight: 700; color: var(--green); text-transform: uppercase; letter-spacing: 0.04em; min-width: 90px; }
.press-item-title { font-size: 0.95rem; color: var(--text); }
.press-sub { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 2rem; }
.press-accordion { border: 1px solid var(--border); border-radius: 6px; overflow: hidden; margin-bottom: 1rem; }
.press-accordion-header { display: flex; align-items: center; gap: 1rem; padding: 1.2rem 1.5rem; background: var(--warm-white); cursor: pointer; }
.press-accordion-pub { font-family: 'Inter', sans-serif; font-size: 0.75rem; font-weight: 700; color: var(--green); text-transform: uppercase; min-width: 90px; }
.press-accordion-label { font-size: 0.95rem; font-weight: 600; flex: 1; }
.press-accordion-count { font-family: 'Inter', sans-serif; font-size: 0.75rem; color: var(--text-muted); }
.press-accordion-arrow { font-size: 0.75rem; color: var(--text-muted); transition: transform 0.2s; }
.press-accordion-body { padding: 0 1.5rem 1.5rem; background: var(--warm-white); }

/* Contrast / comparison grid */
.contrast-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; margin: 2rem 0; }
.contrast-col { padding: 2rem; }
.contrast-col--yes { background: rgba(27,67,50,0.04); }
.contrast-col--no { background: rgba(197,48,48,0.04); }
.contrast-col__heading { font-family: 'Inter', sans-serif; font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 1rem; }
.contrast-list { list-style: none; padding: 0; }
.contrast-list li { padding: 0.4rem 0; font-size: 0.92rem; display: flex; gap: 0.6rem; }
.li-check { color: var(--green); font-weight: 700; }
.li-cross { color: var(--red); font-weight: 700; }
.cross { color: var(--red); font-weight: 700; }
.highlight-col { background: rgba(27,67,50,0.06); }

/* Approach steps */
.approach-steps { display: grid; gap: 1.5rem; margin: 2rem 0; }
.approach-step { display: flex; gap: 1.5rem; align-items: flex-start; padding: 1.5rem; background: var(--warm-white); border: 1px solid var(--border); border-radius: 6px; }
.approach-step__num { font-family: 'Inter', sans-serif; font-size: 1.5rem; font-weight: 700; color: var(--green); min-width: 2rem; }
.approach-step__title { font-weight: 600; margin-bottom: 0.4rem; }
.approach-step__desc { color: var(--text-muted); font-size: 0.92rem; line-height: 1.7; }

/* Deliverables grid */
.deliverables-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin: 2rem 0; }
.deliverable-card { background: var(--warm-white); border: 1px solid var(--border); border-radius: 6px; padding: 1.5rem; }
.deliverable-card__num { font-family: 'Inter', sans-serif; font-size: 1.2rem; font-weight: 700; color: var(--green); margin-bottom: 0.5rem; }
.deliverable-card__title { font-weight: 600; margin-bottom: 0.4rem; }
.deliverable-card__desc { color: var(--text-muted); font-size: 0.88rem; line-height: 1.6; }

/* Fit check grid */
.fit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin: 2rem 0; }
.fit-item { background: var(--warm-white); border: 1px solid var(--border); border-radius: 6px; padding: 1.2rem 1.5rem; display: flex; gap: 1rem; align-items: flex-start; }
.fit-check { color: var(--green); font-size: 1.1rem; font-weight: 700; }
.fit-text { font-size: 0.92rem; color: var(--text); line-height: 1.6; }

/* Problem grid */
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin: 2rem 0; }
.problem-card { background: var(--warm-white); border: 1px solid var(--border); border-radius: 6px; padding: 1.5rem; }
.problem-card__icon { font-size: 1.5rem; margin-bottom: 0.8rem; }
.problem-card__text { font-size: 0.92rem; color: var(--text-muted); line-height: 1.6; }

/* Symptom map */
.symptom-map { margin: 2rem 0; }
.symptom-row { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--border); }
.symptom-row:first-child { border-top: 1px solid var(--border); }
.symptom-row__header { display: contents; }
.symptom-row__symptom, .symptom-row__cause { padding: 1rem 1.2rem; font-size: 0.92rem; }
.symptom-row__symptom { background: rgba(197,48,48,0.04); }
.symptom-row__cause { background: rgba(27,67,50,0.04); }
.symptom-row__label { font-family: 'Inter', sans-serif; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.3rem; }
.symptom-row__body { font-size: 0.92rem; color: var(--text); }

/* Scarcity / urgency block */
.scarcity-block { background: var(--charcoal); color: #fff; border-radius: 6px; padding: 2rem; text-align: center; margin: 2rem 0; }
.scarcity-block__headline { font-size: 1.3rem; font-weight: 700; margin-bottom: 0.5rem; }
.scarcity-block__sub { color: #B0ACA5; font-size: 0.9rem; margin-bottom: 1rem; }
.scarcity-block__indicator { display: flex; justify-content: center; gap: 0.5rem; align-items: center; font-family: 'Inter', sans-serif; font-size: 0.82rem; color: var(--gold-light); }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-muted); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

/* Intent bridge */
.intent-bridge { background: var(--green-pale); border: 1px solid rgba(27,67,50,0.15); border-radius: 6px; padding: 2rem; margin: 2rem 0; }
.intent-bridge__label { font-family: 'Inter', sans-serif; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--green); margin-bottom: 0.5rem; }
.intent-bridge__headline { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.5rem; }
.intent-bridge__sub { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 0.8rem; }
.intent-bridge__text { font-size: 0.92rem; line-height: 1.7; }

/* Stat callout */
.stat-callout { text-align: center; padding: 2rem; }
.stat-num { font-family: 'Inter', sans-serif; font-size: 2.5rem; font-weight: 700; color: var(--green); }
.stat-desc { color: var(--text-muted); font-size: 0.88rem; }

/* Final CTA / fit check variants */
.final-cta { background: var(--charcoal); padding: 4rem 2rem; text-align: center; }
.faq-section { max-width: 780px; margin: 0 auto; padding: 0 2rem; }

/* Calendly inline embed */
.calendly-inline-section { max-width: 900px; margin: 3rem auto; padding: 0 2rem; }
.calendly-inline-section__label { font-family: 'Inter', sans-serif; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--green); margin-bottom: 0.5rem; }
.calendly-inline-section__headline { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.5rem; }
.calendly-inline-section__sub { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1.5rem; }
.calendly-inline-widget { min-height: 700px; border-radius: 8px; overflow: hidden; }

/* Legal page */
.legal-page { max-width: 780px; margin: 3rem auto; padding: 0 2rem; }
.legal-page h1 { font-size: 1.8rem; margin-bottom: 2rem; }
.legal-page h2 { font-size: 1.2rem; font-weight: 600; margin: 2rem 0 0.8rem; }
.legal-page p { margin-bottom: 1rem; color: var(--text-muted); line-height: 1.8; }

/* ========================================
   RESPONSIVE — Additional breakpoints
   ======================================== */
@media (max-width: 768px) {
  .article-header h1 { font-size: 1.5rem; }
  .related-grid { grid-template-columns: 1fr; }
  .inline-cta-inner { flex-direction: column; gap: 1.2rem; }
  .author-bio-inner { flex-direction: column; }
  .contrast-grid { grid-template-columns: 1fr; }
  .deliverables-grid, .problem-grid { grid-template-columns: 1fr; }
  .fit-grid { grid-template-columns: 1fr; }
  .symptom-row { grid-template-columns: 1fr; }
  .stats-bar__grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-above-fold { grid-template-columns: 1fr; }
  .infographic-bar { grid-template-columns: 1fr; }
  .toc { display: none; } /* hide on mobile unless toggled */
}
