/* ==========================================================================
   REIGNIN SUPREME BOOKKEEPING (rsbookkeeping.org)
   Master Stylesheet | Award-Winning Editorial & Precision Financial Identity
   Palette: White + Royal Blue (#0349B8) + Deep Navy (#093289) + Silver (#C2CACF)
   Typography: Libre Baskerville (Headings) + Inter (Body/UI)
   ========================================================================== */

:root {
  /* Brand Palette */
  --color-primary-blue: #0349B8;
  --color-website-blue: #0368DF;
  --color-bright-blue:  #0F9CF7;
  --color-deep-navy:    #093289;
  --color-midnight:     #051842;
  --color-silver:       #C2CACF;
  --color-silver-light: #E8EDF2;
  --color-silver-muted: #8E99A2;
  --color-charcoal:     #3C3E46;
  --color-charcoal-dark:#1E2024;
  --color-soft-white:   #F7F9FC;
  --color-pure-white:   #FFFFFF;

  /* Semantic Variables */
  --bg-primary:         var(--color-pure-white);
  --bg-secondary:       var(--color-soft-white);
  --bg-dark:            var(--color-deep-navy);
  --bg-darker:          var(--color-midnight);
  --text-primary:       var(--color-charcoal-dark);
  --text-secondary:     var(--color-charcoal);
  --text-muted:         #626875;
  --text-on-dark:       #F7F9FC;
  --text-muted-dark:    #B2BDD0;
  --border-subtle:      rgba(194, 202, 207, 0.45);
  --border-dark:        rgba(255, 255, 255, 0.12);

  /* Typography */
  --font-heading:       'Libre Baskerville', Georgia, serif;
  --font-body:          'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Elevation & Geometry (Strict 4-6px radii, no giant pill buttons) */
  --radius-sm:          4px;
  --radius-md:          6px;
  --radius-lg:          8px;
  
  --shadow-subtle:      0 2px 8px rgba(9, 50, 137, 0.04);
  --shadow-card:        0 4px 20px rgba(9, 50, 137, 0.07);
  --shadow-hover:       0 8px 30px rgba(9, 50, 137, 0.12);
  --shadow-elevated:    0 16px 40px rgba(5, 24, 66, 0.16);

  /* Spacing & Transitions */
  --transition-fast:    0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth:  0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow:    0.6s cubic-bezier(0.16, 1, 0.3, 1);
  
  --container-max:      1280px;
  --header-height:      88px;
  --header-height-scrolled: 72px;
}

/* --------------------------------------------------------------------------
   CSS Reset & Base Foundations
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  overflow-x: hidden;
}

img, picture, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--color-website-blue);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-primary-blue);
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* Skip to Content for Accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 1rem;
  background: var(--color-primary-blue);
  color: #FFFFFF;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  z-index: 9999;
  font-weight: 600;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 1rem;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  color: var(--color-charcoal-dark);
  line-height: 1.25;
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  line-height: 1.15;
}

h2 {
  font-size: clamp(2rem, 3.8vw, 3rem);
  line-height: 1.2;
}

h3 {
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  line-height: 1.3;
}

h4 {
  font-size: 1.25rem;
  line-height: 1.4;
}

p {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.75;
}

.lead-p {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1.25rem, 4vw, 2.5rem);
  padding-right: clamp(1.25rem, 4vw, 2.5rem);
}

.section {
  padding-top: clamp(4.5rem, 8vw, 7.5rem);
  padding-bottom: clamp(4.5rem, 8vw, 7.5rem);
  position: relative;
}

.section-soft {
  background-color: var(--bg-secondary);
}

.section-dark {
  background-color: var(--bg-dark);
  color: var(--text-on-dark);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: #FFFFFF;
}

.section-dark p {
  color: var(--text-muted-dark);
}

.section-darker {
  background-color: var(--bg-darker);
  color: var(--text-on-dark);
}

/* Eyebrows & Dividers */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-website-blue);
  margin-bottom: 1rem;
}

.eyebrow::before,
.eyebrow::after {
  content: '◆';
  font-size: 0.55rem;
  color: var(--color-silver);
}

.eyebrow-dark {
  color: var(--color-bright-blue);
}
.eyebrow-dark::before,
.eyebrow-dark::after {
  color: var(--color-silver-muted);
}

.silver-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--color-silver) 50%, transparent 100%);
  margin: 3.5rem 0;
  opacity: 0.6;
}

/* --------------------------------------------------------------------------
   Signature Diamond Motif
   -------------------------------------------------------------------------- */
.diamond-accent {
  display: inline-block;
  width: 9px;
  height: 9px;
  background-color: var(--color-bright-blue);
  transform: rotate(45deg);
  transition: transform var(--transition-fast), background-color var(--transition-fast);
}

.diamond-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  background: rgba(3, 104, 223, 0.08);
  border: 1px solid rgba(3, 104, 223, 0.2);
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-primary-blue);
  letter-spacing: 0.02em;
}

.diamond-pill .diamond-icon {
  width: 6px;
  height: 6px;
  background-color: var(--color-website-blue);
  transform: rotate(45deg);
}

/* --------------------------------------------------------------------------
   Button & Action System (Refined 4-6px radius, no pill bloat)
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.95rem 1.85rem;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.015em;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
  user-select: none;
}

.btn-primary {
  background-color: var(--color-website-blue);
  color: #FFFFFF;
  border-color: var(--color-website-blue);
  box-shadow: 0 2px 10px rgba(3, 104, 223, 0.25);
}

.btn-primary:hover {
  background-color: var(--color-primary-blue);
  border-color: var(--color-primary-blue);
  color: #FFFFFF;
  box-shadow: 0 4px 18px rgba(3, 73, 184, 0.35);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-charcoal-dark);
  border-color: var(--color-silver);
}

.btn-secondary:hover {
  background-color: var(--color-soft-white);
  border-color: var(--color-website-blue);
  color: var(--color-website-blue);
  transform: translateY(-1px);
}

.btn-white {
  background-color: #FFFFFF;
  color: var(--color-deep-navy);
  border-color: #FFFFFF;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.btn-white:hover {
  background-color: var(--color-soft-white);
  color: var(--color-primary-blue);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transform: translateY(-1px);
}

.btn-ghost-white {
  background-color: transparent;
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-ghost-white:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: #FFFFFF;
  color: #FFFFFF;
  transform: translateY(-1px);
}

.btn .btn-arrow {
  display: inline-block;
  transition: transform var(--transition-fast);
}

.btn:hover .btn-arrow {
  transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   Header & Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(194, 202, 207, 0.35);
  z-index: 1000;
  transition: height var(--transition-smooth), background-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.site-header.scrolled {
  height: var(--header-height-scrolled);
  box-shadow: 0 4px 24px rgba(9, 50, 137, 0.06);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Brand Logo Placement - High Contrast Guaranteed */
.brand-logo-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  padding: 0.3rem 0;
}

.brand-logo-img {
  height: 52px;
  width: auto;
  aspect-ratio: 800 / 533;
  object-fit: contain;
  transition: height var(--transition-smooth);
}

.site-header.scrolled .brand-logo-img {
  height: 44px;
}

/* Nav Links */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-charcoal);
  padding: 0.5rem 0;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-website-blue);
  transition: width var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-website-blue);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--color-charcoal-dark);
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-charcoal-dark);
  margin: 5px 0;
  transition: all var(--transition-smooth);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 380px;
  height: 100vh;
  background-color: #FFFFFF;
  box-shadow: -8px 0 32px rgba(5, 24, 66, 0.15);
  z-index: 1100;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: right var(--transition-smooth);
}

.mobile-drawer.open {
  right: 0;
}

.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(9, 50, 137, 0.4);
  backdrop-filter: blur(4px);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-smooth);
}

.mobile-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-close-btn {
  background: none;
  border: none;
  font-size: 1.75rem;
  cursor: pointer;
  color: var(--color-charcoal);
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--color-charcoal-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--color-website-blue);
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  padding-top: calc(var(--header-height) + clamp(3rem, 6vw, 5rem));
  padding-bottom: clamp(4rem, 7vw, 6.5rem);
  background: linear-gradient(180deg, #FFFFFF 0%, var(--color-soft-white) 100%);
  position: relative;
  overflow: hidden;
}

/* Subtle Animated Ledger Background Grid */
.ledger-bg-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.4;
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  align-items: center;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 650px;
}

.hero-title {
  margin-bottom: 1.5rem;
  color: var(--color-charcoal-dark);
}

.hero-title .accent-serif {
  color: var(--color-primary-blue);
  font-style: italic;
}

.hero-description {
  font-size: clamp(1.05rem, 1.2vw, 1.2rem);
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.hero-support-tagline {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

.hero-support-tagline .bullet-diamond {
  color: var(--color-bright-blue);
  font-size: 0.55rem;
}

/* Hero Visual & Editorial Frame */
.hero-media-wrapper {
  position: relative;
}

.hero-media-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-elevated);
  border: 1px solid rgba(194, 202, 207, 0.45);
  background-color: #FFFFFF;
}

.hero-media-img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-media-card:hover .hero-media-img {
  transform: scale(1.02);
}

/* Floating Precision Badge */
.hero-badge-floating {
  position: absolute;
  bottom: -1.25rem;
  left: 2rem;
  background-color: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-silver-light);
  box-shadow: var(--shadow-card);
  padding: 0.9rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 2;
}

.hero-badge-icon {
  width: 36px;
  height: 36px;
  background-color: rgba(3, 104, 223, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-website-blue);
}

.hero-badge-title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-charcoal-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-badge-subtitle {
  font-size: 0.775rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Introduction & 5 Customer Benefits
   -------------------------------------------------------------------------- */
.intro-lead-box {
  max-width: 820px;
  margin: 0 auto 4.5rem auto;
  text-align: center;
}

.intro-lead-box h2 {
  margin-bottom: 1.5rem;
}

.intro-lead-box p {
  font-size: 1.18rem;
  line-height: 1.8;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}

.benefit-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  transition: all var(--transition-smooth);
  position: relative;
  display: flex;
  flex-direction: column;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: transparent;
  transition: background-color var(--transition-fast);
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(3, 104, 223, 0.3);
}

.benefit-card:hover::before {
  background-color: var(--color-website-blue);
}

.benefit-num {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--color-silver-muted);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.benefit-num .diamond-dot {
  width: 5px;
  height: 5px;
  background-color: var(--color-bright-blue);
  transform: rotate(45deg);
}

.benefit-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--color-charcoal-dark);
  margin-bottom: 0.75rem;
}

.benefit-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Signature "Clarity Path" Interactive Journey
   5 Stages: Capture -> Organize -> Reconcile -> Report -> Understand
   -------------------------------------------------------------------------- */
.clarity-path-section {
  background-color: #FFFFFF;
  position: relative;
}

.path-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 4rem auto;
}

.path-timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  position: relative;
  margin-top: 3rem;
}

/* Connecting Line */
.path-timeline::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 10%;
  width: 80%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-website-blue) 0%, var(--color-silver) 100%);
  z-index: 1;
}

.path-node {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 0.85rem;
  cursor: pointer;
  transition: all var(--transition-smooth);
}

.path-marker {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.5rem auto;
  border-radius: var(--radius-sm);
  background-color: #FFFFFF;
  border: 2px solid var(--color-silver);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-charcoal);
  transition: all var(--transition-smooth);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.path-node.active .path-marker {
  border-color: var(--color-website-blue);
  background-color: var(--color-deep-navy);
  color: #FFFFFF;
  transform: scale(1.08);
  box-shadow: 0 6px 18px rgba(3, 73, 184, 0.3);
}

.path-step-label {
  font-size: 0.775rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-website-blue);
  margin-bottom: 0.35rem;
}

.path-stage-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--color-charcoal-dark);
  margin-bottom: 0.65rem;
}

.path-stage-text {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Mobile Vertical Path */
@media (max-width: 900px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  .path-timeline {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .path-timeline::before {
    top: 0;
    left: 28px;
    width: 2px;
    height: 100%;
  }
  .path-node {
    text-align: left;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 0;
  }
  .path-marker {
    margin: 0;
    flex-shrink: 0;
  }
}

/* --------------------------------------------------------------------------
   Signature Interactive Services Explorer
   -------------------------------------------------------------------------- */
.services-section {
  background-color: var(--bg-secondary);
}

.services-explorer {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: stretch;
  margin-top: 3.5rem;
}

.service-display-panel {
  background-color: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.service-panel-visual {
  height: 300px;
  overflow: hidden;
  position: relative;
}

.service-panel-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-panel-content {
  padding: 2.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-panel-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-primary-blue);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.85rem;
}

.service-panel-title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.service-panel-description {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
}

.service-panel-benefit {
  background-color: var(--color-soft-white);
  border-left: 3px solid var(--color-website-blue);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 2rem;
}

.service-panel-benefit p {
  font-size: 0.9375rem;
  color: var(--color-charcoal-dark);
  font-weight: 500;
}

/* Service Selector List (Right side) */
.services-list-nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.service-nav-item {
  background-color: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.75rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
}

.service-nav-item:hover {
  border-color: rgba(3, 104, 223, 0.4);
  background-color: rgba(247, 249, 252, 0.8);
  transform: translateX(4px);
}

.service-nav-item.active {
  border-color: var(--color-website-blue);
  background-color: #FFFFFF;
  box-shadow: 0 4px 18px rgba(3, 104, 223, 0.1);
  transform: translateX(6px);
}

.service-nav-info h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-charcoal-dark);
  margin-bottom: 0.25rem;
  transition: color var(--transition-fast);
}

.service-nav-item.active .service-nav-info h4 {
  color: var(--color-primary-blue);
}

.service-nav-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.service-nav-marker {
  width: 10px;
  height: 10px;
  background-color: var(--color-silver);
  transform: rotate(45deg);
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.service-nav-item.active .service-nav-marker {
  background-color: var(--color-website-blue);
  transform: rotate(45deg) scale(1.3);
}

/* --------------------------------------------------------------------------
   "Who We Serve" Section
   -------------------------------------------------------------------------- */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}

.audience-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  transition: all var(--transition-smooth);
}

.audience-card:hover {
  transform: translateY(-5px);
  border-color: rgba(3, 104, 223, 0.35);
  box-shadow: var(--shadow-hover);
}

.audience-icon-diamond {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background-color: rgba(3, 104, 223, 0.08);
  border: 1px solid rgba(3, 104, 223, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-website-blue);
  margin-bottom: 1.5rem;
}

.audience-title {
  font-size: 1.45rem;
  margin-bottom: 0.85rem;
}

.audience-desc {
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Premium Editorial Statement Section (Deep Navy)
   "When the books are organized, the business feels different."
   -------------------------------------------------------------------------- */
.editorial-statement-section {
  background-color: var(--color-deep-navy);
  color: #FFFFFF;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: clamp(5.5rem, 9vw, 9rem) 0;
}

.editorial-statement-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(15, 156, 247, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.statement-content {
  max-width: 1140px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.statement-title {
  font-size: clamp(2.3rem, 4.5vw, 3.8rem);
  line-height: 1.25;
  color: #FFFFFF;
  margin-bottom: 1.75rem;
}

.statement-lead {
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  line-height: 1.75;
  color: var(--text-muted-dark);
  font-weight: 300;
  margin-bottom: 2.75rem;
}

.statement-pill-row {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 0.85rem;
  overflow-x: auto;
  padding: 0.5rem 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.statement-pill-row::-webkit-scrollbar {
  display: none;
}

.statement-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: #FFFFFF;
  padding: 0.55rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  white-space: nowrap;
  flex-shrink: 0;
}

.statement-pill .pill-dot {
  width: 6px;
  height: 6px;
  background-color: var(--color-bright-blue);
  transform: rotate(45deg);
}

/* --------------------------------------------------------------------------
   "What Good Bookkeeping Gives You" Typography Installation
   ORDER | CLARITY | CONSISTENCY | TIME | CONFIDENCE
   -------------------------------------------------------------------------- */
.outcomes-section {
  background-color: #FFFFFF;
  padding: clamp(5rem, 8vw, 8rem) 0;
}

.outcomes-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 4rem auto;
}

.outcomes-stack {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border-subtle);
}

.outcome-row {
  display: grid;
  grid-template-columns: 360px 1fr 140px;
  column-gap: 3.5rem;
  row-gap: 0.75rem;
  align-items: center;
  padding: 2.25rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
  cursor: default;
}

.outcome-row:hover {
  background-color: var(--color-soft-white);
  padding-left: 2rem;
}

.outcome-word {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 2.5vw, 2.4rem);
  color: var(--color-charcoal-dark);
  letter-spacing: -0.01em;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color var(--transition-fast);
}

.outcome-row:hover .outcome-word {
  color: var(--color-primary-blue);
}

.outcome-meaning {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.outcome-badge {
  text-align: right;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-silver-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Consultation Process (4 Steps)
   -------------------------------------------------------------------------- */
.process-section {
  background-color: var(--bg-secondary);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}

.process-step-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
}

.process-step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(3, 104, 223, 0.35);
  box-shadow: var(--shadow-hover);
}

.process-step-num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--color-website-blue);
  line-height: 1;
  margin-bottom: 1.25rem;
}

.process-step-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.process-step-desc {
  font-size: 0.9375rem;
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   FAQ Accordions
   -------------------------------------------------------------------------- */
.faq-section {
  background-color: #FFFFFF;
}

.faq-container {
  max-width: 860px;
  margin: 3.5rem auto 0 auto;
}

.faq-item {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  background-color: #FFFFFF;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  overflow: hidden;
}

.faq-item.active {
  border-color: rgba(3, 104, 223, 0.4);
  box-shadow: var(--shadow-subtle);
}

.faq-question-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.75rem;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--color-charcoal-dark);
  transition: color var(--transition-fast);
}

.faq-item.active .faq-question-btn {
  color: var(--color-primary-blue);
}

.faq-icon-wrapper {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  background-color: var(--color-soft-white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-charcoal);
  font-size: 1.25rem;
  transition: transform var(--transition-fast), background-color var(--transition-fast);
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item.active .faq-icon-wrapper {
  transform: rotate(45deg);
  background-color: var(--color-primary-blue);
  color: #FFFFFF;
}

.faq-answer-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-smooth);
}

.faq-answer-content {
  padding: 0 1.75rem 1.75rem 1.75rem;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-secondary);
  border-top: 1px solid rgba(194, 202, 207, 0.2);
  margin-top: 0.25rem;
  padding-top: 1.25rem;
}

/* --------------------------------------------------------------------------
   Consultation & Contact Form Section
   -------------------------------------------------------------------------- */
.consultation-section {
  background-color: var(--bg-secondary);
  position: relative;
}

.consultation-wrapper {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}

.consultation-info h2 {
  margin-bottom: 1.25rem;
}

.consultation-info p {
  font-size: 1.1rem;
  line-height: 1.75;
  margin-bottom: 2.25rem;
}

.consultation-commitments {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.commitment-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.commitment-icon {
  width: 22px;
  height: 22px;
  background-color: rgba(3, 104, 223, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-website-blue);
  font-size: 0.75rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.commitment-text strong {
  display: block;
  font-size: 0.95rem;
  color: var(--color-charcoal-dark);
}

.commitment-text span {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Consultation Form Card */
.consultation-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: clamp(2rem, 4vw, 3rem);
  box-shadow: var(--shadow-card);
}

.form-grid-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  margin-bottom: 1.35rem;
  display: flex;
  flex-direction: column;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-charcoal-dark);
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: space-between;
}

.form-label-required {
  color: var(--color-primary-blue);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background-color: #FFFFFF;
  border: 1px solid var(--color-silver);
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  color: var(--color-charcoal-dark);
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-website-blue);
  box-shadow: 0 0 0 3px rgba(3, 104, 223, 0.15);
}

.form-textarea {
  resize: vertical;
  min-height: 110px;
}

.form-hint {
  font-size: 0.775rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.form-feedback {
  display: none;
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  background-color: rgba(3, 104, 223, 0.08);
  border: 1px solid rgba(3, 104, 223, 0.2);
  margin-top: 1.5rem;
}

.form-feedback.show {
  display: block;
}

.form-feedback-title {
  font-weight: 700;
  color: var(--color-primary-blue);
  margin-bottom: 0.35rem;
}

/* --------------------------------------------------------------------------
   Footer - Guaranteed High Contrast Logo Treatment on Deep Navy
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--color-deep-navy);
  color: #FFFFFF;
  padding-top: clamp(4.5rem, 7vw, 6.5rem);
  padding-bottom: 3rem;
  position: relative;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 3.5rem;
  margin-bottom: 4.5rem;
}

/* Logo placement container ensures 100% readability */
.footer-logo-container {
  background-color: #FFFFFF;
  border-radius: var(--radius-sm);
  padding: 0.6rem 1rem;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  margin-bottom: 1.5rem;
}

.footer-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.footer-brand-desc {
  color: var(--text-muted-dark);
  font-size: 0.9375rem;
  line-height: 1.7;
  max-width: 380px;
  margin-bottom: 1.5rem;
}

.footer-col-title {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #FFFFFF;
  margin-bottom: 1.5rem;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-link {
  color: var(--text-muted-dark);
  font-size: 0.9375rem;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: #FFFFFF;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted-dark);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

/* --------------------------------------------------------------------------
   Mobile Sticky Consultation Bar
   -------------------------------------------------------------------------- */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--border-subtle);
  padding: 0.85rem 1.25rem;
  z-index: 990;
  box-shadow: 0 -4px 16px rgba(9, 50, 137, 0.08);
}

@media (max-width: 768px) {
  .mobile-sticky-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
}

.mobile-sticky-text {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-charcoal-dark);
}

.mobile-sticky-btn {
  padding: 0.65rem 1.2rem;
  font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .services-explorer {
    grid-template-columns: 1fr;
  }
  .audience-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }
  .outcome-row {
    grid-template-columns: 300px 1fr 120px;
    column-gap: 2rem;
  }
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .desktop-nav {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .header-cta-desktop {
    display: none;
  }
  .consultation-wrapper {
    grid-template-columns: 1fr;
  }
  .outcome-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 1.75rem 1rem;
  }
  .outcome-word {
    white-space: normal;
    font-size: 1.85rem;
  }
  .outcome-badge {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  .audience-grid {
    grid-template-columns: 1fr;
  }
  .process-grid {
    grid-template-columns: 1fr;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .form-grid-two {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* Accessibility: prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
