/* ============================================================
   SanRadiance Technologies — "Dark Authority" Design System
   Inspired by modern SaaS dark-mode aesthetics
   ============================================================ */

/* --- Google Fonts loaded via <link> in HTML --- */

/* --- CSS Custom Properties --- */
:root {
  /* Dark Palette */
  --bg-deep: #09090F;
  --bg-surface: #111118;
  --bg-card: #16161F;
  --bg-card-hover: #1E1E2A;
  --bg-section-alt: #0D0D14;

  /* Accent Colors */
  --amber: #F2A93B;
  --amber-hover: #FFB84D;
  --amber-subtle: rgba(242,169,59,0.12);
  --amber-glow: rgba(242,169,59,0.08);
  --green: #22C55E;
  --green-subtle: rgba(34,197,94,0.12);

  /* Text */
  --text: #FFFFFF;
  --text-secondary: rgba(255,255,255,0.7);
  --text-muted: rgba(255,255,255,0.4);

  /* Borders */
  --border: rgba(255,255,255,0.08);
  --border-hover: rgba(255,255,255,0.15);
  --border-amber: rgba(242,169,59,0.3);

  /* Typography */
  --font-display: 'Inter', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --fs-hero: clamp(2.5rem, 5.5vw, 4.2rem);
  --fs-h1: clamp(2rem, 4vw, 3.2rem);
  --fs-h2: clamp(1.5rem, 3vw, 2.4rem);
  --fs-h3: clamp(1.15rem, 2vw, 1.4rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-xs: 0.8rem;
  --lh-body: 1.7;
  --lh-heading: 1.15;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-2xl: 8rem;
  --container: 1200px;
  --container-narrow: 800px;

  /* Effects */
  --radius: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-card: 0 4px 24px rgba(0,0,0,0.3);
  --shadow-glow: 0 0 40px rgba(242,169,59,0.15);
  --glass: rgba(255,255,255,0.03);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text);
  background: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--amber); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--amber-hover); }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* --- Utilities --- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--space-md); }
.container--narrow { max-width: var(--container-narrow); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.text-center { text-align: center; }
.text-amber { color: var(--amber); }
.eyebrow {
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-xs);
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: var(--lh-heading);
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.02em;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); margin-bottom: var(--space-sm); }
h3 { font-size: var(--fs-h3); }
p { margin-bottom: 1rem; color: var(--text-secondary); }
strong { color: var(--text); font-weight: 600; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: var(--fs-body);
  transition: all var(--transition);
  text-align: center;
  cursor: pointer;
  border: none;
}
.btn--primary {
  background: var(--amber);
  color: #09090F;
  box-shadow: 0 2px 16px rgba(242,169,59,0.3);
}
.btn--primary:hover {
  background: var(--amber-hover);
  color: #09090F;
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}
.btn--secondary {
  background: var(--glass);
  color: var(--text);
  border: 1px solid var(--border-hover);
}
.btn--secondary:hover {
  border-color: var(--amber);
  color: var(--amber);
  background: var(--amber-subtle);
}
.btn--ghost {
  background: rgba(255,255,255,0.06);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.15);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.3);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(9,9,15,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.nav.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.5); }
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--container); margin: 0 auto;
  padding: 0 var(--space-md); height: 72px;
}
.nav__logo {
  font-family: var(--font-display);
  font-size: 1.3rem; font-weight: 700;
  color: #fff;
  display: flex; align-items: center; gap: 0.5rem;
}
.nav__logo .logo-mark {
  width: 32px; height: 32px;
  background: var(--amber);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: #09090F; font-size: 0.95rem;
  box-shadow: 0 0 20px rgba(242,169,59,0.4);
}
.nav__links { display: flex; align-items: center; gap: 0.15rem; }
.nav__links a {
  color: var(--text-muted); font-size: var(--fs-small);
  font-weight: 500; padding: 0.5rem 0.7rem;
  border-radius: var(--radius); transition: all var(--transition);
}
.nav__links a:hover, .nav__links a.active { color: #fff; background: rgba(255,255,255,0.06); }
.nav__cta {
  background: var(--amber) !important; color: #09090F !important;
  font-weight: 600 !important; padding: 0.5rem 1.2rem !important;
  border-radius: var(--radius) !important;
  box-shadow: 0 0 16px rgba(242,169,59,0.25);
}
.nav__cta:hover { background: var(--amber-hover) !important; }
.nav__toggle { display: none; flex-direction: column; gap: 5px; padding: 0.5rem; }
.nav__toggle span { width: 24px; height: 2px; background: #fff; transition: all var(--transition); border-radius: 2px; }

@media (max-width: 900px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
    background: var(--bg-deep); flex-direction: column; padding: var(--space-md);
    gap: 0; transform: translateX(100%); transition: transform var(--transition);
    overflow-y: auto; border-top: 1px solid var(--border);
  }
  .nav__links.open { transform: translateX(0); }
  .nav__links a { padding: 1rem; font-size: 1.1rem; width: 100%; color: var(--text-secondary); }
  .nav__links a:hover { color: var(--text); }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: var(--bg-deep);
  color: #fff;
  padding: calc(72px + var(--space-xl)) 0 var(--space-xl);
  overflow: hidden;
  min-height: 90vh;
  display: flex; align-items: center;
}
.hero__glow {
  position: absolute;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(242,169,59,0.1) 0%, transparent 65%);
  top: -150px; right: -150px;
  pointer-events: none;
}
.hero__content { position: relative; z-index: 2; max-width: 720px; }
.hero__eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-small); font-weight: 600;
  color: var(--amber);
  text-transform: uppercase; letter-spacing: 0.15em;
  margin-bottom: var(--space-sm);
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.35rem 1rem;
  background: var(--amber-subtle);
  border-radius: 99px;
  border: 1px solid rgba(242,169,59,0.2);
}
.hero__title {
  font-size: var(--fs-hero); color: #fff;
  margin-bottom: var(--space-md);
  font-weight: 800; letter-spacing: -0.03em;
  line-height: 1.1;
}
.hero__title em { font-style: normal; color: var(--amber); }
.hero__subtitle {
  font-size: 1.15rem; color: var(--text-secondary);
  line-height: 1.75; margin-bottom: var(--space-md);
  max-width: 600px;
}
.hero__actions { display: flex; gap: var(--space-sm); flex-wrap: wrap; }
.hero__stats {
  display: flex; gap: var(--space-lg); margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
}
.hero__stat-value {
  font-family: var(--font-display);
  font-size: 2.2rem; font-weight: 800;
  color: var(--amber); letter-spacing: -0.02em;
}
.hero__stat-label {
  font-size: var(--fs-small);
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  padding: var(--space-xl) 0;
}
.section--alt { background: var(--bg-surface); }
.section--dark { background: var(--bg-deep); color: #fff; }
.section h2 { color: var(--text); }
.section-header {
  text-align: center;
  max-width: 650px; margin: 0 auto var(--space-lg);
}
.section-header p { color: var(--text-secondary); font-size: 1.1rem; }

/* ============================================================
   CARDS — Glass Morphism
   ============================================================ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  transition: all var(--transition);
}
.card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

/* Service Cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.25rem;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
  text-decoration: none;
  display: block;
}
.service-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-amber);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(242,169,59,0.1);
}
.service-card__icon { font-size: 1.8rem; margin-bottom: 1rem; }
.service-card h3 { color: var(--text); margin-bottom: 0.5rem; font-size: 1.2rem; }
.service-card p { color: var(--text-secondary); font-size: 0.95rem; margin-bottom: 1rem; }
.service-card__link {
  color: var(--amber); font-weight: 600;
  font-size: var(--fs-small);
  transition: all var(--transition);
}
.service-card:hover .service-card__link { color: var(--amber-hover); }

/* ============================================================
   PAGE HERO (subpages)
   ============================================================ */
.page-hero {
  background: var(--bg-deep);
  color: #fff;
  padding: calc(72px + var(--space-lg)) 0 var(--space-lg);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { color: #fff; }
.page-hero__breadcrumb {
  font-size: var(--fs-small);
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
}
.page-hero__breadcrumb a { color: var(--amber); }
.page-hero__desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 650px; line-height: 1.7;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, #1B2A4A 0%, #14151A 100%);
  color: #fff;
  padding: var(--space-lg) 0;
  text-align: center;
  position: relative; overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-banner::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(242,169,59,0.08) 0%, transparent 70%);
  top: -200px; left: 50%; transform: translateX(-50%);
  pointer-events: none;
}
.cta-banner h2 { color: #fff; font-size: var(--fs-h2); margin-bottom: var(--space-xs); }
.cta-banner p { color: var(--text-secondary); margin-bottom: var(--space-md); }

/* ============================================================
   PRICING
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem; align-items: start;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  position: relative; overflow: hidden;
  transition: all var(--transition);
}
.pricing-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.pricing-card--featured {
  border-color: var(--amber);
  box-shadow: 0 0 30px rgba(242,169,59,0.1);
}
.pricing-card--featured::before {
  content: 'Most Popular';
  position: absolute; top: 0; right: 0;
  background: var(--amber); color: #09090F;
  padding: 0.35rem 1.25rem; font-size: var(--fs-xs);
  font-weight: 700; border-radius: 0 var(--radius-lg) 0 var(--radius);
}
.pricing-card__name {
  font-size: var(--fs-small); font-weight: 600;
  color: var(--amber); text-transform: uppercase;
  letter-spacing: 0.1em; margin-bottom: 0.5rem;
}
.pricing-card__price {
  font-size: 2.5rem; font-weight: 800;
  color: var(--text); margin-bottom: 0.25rem;
}
.pricing-card__price span { font-size: 1rem; font-weight: 400; color: var(--text-muted); }
.pricing-card__desc { color: var(--text-secondary); margin-bottom: 1.5rem; font-size: 0.95rem; }
.pricing-card ul { margin-bottom: 2rem; }
.pricing-card li {
  padding: 0.6rem 0; border-bottom: 1px solid var(--border);
  font-size: 0.95rem; color: var(--text-secondary);
  display: flex; gap: 0.5rem; align-items: flex-start;
}
.pricing-card li::before {
  content: '✓'; color: var(--green); font-weight: 700;
  flex-shrink: 0;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
}
.testimonial-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-card);
}
.testimonial-card__stars { color: var(--amber); font-size: 1rem; margin-bottom: var(--space-xs); letter-spacing: 2px; }
.testimonial-card__text { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7; margin-bottom: 1rem; font-style: italic; }
.testimonial-card__author { font-weight: 600; color: var(--text); font-size: 0.95rem; }
.testimonial-card__role { font-size: var(--fs-small); color: var(--text-muted); }

/* ============================================================
   BENEFITS GRID
   ============================================================ */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.25rem;
}
.benefit-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
}
.benefit-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}
.benefit-card__icon { font-size: 1.5rem; margin-bottom: 1rem; }
.benefit-card h3 { color: var(--text); margin-bottom: 0.5rem; }
.benefit-card p { color: var(--text-secondary); font-size: 0.95rem; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-grid { max-width: 800px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.faq-item summary {
  padding: 1.25rem 0; cursor: pointer;
  font-weight: 600; font-size: 1.05rem;
  color: var(--text); list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  transition: color var(--transition);
}
.faq-item summary:hover { color: var(--amber); }
.faq-item summary::after { content: '+'; font-size: 1.5rem; color: var(--amber); font-weight: 300; }
.faq-item[open] summary::after { content: '−'; }
.faq-answer { padding: 0 0 1.25rem; }
.faq-answer p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7; }

/* ============================================================
   FORMS
   ============================================================ */
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block; font-size: var(--fs-small);
  font-weight: 600; color: var(--text);
  margin-bottom: 0.4rem;
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 0.85rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text); font-size: var(--fs-body);
  transition: border-color var(--transition);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--amber);
  box-shadow: 0 0 0 3px var(--amber-subtle);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-group select { appearance: none; }
.form-progress { display: flex; gap: 0.5rem; margin-bottom: var(--space-md); }
.form-progress__step {
  flex: 1; height: 4px;
  background: var(--border);
  border-radius: 2px;
  transition: background var(--transition);
}
.form-progress__step.active { background: var(--amber); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-surface);
  color: var(--text-muted);
  padding: var(--space-xl) 0 var(--space-md);
  border-top: 1px solid var(--border);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--border);
}
.footer__brand { max-width: 320px; }
.footer__brand .nav__logo { margin-bottom: var(--space-sm); }
.footer__heading {
  font-size: var(--fs-small); font-weight: 600;
  color: var(--text); text-transform: uppercase;
  letter-spacing: 0.08em; margin-bottom: 1rem;
}
.footer__links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer__links a {
  color: var(--text-muted); font-size: var(--fs-small);
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--amber); }
.footer__bottom {
  text-align: center; font-size: var(--fs-xs);
  color: var(--text-muted);
}
.footer__bottom p { color: var(--text-muted); }

@media (max-width: 768px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--space-md); }
}
@media (max-width: 500px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   READING PROGRESS BAR
   ============================================================ */
.reading-progress {
  position: fixed; top: 72px; left: 0; height: 3px;
  background: var(--amber);
  z-index: 999; width: 0; transition: width 0.1s;
}

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--bg-surface);
  color: var(--text-secondary);
  padding: var(--space-sm) var(--space-md);
  display: none;
  align-items: center; justify-content: space-between;
  gap: var(--space-sm); z-index: 1100;
  font-size: var(--fs-small); flex-wrap: wrap;
  border-top: 1px solid var(--border);
  backdrop-filter: blur(12px);
}
.cookie-banner.show { display: flex; }
.cookie-banner__actions { display: flex; gap: 0.5rem; }
.cookie-banner__actions button {
  padding: 0.5rem 1.2rem; border-radius: var(--radius);
  font-weight: 600; font-size: var(--fs-small);
}
.cookie-btn-accept { background: var(--amber); color: #09090F; }
.cookie-btn-decline { background: rgba(255,255,255,0.06); color: var(--text-secondary); border: 1px solid var(--border); }

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed; bottom: 2rem; right: 2rem;
  width: 44px; height: 44px;
  background: var(--amber);
  color: #09090F;
  border-radius: 50%;
  display: none; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 700;
  z-index: 100;
  box-shadow: 0 4px 16px rgba(242,169,59,0.3);
  transition: all var(--transition);
  text-decoration: none;
}
.back-to-top.visible { display: flex; }
.back-to-top:hover { transform: translateY(-3px); box-shadow: var(--shadow-glow); color: #09090F; }

/* ============================================================
   BLOG POST STYLES
   ============================================================ */
.blog-post { color: var(--text-secondary); }
.blog-post h1 { color: var(--text); }
.blog-post h2 { color: var(--text); margin-top: 2.5rem; margin-bottom: 1rem; font-size: 1.6rem; }
.blog-post h3 { color: var(--text); margin-top: 2rem; margin-bottom: 0.75rem; }
.blog-post p { line-height: 1.8; margin-bottom: 1.25rem; }
.blog-post a { color: var(--amber); text-decoration: underline; text-underline-offset: 3px; }
.blog-post a:hover { color: var(--amber-hover); }
.blog-post ul, .blog-post ol { margin: 1rem 0 1.5rem 1.5rem; }
.blog-post li { margin-bottom: 0.5rem; line-height: 1.7; color: var(--text-secondary); }
.blog-post ul li { list-style: disc; }
.blog-post ol li { list-style: decimal; }
.blog-post blockquote {
  border-left: 3px solid var(--amber);
  padding: 1rem 1.5rem; margin: 1.5rem 0;
  background: var(--bg-card); border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
}
.blog-post code {
  background: var(--bg-card); padding: 0.2rem 0.5rem;
  border-radius: 4px; font-size: 0.9em;
  font-family: 'JetBrains Mono', monospace;
}

.breadcrumb { font-size: var(--fs-small); color: var(--text-muted); margin-bottom: 1.5rem; }
.breadcrumb a { color: var(--amber); }

.pillar-tag {
  background: var(--amber-subtle) !important;
  color: var(--amber) !important;
  padding: 0.25rem 0.75rem;
  border-radius: 99px; font-size: 0.8rem; font-weight: 600;
  border: 1px solid rgba(242,169,59,0.2);
}

.cta-card {
  background: linear-gradient(135deg, #1B2A4A 0%, #14151A 100%);
  color: #fff; padding: 2.5rem;
  border-radius: var(--radius-lg);
  margin: 2.5rem 0; text-align: center;
  border: 1px solid var(--border);
}
.cta-card h3 { color: var(--amber); margin-bottom: 0.75rem; }
.cta-card p { color: var(--text-secondary); }

.author-bio {
  display: flex; gap: 1.5rem; align-items: flex-start;
  padding: 2rem; background: var(--bg-card);
  border-radius: var(--radius-lg); margin: 2.5rem 0;
  border: 1px solid var(--border);
}
.author-bio strong { color: var(--text); }
.author-bio p { color: var(--text-secondary); }
.author-avatar {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--amber); display: flex;
  align-items: center; justify-content: center;
  color: #09090F; font-weight: 700; font-size: 1.25rem;
  flex-shrink: 0;
}

.related-posts { margin: 2.5rem 0; }
.related-posts h3 { color: var(--text); margin-bottom: 1rem; }
.related-posts ul { list-style: none; padding: 0; }
.related-posts li { margin-bottom: 0.5rem; }
.related-posts a {
  color: var(--amber); text-decoration: none;
  padding: 0.5rem 0; display: inline-block;
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}
.related-posts a:hover { color: var(--amber-hover); border-color: var(--amber); }

.post-opening {
  border-bottom: 2px solid var(--amber) !important;
  color: var(--text-secondary) !important;
}

.faq-section { margin: var(--space-md) 0; }
.faq-section h2 { margin-bottom: var(--space-sm); }

/* Blog Grid (blog.html) */
.blog-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-bottom: 2.5rem; }
.filter-btn {
  padding: 0.5rem 1rem; border-radius: 99px;
  background: var(--bg-card); color: var(--text-muted);
  border: 1px solid var(--border);
  font-size: var(--fs-small); font-weight: 500;
  cursor: pointer; transition: all var(--transition);
}
.filter-btn:hover { border-color: var(--amber); color: var(--amber); }
.filter-btn.active { background: var(--amber); color: #09090F; border-color: var(--amber); }

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all var(--transition);
}
.blog-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}
.blog-card__meta { display: flex; gap: 0.75rem; align-items: center; flex-wrap: wrap; margin-bottom: 0.75rem; font-size: var(--fs-small); color: var(--text-muted); }
.blog-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.blog-card h3 a { color: var(--text); text-decoration: none; }
.blog-card h3 a:hover { color: var(--amber); }
.blog-card p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.6; margin: 0; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .hero__stats { flex-direction: column; gap: var(--space-sm); }
  .hero { min-height: auto; padding-bottom: var(--space-lg); }
  .hero__title { font-size: clamp(1.8rem, 7vw, 2.5rem); }
  .services-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr !important; }
}

@media (max-width: 600px) {
  .author-bio { flex-direction: column; align-items: center; text-align: center; }
  .blog-post { padding: var(--space-sm) 1rem var(--space-lg); }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  .nav, .footer, .cookie-banner, .back-to-top, .cta-banner { display: none !important; }
  body { color: #000; background: #fff; }
  .hero { background: #fff !important; color: #000 !important; min-height: auto; padding: 2rem 0; }
  .hero__title, .hero h1 { color: #000 !important; }
  a { color: #000; text-decoration: underline; }
  h1, h2, h3, h4 { color: #000; }
  p { color: #333; }
}

/* ============================================================
   ADDITIONAL COMPONENT STYLES (from core page templates)
   ============================================================ */

/* Card Grid Layout */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.25rem;
}
.card-grid--2 { grid-template-columns: repeat(auto-fill, minmax(400px, 1fr)); }
.card-grid--3 { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }

/* Card Elements */
.card__icon { font-size: 1.8rem; margin-bottom: 1rem; }
.card__title { font-size: 1.2rem; font-weight: 600; color: var(--text); margin-bottom: 0.5rem; }
.card__text { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.6; margin-bottom: 1rem; }
.card__link {
  color: var(--amber); font-weight: 600; font-size: var(--fs-small);
  transition: color var(--transition);
}
.card__link:hover { color: var(--amber-hover); }

/* Content Area */
.content-area {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-md) 0;
}
.content-area h2 { margin-top: 2.5rem; margin-bottom: 1rem; }
.content-area h3 { margin-top: 2rem; margin-bottom: 0.75rem; }
.content-area p { color: var(--text-secondary); line-height: 1.8; margin-bottom: 1.25rem; }
.content-area ul, .content-area ol { margin: 1rem 0 1.5rem 1.5rem; }
.content-area li { margin-bottom: 0.5rem; color: var(--text-secondary); line-height: 1.7; }
.content-area ul li { list-style: disc; }
.content-area ol li { list-style: decimal; }

/* Form Steps (multi-step audit form) */
.form-step { display: none; }
.form-step.active { display: block; }

/* Honeypot (spam protection) */
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* Mid-page CTA */
.mid-cta {
  background: linear-gradient(135deg, #1B2A4A 0%, #14151A 100%);
  color: #fff;
  padding: var(--space-lg) 0;
  text-align: center;
  border-radius: var(--radius-lg);
  margin: var(--space-lg) 0;
  border: 1px solid var(--border);
}
.mid-cta h2, .mid-cta h3 { color: #fff; }
.mid-cta p { color: var(--text-secondary); }

/* Post Meta */
.post-meta {
  display: flex; gap: 0.75rem; align-items: center;
  flex-wrap: wrap; margin-bottom: 1.25rem;
  font-size: var(--fs-small); color: var(--text-muted);
}

/* Pricing Card Extensions */
.pricing-card__badge {
  display: inline-block;
  background: var(--amber);
  color: #09090F;
  padding: 0.25rem 0.75rem;
  border-radius: 99px;
  font-size: var(--fs-xs);
  font-weight: 700;
  margin-bottom: 1rem;
}
.pricing-card__features { margin-bottom: 2rem; }
.pricing-card__features li {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--text-secondary);
  display: flex; gap: 0.5rem; align-items: flex-start;
}
.pricing-card__features li::before {
  content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0;
}

/* Scroll Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Section Header Elements */
.section__eyebrow {
  font-size: var(--fs-small); font-weight: 600;
  color: var(--amber); text-transform: uppercase;
  letter-spacing: 0.15em; margin-bottom: var(--space-xs);
}
.section__title {
  font-size: var(--fs-h2); font-weight: 700;
  color: var(--text); margin-bottom: var(--space-xs);
}
.section__subtitle {
  font-size: 1.1rem; color: var(--text-secondary);
  max-width: 650px; line-height: 1.7;
  margin-bottom: var(--space-md);
}
.section__subtitle--centered {
  font-size: 1.1rem; color: var(--text-secondary);
  max-width: 650px; line-height: 1.7;
  margin: 0 auto var(--space-md);
  text-align: center;
}

/* Stat Dot */
.stat-dot {
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--amber);
  border-radius: 50%;
  margin-right: 0.5rem;
  box-shadow: 0 0 8px rgba(242,169,59,0.4);
}

/* ============================================================
   RESPONSIVE ADDITIONS
   ============================================================ */
@media (max-width: 768px) {
  .card-grid { grid-template-columns: 1fr; }
  .card-grid--2 { grid-template-columns: 1fr; }
  .card-grid--3 { grid-template-columns: 1fr; }
}
