/* 
  Elevare Food Safety - Design System & Styles
*/

:root {
  /* Color Palette */
  --primary: #1A3A2E; /* Deep Forest Green */
  --primary-light: #2c5a48;
  --accent: #4CAF82;  /* Fresh Sage Green */
  --accent-hover: #3d926b;
  --accent-text: #2F7656; /* Sage-family text with AA contrast on white */
  --light: #F4F9F6;   /* Off-white mint */
  --dark: #0F1F18;    /* Near-black */
  --gold: #C9A84C;    /* Warm gold */
  --gold-text: #8A6500; /* Gold-family text with AA contrast on light backgrounds */
  --white: #FFFFFF;
  --ivory: #F4EFE6;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-600: #4b5563;
  --gray-800: #1f2937;

  /* Typography */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.07);

  /* Transitions */
  --transition: all 0.3s ease;
  --transition-slow: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);

  /* Editorial accents */
  --gold-line-thick: 2px;
  --rule-anim-duration: 1200ms;

  /* Layout */
  --container-narrow: 720px;
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary);
  margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }

p {
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: var(--transition);
}

:focus-visible {
  outline: 3px solid var(--dark);
  outline-offset: 3px;
  box-shadow: 0 0 0 5px var(--white);
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2000;
  padding: 0.75rem 1rem;
  border: 2px solid var(--gold);
  border-radius: 4px;
  background: var(--dark);
  color: var(--white);
  font-weight: 600;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

main section[id],
#message,
#book {
  scroll-margin-top: 6.5rem;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent-text); }
.text-white { color: var(--white); }
.text-gold { color: var(--gold-text); }
.bg-light { background-color: var(--light); }
.bg-primary { background-color: var(--primary); }
.bg-dark { background-color: var(--dark); }

.section-padding {
  padding: 6rem 0;
}

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  font-family: var(--font-body);
}

.btn-primary {
  background-color: var(--accent);
  color: var(--dark);
}

.btn-primary:hover {
  background-color: var(--accent);
  color: var(--dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--white);
  color: var(--white);
}

.btn-outline:hover {
  background-color: var(--white);
  color: var(--primary);
}

.btn-dark {
  background-color: var(--primary);
  color: var(--white);
}
.btn-dark:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-leaf {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
  list-style: none;
}

.nav-links a {
  font-weight: 500;
  color: var(--gray-800);
}

.nav-links a:hover {
  color: var(--accent-text);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
}

/* Hero Section */
.hero {
  background-color: var(--dark);
  color: var(--white);
  padding: 10rem 0 6rem;
  position: relative;
  overflow: hidden;
}

/* Editorial dark section (used by /contact hero etc.) */
.dark-section {
  background-color: var(--dark);
  color: var(--ivory);
}
.dark-section h1, .dark-section h2, .dark-section h3 { color: var(--white); }
.dark-section .eyebrow { color: var(--gold); }

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at right, rgba(76, 175, 130, 0.1) 0%, transparent 50%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero h1 {
  color: var(--white);
  font-size: 4rem;
  margin-bottom: 1.5rem;
}

.hero p.lead {
  font-size: 1.25rem;
  color: var(--gray-200);
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-btns {
  display: flex;
  gap: 1rem;
}

/* Trust Bar */
.trust-bar {
  background-color: var(--primary);
  color: var(--white);
  padding: 1rem 0;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 1px;
}

.trust-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.trust-item i {
  color: var(--accent);
}

/* Pain Point Hook */
.pain-points {
  background-color: var(--white);
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.pain-card {
  padding: 2rem;
  background: var(--light);
  border-radius: 8px;
  border-left: 4px solid var(--accent);
}

.pain-card h4 {
  font-family: var(--font-body);
  font-size: 1.25rem;
}

/* Services Overview */
.services {
  background-color: var(--light);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  font-size: 2.5rem;
  color: var(--accent-text);
  margin-bottom: 1.5rem;
}

.service-link {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-link:hover {
  color: var(--accent-text);
}

/* How It Works */
.how-it-works {
  background-color: var(--white);
}

.steps-container {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-top: 4rem;
}

.steps-container::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 50px;
  right: 50px;
  height: 2px;
  background-color: var(--gray-200);
  z-index: 1;
}

.step {
  position: relative;
  z-index: 2;
  text-align: center;
  flex: 1;
  padding: 0 1rem;
}

.step-number {
  width: 80px;
  height: 80px;
  background-color: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: bold;
  margin: 0 auto 1.5rem;
  border: 4px solid var(--white);
  box-shadow: var(--shadow-md);
}

/* Packages */
.packages {
  background-color: var(--primary);
  color: var(--white);
}

.packages .section-title {
  color: var(--white);
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.package-card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.package-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--gold);
}

.package-card.popular {
  border-color: var(--gold);
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.1);
}

.package-card.popular:hover {
  transform: scale(1.05) translateY(-5px);
}

.popular-badge {
  background-color: var(--gold);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.25rem 1rem;
  border-radius: 20px;
  align-self: flex-start;
  margin-bottom: 1rem;
}

.package-title {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.package-price {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--gold);
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.package-price span {
  display: block;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.88);
  font-family: var(--font-body);
  font-weight: 600;
  margin-top: 0.45rem;
}

/* The ISO range is deliberately compact enough to remain a single, scannable line. */
.package-price--compact {
  font-size: clamp(1.7rem, 2.1vw, 2.25rem);
  white-space: nowrap;
}

.package-card__summary {
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.55;
}

.package-card__footer {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.88);
}

.package-features {
  list-style: none;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.package-features li {
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.94);
}

.package-features li i {
  color: var(--accent);
  margin-top: 0.25rem;
}

/* About Preview */
.about-preview {
  background-color: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
}

.about-image::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100%;
  height: 100%;
  background-color: var(--accent);
  border-radius: 12px;
  z-index: 1;
}

/* Testimonials */
.testimonials {
  background-color: var(--light);
}

.testimonial-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
}

.stars {
  color: var(--gold);
  margin-bottom: 1rem;
}

.client-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  border-top: 1px solid var(--gray-200);
  padding-top: 1rem;
}

.client-info h5 {
  margin: 0;
  font-family: var(--font-body);
}

.client-info p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--gray-600);
}

/* FAQ */
.faq-section {
  background: var(--light);
}

.faq-list {
  max-width: 840px;
  margin: 0 auto;
  border-top: 1px solid rgba(26, 58, 46, 0.2);
}

.faq-item {
  border-bottom: 1px solid rgba(26, 58, 46, 0.2);
}

.faq-item summary {
  position: relative;
  padding: 1.25rem 2.5rem 1.25rem 0;
  color: var(--primary);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0.25rem;
  font-size: 1.5rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  max-width: 760px;
  padding: 0 2.5rem 1.25rem 0;
  color: var(--gray-600);
}

/* CTA Strip */
.cta-strip {
  background-color: var(--accent);
  color: var(--dark);
  padding: 4rem 0;
  text-align: center;
}

.cta-strip h2 {
  color: var(--dark);
  margin-bottom: 1.5rem;
}

.cta-strip p {
  color: var(--dark) !important;
}

/* Footer */
.site-footer {
  background-color: var(--dark);
  color: var(--gray-400);
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-title {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--gray-400);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-contact i {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
  .hero h1 { font-size: 3rem; }
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .steps-container::before { display: none; }
  .steps-container { flex-direction: column; gap: 3rem; }
  .package-card.popular { transform: none; }
  .package-card.popular:hover { transform: translateY(-5px); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--white);
    flex-direction: column;
    padding: 2rem;
    box-shadow: var(--shadow-md);
  }

  .nav-links.active {
    display: flex;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero { padding: 8rem 0 4rem; }
  .hero h1 { font-size: 2.5rem; }
  .hero-btns { flex-direction: column; }
  .trust-inner { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   Logo integration (new 2026-06 brand assets)
   ========================================================= */
.logo img {
  display: block;
  height: 40px;
  width: auto;
}
.logo__fallback {
  display: none;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary);
  font-size: 1.5rem;
  align-items: center;
  gap: 0.5rem;
}
.logo--missing .logo__fallback {
  display: inline-flex;
}
.logo--missing .logo__fallback::before {
  content: '\f06c'; /* fa-leaf fallback */
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--accent);
  margin-right: 0.5rem;
}
.footer-brand .logo img {
  height: 40px;
  margin-bottom: 0;
}

/* Brand wordmark — text logo used in header and footer */
.logo__wordmark {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.1;
}
.logo__wordmark-accent {
  color: var(--gold);
  font-weight: 600;
}

.site-header .logo__wordmark-accent {
  color: var(--gold-text);
}

/* Header: text-only wordmark on light chrome */
.site-header .logo__wordmark {
  font-size: 1.4rem;
  color: var(--primary);
}

/* Footer: icon + wordmark, light on dark ground */
.site-footer__brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.site-footer__brand .footer-logo img {
  height: 40px;
  width: auto;
}
.footer-brand .logo__wordmark,
.site-footer__brand .footer-logo .logo__wordmark {
  color: var(--white);
  font-size: 1.15rem;
}

/* =========================================================
   Editorial accents — gold rules, italic Playfair, eyebrow labels
   (lightweight additions on top of the existing draft design)
   ========================================================= */
.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-text);
  display: inline-block;
  margin-bottom: 0.75rem;
}
.section-heading {
  text-align: center;
  margin-bottom: 1rem;
}
.section-heading .eyebrow {
  display: block;
}
.section-heading .gold-rule {
  display: block;
  height: var(--gold-line-thick);
  background: var(--gold);
  border: 0;
  width: 80px;
  margin: 1rem auto 1.5rem;
  transform-origin: left center;
  animation: rule-grow var(--rule-anim-duration) var(--transition) both;
}
@keyframes rule-grow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
.hero em,
.packages em {
  font-style: italic;
  color: var(--gold);
}
.hero h1 em {
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}

/* =========================================================
   Additional polish — staggered fade-in, hover micro-interactions
   ========================================================= */
.pain-card {
  transition: var(--transition);
}
.pain-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-left-color: var(--gold);
}
.testimonial-card {
  transition: var(--transition);
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.step-number {
  transition: var(--transition);
}
.step:hover .step-number {
  background-color: var(--accent);
  color: var(--dark);
  transform: scale(1.08);
}
.cta-strip {
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.18) 0%, transparent 55%);
  pointer-events: none;
}
.cta-strip > .container {
  position: relative;
  z-index: 1;
}

/* Reduce motion respect */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .fade-in { opacity: 1; transform: none; }
}

/* =========================================================
   Contact form
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.contact-grid--single {
  grid-template-columns: minmax(0, 680px);
  justify-content: center;
}
@media (max-width: 991.98px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* Form */
.form-row { margin-bottom: 1.25rem; }
.form-row label {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
  margin-bottom: 0.4rem;
}
.form-input, .form-textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--gray-800);
  background: var(--white);
  border: 1px solid rgba(201, 168, 76, 0.4);
  border-radius: 4px;
  padding: 0.65rem 0.85rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.25);
}
.form-textarea { min-height: 120px; resize: vertical; }
.form-input[aria-invalid="true"], .form-textarea[aria-invalid="true"] {
  border-color: #b3261e;
}
.field-error {
  display: block;
  color: #b3261e;
  font-size: 0.8125rem;
  min-height: 1rem;
  margin-top: 0.3rem;
}

/* Honeypot: present in DOM, invisible to sighted users, reachable by bots */
.hp-field {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Status region */
#cf-status { margin-top: 1rem; font-size: 0.95rem; }
#cf-status.is-success { color: var(--accent-text); }
#cf-status.is-error { color: #b3261e; }

/* Contact details + map placeholder */
.contact-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (max-width: 575.98px) {
  .contact-details { grid-template-columns: 1fr; }
}
.contact-details__item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.contact-details__item i { color: var(--gold); margin-top: 0.15rem; }
.contact-details__item h4 { margin: 0 0 0.15rem; font-size: 0.8125rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--primary); }
.contact-details__item p { margin: 0; color: var(--gray-600); }
.map-placeholder {
  margin-top: 2.5rem;
  border: 1px dashed rgba(201, 168, 76, 0.6);
  border-radius: 6px;
  background: var(--light);
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--gray-600);
  padding: 1.5rem;
}

/* =========================================================
   Shared utility gaps (classes already used in markup)
   ========================================================= */
.section-padding--xl { padding: 7rem 0; }
.full-bleed { width: 100%; }

/* Gold rules — horizontal accent lines */
.gold-rule {
  display: block;
  width: 4rem;
  height: var(--gold-line-thick);
  background: var(--gold);
  border: 0;
  margin: 1.25rem 0;
}
.rule--xl { width: 4rem; height: 3px; }
.rule--lg { width: 3rem; }

/* Button variants */
.btn--gold { background-color: var(--gold); color: var(--primary); border: 2px solid var(--gold); }
.btn--gold:hover { background-color: transparent; color: var(--gold-text); border-color: var(--gold-text); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.article__cta .btn--gold:hover { color: var(--gold); border-color: var(--gold); }
.btn--ghost-dark { background: transparent; color: var(--primary); border: 2px solid rgba(26, 58, 46, 0.45); }
.btn--ghost-dark:hover { background: var(--primary); border-color: var(--primary); color: var(--white); transform: translateY(-2px); }

/* =========================================================
   Blog index
   ========================================================= */
.blog-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}
.blog-search {
  flex: 1 1 240px;
  max-width: 320px;
  padding: 0.6rem 0.9rem;
  border: 1px solid var(--gray-200);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--gray-800);
  background: var(--white);
}
.blog-search:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
.blog-filter { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.blog-filter__btn {
  background: transparent;
  border: 1px solid var(--gray-200);
  color: var(--gray-600);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
}
.blog-filter__btn:hover { border-color: var(--gold); color: var(--primary); }
.blog-filter__btn.is-active { background: var(--primary); border-color: var(--primary); color: var(--white); }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(201, 168, 76, 0.4); }
.blog-card__link { display: block; color: inherit; text-decoration: none; }
.blog-card__media {
  position: relative;
  height: 160px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  overflow: hidden;
}
.blog-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 35, 27, 0.72) 100%);
}
.blog-card__category {
  position: absolute;
  z-index: 1;
  bottom: 1rem;
  left: 1rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--dark);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
}
.blog-card__body { padding: 1.5rem; }
.blog-card__title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 0.6rem;
  line-height: 1.25;
}
.blog-card__excerpt { color: var(--gray-600); font-size: 0.95rem; line-height: 1.5; margin-bottom: 1rem; }
.blog-card__readmore { color: var(--gold-text); font-weight: 600; font-size: 0.875rem; }
.blog-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--gray-600);
  padding: 3rem 0;
  font-style: italic;
}

/* =========================================================
   Article (editorial template)
   ========================================================= */
.article { max-width: var(--container-narrow); margin: 0 auto; }
.article__hero {
  position: relative;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--ivory);
  padding: 4rem 2rem;
  border-radius: 8px;
  margin-bottom: 3rem;
}
.article__category {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.article__title {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 1rem;
}
.article__meta {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: rgba(244, 239, 230, 0.75);
}
.article__meta span + span::before { content: '·'; margin: 0 0.5rem; color: var(--gold); }

.article__feature {
  margin: -1.5rem 0 3rem;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
}
.article__feature img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.article__body { font-family: var(--font-body); color: var(--gray-800); font-size: 1.0625rem; line-height: 1.75; }
.article__body > p { margin-bottom: 1.4rem; }
.article__body > p:first-of-type::first-letter {
  font-family: var(--font-heading);
  font-size: 3.4rem;
  float: left;
  line-height: 0.9;
  padding: 0.1rem 0.5rem 0 0;
  color: var(--primary);
}
.article__body h2 {
  font-family: var(--font-heading);
  color: var(--primary);
  font-size: 1.6rem;
  margin: 2.5rem 0 1rem;
}
.article__body h3 {
  font-family: var(--font-heading);
  color: var(--primary);
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem;
}
.article__body ul, .article__body ol { margin: 0 0 1.4rem 1.25rem; }
.article__body li { margin-bottom: 0.5rem; }
.article__body a { color: var(--primary); text-decoration: underline; text-decoration-color: var(--gold); }
.article__body a:hover { color: var(--gold); }

.pull-quote {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  line-height: 1.4;
  color: var(--primary);
  border-left: 3px solid var(--gold);
  padding: 0.5rem 0 0.5rem 1.5rem;
  margin: 2.5rem 0;
  font-style: italic;
}

.key-takeaways {
  background: var(--light);
  border: 1px solid rgba(201, 168, 76, 0.35);
  border-left: 4px solid var(--gold);
  border-radius: 6px;
  padding: 1.75rem 2rem;
  margin: 2.5rem 0;
}
.key-takeaways h3 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin: 0 0 1rem;
}

#cf-privacy-note a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
.key-takeaways ul { margin: 0 0 0 1.1rem; color: var(--gray-800); }
.key-takeaways li { margin-bottom: 0.6rem; line-height: 1.55; }

.author-bio {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  background: var(--ivory);
  border-radius: 8px;
  padding: 2rem;
  margin: 3rem 0;
}
.author-bio__avatar {
  flex: 0 0 80px;
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 2rem;
}
.author-bio__name { font-family: var(--font-heading); color: var(--primary); font-size: 1.25rem; margin-bottom: 0.4rem; }
.author-bio__title { color: var(--gray-600); font-size: 0.875rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.75rem; }
.author-bio__desc { color: var(--gray-800); font-size: 0.95rem; line-height: 1.6; }
.author-bio__desc a { color: var(--primary); text-decoration: underline; text-decoration-color: var(--gold); }

.article__cta {
  background: var(--dark);
  color: var(--ivory);
  border-radius: 8px;
  padding: 2.5rem;
  text-align: center;
  margin: 3rem 0;
}
.article__cta h3 { color: var(--white); font-family: var(--font-heading); font-size: 1.5rem; margin-bottom: 0.75rem; }
.article__cta p { color: rgba(244, 239, 230, 0.8); margin-bottom: 1.5rem; }

/* =========================================================
   Legal prose (privacy/terms)
   ========================================================= */
.legal-prose { max-width: var(--container-narrow); margin: 0 auto; font-family: var(--font-body); color: var(--gray-800); line-height: 1.75; font-size: 1rem; }
.legal-prose h2 { font-family: var(--font-heading); color: var(--primary); font-size: 1.4rem; margin: 2.5rem 0 1rem; }
.legal-prose p { margin-bottom: 1.2rem; }
.legal-prose ul { margin: 0 0 1.2rem 1.25rem; }
.legal-prose li { margin-bottom: 0.5rem; }
.legal-prose a { color: var(--primary); text-decoration: underline; text-decoration-color: var(--gold); }
.legal-notice {
  background: var(--ivory);
  border: 1px solid rgba(201, 168, 76, 0.4);
  border-left: 4px solid var(--gold);
  border-radius: 6px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.5rem;
  font-size: 0.9rem;
  color: var(--gray-800);
}
.legal-meta { color: var(--gray-600); font-size: 0.9rem; font-style: italic; margin-bottom: 2rem; }

/* Long-form reading prose — justified for an even column edge, with
   automatic hyphenation to avoid large inter-word gaps. Scope is kept to
   paragraph-dense blocks (articles, legal pages, the about bio); short UI
   text (cards, captions, buttons, nav, eyebrows, headings) stays left/centered
   where justify would harm readability. */
.article__body,
.legal-prose,
.about-content {
  text-align: justify;
  hyphens: auto;
}

.about-content__statement {
  text-align: left;
}

/* Injected footer legal row (components.js chrome) */
.site-footer__legal { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem; margin-top: 1.5rem; }
.site-footer__legal p { margin: 0; color: var(--gray-400); font-size: 0.9rem; }
.site-footer__legal a { color: var(--gray-400); }
.site-footer__legal a:hover { color: var(--gold); }

/* Shared chrome layout (components.js header/footer) — makes the injected
   header/footer lay out correctly on every page. */
.site-header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.mobile-menu-btn__bar { display: block; width: 22px; height: 2px; background: var(--primary); margin: 4px 0; transition: var(--transition); }

.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.site-footer__heading { color: var(--white); font-family: var(--font-heading); font-size: 1.25rem; margin-bottom: 1.5rem; }
.site-footer__col ul { list-style: none; }
.site-footer__col li { margin-bottom: 0.75rem; }
.site-footer__col a { color: var(--gray-400); transition: var(--transition); }
.site-footer__col a:hover { color: var(--gold); }
.site-footer__tagline { color: var(--gray-400); font-size: 0.9rem; max-width: 320px; margin-top: 1rem; }
.site-footer__social { display: flex; gap: 1rem; list-style: none; }
.site-footer__social a { color: var(--gray-400); font-size: 1.25rem; }
.site-footer__social a:hover { color: var(--gold); }
@media (max-width: 768px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

/* =========================================================
   Packages — supplementary band (3-Month Audit-Ready Program)
   Slim full-width band below the package cards; no card/box so it
   doesn't visually compete with the main packages above.
   ========================================================= */
.package-extras {
  max-width: 760px;
  margin: 3.5rem auto 0;
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 2.5rem;
  backdrop-filter: blur(10px);
}
.package-extras .gold-rule { margin: 0 auto 1.5rem; }
.package-extras__eyebrow {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 0.55rem;
  text-transform: uppercase;
}
.package-extras__lead {
  font-family: var(--font-heading);
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 0.65rem;
}
.package-extras__price {
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 1rem;
}
.package-extras__price span {
  color: rgba(255, 255, 255, 0.82);
  display: block;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 0.5rem;
}
.package-extras__desc {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 620px;
  margin: 0 auto 1.25rem;
}
.package-extras__cta { margin: 0.25rem 0 1.25rem; }
.package-extras__nudge { color: var(--gray-400); font-size: 0.9rem; margin: 0; }
.package-extras__nudge a { color: var(--gold); text-decoration: underline; text-decoration-color: var(--gold); }
.package-extras__nudge a:hover { color: var(--white); }

/* =========================================================
   Responsive — blog + article + legal
   ========================================================= */
@media (max-width: 992px) {
  .article__title { font-size: 2rem; }
  .author-bio { flex-direction: column; }
}
@media (max-width: 768px) {
  .blog-controls { flex-direction: column; align-items: stretch; }
  .blog-search { max-width: none; }
  .article__hero { padding: 2.5rem 1.5rem; }
  .article__title { font-size: 1.75rem; }
  .article__body { font-size: 1rem; }
  .pull-quote { font-size: 1.25rem; }
  .article__cta { padding: 1.75rem; }
}
