/* =============================================
   MEASURE MARKETING PRO — GLOBAL STYLESHEET
   Brand: Black (#0d0d0d) + Gold (#F5C100)
   ============================================= */

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #0d0d0d;
  color: #e5e7eb;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- CSS Variables ---- */
:root {
  --gold: #F5C100;
  --gold-dark: #c9a000;
  --gold-light: #ffd84d;
  --bg: #0d0d0d;
  --bg-card: #161616;
  --bg-card2: #1e1e1e;
  --border: #2a2a2a;
  --text: #e5e7eb;
  --text-muted: #9ca3af;
  --text-dim: #6b7280;
  --white: #ffffff;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-gold: 0 4px 24px rgba(245,193,0,0.15);
  --max-w: 1140px;
  --transition: all 0.2s ease;
}

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
  color: var(--white);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p { color: var(--text); margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
.text-gold { color: var(--gold); }
.text-muted { color: var(--text-muted); }
.lead { font-size: 1.2rem; color: var(--text-muted); line-height: 1.8; }

/* ---- Layout ---- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-lg { padding: 120px 0; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.text-center { text-align: center; }
.text-left { text-align: left; }

/* ---- Section Labels ---- */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(245,193,0,0.08);
  border: 1px solid rgba(245,193,0,0.2);
  border-radius: 100px;
  padding: 4px 14px;
  margin-bottom: 1rem;
}

/* ---- Divider ---- */
.gold-line {
  width: 48px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin: 1rem 0 1.5rem;
}
.gold-line-center { margin: 1rem auto 1.5rem; }

/* ============================================
   NAVIGATION
   ============================================ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(13,13,13,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  flex-shrink: 0;
}
/* M mark icon — 1563×1563 (1:1 square) */
.nav-logo-img {
  display: block;
  width: 54px;
  height: 54px;
  flex-shrink: 0;
}
/* Banner wordmark — 1800×600 (3:1). Height 72px → auto width ~216px */
.nav-logo-wordmark {
  display: block;
  height: 72px;
  width: auto;
}
.footer-logo-link {
  display: inline-block;
  text-decoration: none;
  margin-bottom: 1rem;
}
/* Full logo is 1563×1563 (1:1 square) */
.footer-logo-img {
  display: block;
  width: 150px;
  height: auto;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
}
.nav-cta {
  background: var(--gold);
  color: #0d0d0d !important;
  font-weight: 700 !important;
  padding: 9px 20px;
  border-radius: 8px;
  transition: var(--transition) !important;
  font-size: 0.85rem !important;
}
.nav-cta:hover { background: var(--gold-light) !important; transform: translateY(-1px); }

/* Services Mega Dropdown */
.nav-item-has-dropdown { position: relative; }
/* Invisible bridge fills the gap between trigger and panel so hover isn't broken */
.nav-item-has-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -20px;
  right: -20px;
  height: 16px;
  display: none;
}
.nav-item-has-dropdown:hover::after { display: block; }
.nav-dropdown {
  position: absolute;
  top: calc(100% + 16px); /* matches bridge height */
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  min-width: 580px;
  display: none;
  box-shadow: var(--shadow);
  gap: 0.5rem;
}
.nav-item-has-dropdown:hover .nav-dropdown { display: grid; grid-template-columns: 1fr 1fr; }
.nav-dropdown-group-label {
  grid-column: 1 / -1;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 0.25rem 0.75rem 0.1rem;
  margin-top: 0.25rem;
}
.nav-dropdown-divider {
  grid-column: 1 / -1;
  height: 1px;
  background: var(--border);
  margin: 0.5rem 0 0.25rem;
}
.nav-dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.nav-dropdown-item:hover { background: var(--bg-card2); }
.nav-dropdown-icon {
  width: 32px;
  height: 32px;
  background: rgba(245,193,0,0.1);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.9rem;
}
.nav-dropdown-icon img { width: 20px; height: 20px; display: block; }
.nav-dropdown-text strong {
  display: block;
  font-size: 0.85rem;
  color: var(--white);
  font-weight: 600;
  margin-bottom: 1px;
}
.nav-dropdown-text span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Mobile hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  letter-spacing: 0.01em;
  text-decoration: none;
}
.btn-primary {
  background: var(--gold);
  color: #0d0d0d;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: var(--shadow-gold); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--gold); padding: 0; font-size: 0.9rem; }
.btn-ghost:hover { color: var(--gold-light); }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }

/* ============================================
   HERO SECTIONS
   ============================================ */
.hero {
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 600px;
  background: radial-gradient(ellipse at center, rgba(245,193,0,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-eyebrow { margin-bottom: 1.25rem; }
.hero h1 { margin-bottom: 1.25rem; max-width: 800px; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lead { max-width: 620px; margin-bottom: 2rem; }
.hero-actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }

/* Service page hero variant */
.hero-service {
  padding: 80px 0 60px;
  border-bottom: 1px solid var(--border);
}
.hero-service h1 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); max-width: 540px; }
.hero-service .lead { max-width: 580px; }

/* ============================================
   CARDS
   ============================================ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: var(--transition);
}
.card:hover { border-color: rgba(245,193,0,0.3); transform: translateY(-3px); box-shadow: var(--shadow); }
.card-icon {
  width: 48px; height: 48px;
  background: rgba(245,193,0,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.card p { font-size: 0.9rem; color: var(--text-muted); }

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.stat { text-align: center; }
.stat-number {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--gold);
  display: block;
  line-height: 1.1;
}
.stat-label { font-size: 0.85rem; color: var(--text-muted); margin-top: 4px; }

/* ============================================
   SERVICES HUB — Category Grid
   ============================================ */
.service-cat-header {
  padding: 1rem 0 0.5rem;
  margin-top: 1rem;
  border-top: 1px solid var(--border);
}
.service-cat-header:first-child { border-top: none; }
.service-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: var(--transition);
  text-decoration: none;
}
.service-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}
.service-card .icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}
.service-card h3 { font-size: 1.05rem; color: var(--white); margin-bottom: 0.4rem; }
.service-card p { font-size: 0.85rem; color: var(--text-muted); flex: 1; }
.service-card .arrow {
  font-size: 0.8rem;
  color: var(--gold);
  margin-top: 1rem;
  font-weight: 600;
}

/* ============================================
   PROCESS STEPS
   ============================================ */
.process-steps { counter-reset: steps; }
.process-step {
  display: flex;
  gap: 1.5rem;
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  align-items: flex-start;
  transition: var(--transition);
}
.process-step:hover { border-color: rgba(245,193,0,0.25); }
.step-num {
  width: 40px; height: 40px;
  min-width: 40px;
  background: var(--gold);
  color: #0d0d0d;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
}
.step-content h4 { font-size: 1.05rem; margin-bottom: 0.3rem; }
.step-content p { font-size: 0.9rem; color: var(--text-muted); margin: 0; }

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-list { max-width: 760px; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  padding: 1.25rem 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: var(--transition);
}
.faq-question:hover { color: var(--gold); }
.faq-chevron {
  width: 20px; height: 20px;
  min-width: 20px;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  transition: var(--transition);
  color: var(--text-muted);
}
.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
}
.faq-answer-inner {
  padding: 0 0 1.25rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); border-color: var(--gold); color: var(--gold); }
.faq-item.open .faq-answer { max-height: 500px; }

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonial {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
}
.testimonial::before {
  content: '"';
  position: absolute;
  top: 1rem; right: 1.5rem;
  font-size: 4rem;
  color: var(--gold);
  opacity: 0.2;
  line-height: 1;
  font-family: Georgia, serif;
}
.testimonial blockquote {
  font-size: 0.95rem;
  color: var(--text);
  font-style: italic;
  margin-bottom: 1.25rem;
  line-height: 1.8;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-author strong { display: block; font-size: 0.9rem; color: var(--white); }
.testimonial-author span { font-size: 0.8rem; color: var(--text-muted); }
.testimonial-avatar {
  width: 40px; height: 40px;
  background: rgba(245,193,0,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--gold);
  font-size: 0.85rem;
}

/* ============================================
   LOGO STRIP (Tools/Platforms)
   ============================================ */
.platform-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1rem;
}
.platform-badge {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 6px 14px;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.platform-badge img { width: 16px; height: 16px; display: block; flex-shrink: 0; }

/* Platform icons inside service cards and card-icon containers */
.service-card .icon img { width: 38px; height: 38px; display: block; }
.card-icon img { width: 26px; height: 26px; display: block; }

/* ============================================
   CERTIFICATIONS
   ============================================ */
.cert-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
}
.cert-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  text-align: center;
}
.cert-badge img { width: 160px; height: auto; display: block; }
.cert-badge span { font-size: 0.78rem; color: var(--text-muted); font-weight: 500; max-width: 180px; line-height: 1.3; }
@media (max-width: 480px) { .cert-badge img { width: 120px; } }

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 1.5rem;
}
.breadcrumb a { color: var(--text-muted); transition: var(--transition); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb-sep { color: var(--text-dim); }

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--bg-card) 0%, #1a1500 100%);
  border: 1px solid rgba(245,193,0,0.2);
  border-radius: var(--radius);
  padding: 3rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 500px; height: 300px;
  background: radial-gradient(ellipse, rgba(245,193,0,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner h2 { margin-bottom: 0.75rem; }
.cta-banner p { color: var(--text-muted); margin-bottom: 2rem; max-width: 520px; margin-left: auto; margin-right: auto; }
.cta-banner-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 1rem;
  max-width: 300px;
}
.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 1rem;
}
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--gold); }

/* ============================================
   INLINE SVG ICONS (no external deps)
   ============================================ */
.icon-check {
  width: 18px; height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(245,193,0,0.12);
  border-radius: 50%;
  flex-shrink: 0;
}
.check-list { display: flex; flex-direction: column; gap: 0.65rem; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-muted);
}
.check-list li .icon-check::after {
  content: '✓';
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 800;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .hero { padding: 72px 0 56px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .cta-banner { padding: 2rem 1.5rem; }
  .cta-banner-actions { flex-direction: column; }
}
@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  h1 { font-size: 1.9rem; }
}

/* ============================================
   UTILITY
   ============================================ */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-6 { margin-top: 3rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 3rem; }
.hidden { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ============================================
   PAGE-SPECIFIC: SERVICE DETAIL PAGE
   ============================================ */
.service-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.service-feature {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
}
.service-feature h4 { font-size: 0.95rem; margin-bottom: 0.3rem; }
.service-feature p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }

.result-callout {
  background: linear-gradient(135deg, rgba(245,193,0,0.08), rgba(245,193,0,0.02));
  border: 1px solid rgba(245,193,0,0.25);
  border-radius: var(--radius);
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.result-callout .number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  white-space: nowrap;
}
.result-callout .label { font-size: 0.9rem; color: var(--text-muted); }

@media (max-width: 600px) {
  .service-feature-grid { grid-template-columns: 1fr; }
  .result-callout { flex-direction: column; text-align: center; }
}

/* ============================================
   BLOG — Index & Post Pages
   ============================================ */

/* ----- Blog Hub ----- */
.blog-hero { padding: 5rem 0 3rem; text-align: center; }
.blog-hero .tag { display: inline-block; background: rgba(245,193,0,0.12); color: var(--gold); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.35rem 0.9rem; border-radius: 100px; margin-bottom: 1.25rem; }
.blog-hero h1 { margin-bottom: 1rem; }
.blog-hero p { color: var(--text-muted); max-width: 560px; margin: 0 auto; font-size: 1.05rem; }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; padding-bottom: 5rem; }
.blog-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: var(--transition); }
.blog-card:hover { border-color: rgba(245,193,0,0.35); transform: translateY(-3px); box-shadow: var(--shadow-gold); }
.blog-card-body { padding: 1.6rem; flex: 1; display: flex; flex-direction: column; }
.blog-card-meta { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.9rem; }
.blog-card-category { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--gold); background: rgba(245,193,0,0.1); padding: 0.2rem 0.6rem; border-radius: 100px; }
.blog-card-date { font-size: 0.78rem; color: var(--text-dim); }
.blog-card h2 { font-size: 1.1rem; margin-bottom: 0.75rem; line-height: 1.35; }
.blog-card h2 a { color: var(--white); }
.blog-card h2 a:hover { color: var(--gold); }
.blog-card p { font-size: 0.88rem; color: var(--text-muted); flex: 1; margin-bottom: 1.25rem; }
.blog-card-readmore { font-size: 0.82rem; font-weight: 600; color: var(--gold); display: flex; align-items: center; gap: 0.4rem; }
.blog-card-readmore::after { content: '→'; }

/* ----- Post Layout ----- */
.post-layout { display: grid; grid-template-columns: 1fr 280px; gap: 3rem; align-items: start; padding: 3rem 0 5rem; }
.post-main { min-width: 0; }
.post-sidebar { position: sticky; top: 110px; }

/* Breadcrumb */
.breadcrumb { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; color: var(--text-dim); margin-bottom: 2rem; flex-wrap: wrap; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--text-dim); }

/* Post header */
.post-header { margin-bottom: 2.5rem; }
.post-header .post-category { display: inline-block; background: rgba(245,193,0,0.12); color: var(--gold); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; padding: 0.3rem 0.8rem; border-radius: 100px; margin-bottom: 1rem; }
.post-header h1 { margin-bottom: 1rem; }
.post-meta { display: flex; align-items: center; gap: 1.25rem; font-size: 0.82rem; color: var(--text-muted); flex-wrap: wrap; }
.post-meta span { display: flex; align-items: center; gap: 0.35rem; }

/* Post body */
.post-body { font-size: 1.02rem; line-height: 1.8; color: var(--text); }
.post-body h2 { font-size: 1.55rem; margin: 2.5rem 0 1rem; padding-top: 0.5rem; border-top: 1px solid var(--border); color: var(--white); }
.post-body h3 { font-size: 1.2rem; margin: 1.75rem 0 0.75rem; color: var(--white); }
.post-body p { margin-bottom: 1.25rem; }
.post-body ul, .post-body ol { margin: 1rem 0 1.5rem 1.5rem; }
.post-body li { margin-bottom: 0.5rem; }
.post-body ul li { list-style: disc; }
.post-body ol li { list-style: decimal; }
.post-body strong { color: var(--white); }
.post-body a { color: var(--gold); text-decoration: underline; text-decoration-color: rgba(245,193,0,0.3); }
.post-body a:hover { text-decoration-color: var(--gold); }
.post-body a.btn, .post-body a.btn:hover { color: #0d0d0d; text-decoration: none; }

/* Callout / tip box */
.post-callout { background: rgba(245,193,0,0.07); border-left: 4px solid var(--gold); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 1.25rem 1.5rem; margin: 1.75rem 0; }
.post-callout p { margin: 0; font-size: 0.95rem; }
.post-callout strong { color: var(--gold); }

/* Code-like highlight */
.post-body code { background: #1e1e1e; border: 1px solid var(--border); border-radius: 4px; padding: 0.15em 0.45em; font-family: 'JetBrains Mono', 'Fira Code', monospace; font-size: 0.88em; color: var(--gold-light); }

/* Table of Contents (sidebar) */
.toc-box { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; }
.toc-box h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-dim); margin-bottom: 1rem; }
.toc-list { display: flex; flex-direction: column; gap: 0.4rem; }
.toc-list a { font-size: 0.85rem; color: var(--text-muted); padding: 0.3rem 0.5rem; border-radius: 6px; transition: var(--transition); border-left: 2px solid transparent; }
.toc-list a:hover, .toc-list a.active { color: var(--gold); background: rgba(245,193,0,0.07); border-left-color: var(--gold); }

/* Sidebar CTA */
.sidebar-cta { background: linear-gradient(135deg, rgba(245,193,0,0.1), rgba(245,193,0,0.03)); border: 1px solid rgba(245,193,0,0.25); border-radius: var(--radius); padding: 1.5rem; margin-top: 1.5rem; text-align: center; }
.sidebar-cta h4 { font-size: 1rem; margin-bottom: 0.6rem; }
.sidebar-cta p { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 1rem; }

/* Author card */
.author-card { display: flex; align-items: center; gap: 1.25rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; margin: 3rem 0; }
.author-avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 2px solid var(--gold); }
.author-info .name { font-weight: 700; color: var(--white); margin-bottom: 0.25rem; }
.author-info .role { font-size: 0.82rem; color: var(--gold); margin-bottom: 0.5rem; }
.author-info p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }

/* FAQ section */
.post-faq { margin-top: 3rem; }
.post-faq h2 { font-size: 1.55rem; margin-bottom: 1.5rem; }

/* Related posts */
.related-posts { margin-top: 4rem; padding-top: 2.5rem; border-top: 1px solid var(--border); }
.related-posts h3 { font-size: 1.25rem; margin-bottom: 1.5rem; }
.related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.related-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 1.25rem; transition: var(--transition); }
.related-card:hover { border-color: rgba(245,193,0,0.3); }
.related-card .rc-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--gold); font-weight: 700; margin-bottom: 0.5rem; }
.related-card h4 { font-size: 0.95rem; color: var(--white); line-height: 1.35; }
.related-card h4 a { color: inherit; }
.related-card h4 a:hover { color: var(--gold); }

/* Blog responsive */
@media (max-width: 900px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .post-layout { grid-template-columns: 1fr; }
  .post-sidebar { position: static; }
}
@media (max-width: 600px) {
  .blog-grid { grid-template-columns: 1fr; }
  .author-card { flex-direction: column; text-align: center; }
  .related-grid { grid-template-columns: 1fr; }
}

/* ============================================
   TESTIMONIALS CAROUSEL
   ============================================ */
.testimonials-section { overflow: hidden; }

.testimonial-carousel {
  position: relative;
  padding: 0 3rem; /* space for arrows */
}

.testimonial-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  transition: opacity 0.25s ease;
}

/* Arrow buttons */
.testimonial-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-card2);
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 2;
}
.testimonial-arrow:hover:not(:disabled) {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(245,193,0,0.08);
}
.testimonial-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.testimonial-arrow--prev { left: 0; }
.testimonial-arrow--next { right: 0; }

/* Dots */
.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.75rem;
}
.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}
.testimonial-dot.active {
  background: var(--gold);
  width: 24px;
  border-radius: 4px;
}

/* Responsive track */
@media (max-width: 960px) {
  .testimonial-track { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .testimonial-track { grid-template-columns: 1fr; }
  .testimonial-carousel { padding: 0 2.5rem; }
  .testimonial-arrow { width: 36px; height: 36px; }
}

/* ===== CLIENT LOGOS MARQUEE ===== */
.clients-section {
  padding: 2rem 0 2.25rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  overflow: hidden;
}
.clients-label {
  text-align: center;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.marquee-outer {
  overflow: hidden;
  position: relative;
  /* fade edges */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}
.marquee-track {
  display: flex;
  gap: 0; /* gap replaced by margin-right on items to fix seam at loop point */
  width: max-content;
  animation: marquee-scroll 60s linear infinite;
  align-items: center;
}
.marquee-track:hover {
  animation-play-state: paused;
}
.marquee-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 216px;
  margin-right: 5rem; /* uniform trailing space — makes the loop seam seamless */
}
.marquee-item img {
  height: 180px;
  width: auto;
  max-width: 540px;
  object-fit: contain;
  opacity: 0.85;
  filter: none;
  transition: opacity 0.2s ease;
  display: block;
}
.marquee-item img:hover {
  opacity: 1;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ===== GAMEPLAN CTA — responsive playbook cover ===== */
@media (max-width: 700px) {
  #gameplan-grid, .gameplan-grid {
    grid-template-columns: 1fr !important;
  }
  .gameplan-cover {
    display: none;
  }
}

/* ===== PLATFORM LOGO IN CARD ICON ===== */
.card-logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
}
