/* ================================================
   BERTRAND BOOKKEEPING - Main Stylesheet
   ================================================ */

/* ------------------------------------------------
   CSS VARIABLES / COLOR SYSTEM
   ------------------------------------------------ */
:root {
  /* Primary: Deep burgundy/muted red */
  --primary: #9e2f2f;
  --primary-dark: #7a2424;
  --primary-light: #b84545;
  
  /* Secondary: Warm gold */
  --secondary: #c9a227;
  --secondary-dark: #a8871f;
  --secondary-light: #ddb939;
  
  /* Accent: Soft cream / warm ivory backgrounds */
  --accent: #f7f1e8;
  --accent-dark: #e9dfd2;
  
  /* Background tones */
  --background: #ffffff;
  --background-warm: #FDF8EE;
  --background-hero: #F5E6D3;
  --background-services: #FEF9F3;
  --background-card: #F7EEE4;
  --background-steps: #F5EBE0;
  --background-footer: #1e1214;
  --background-header: #FDF8EE;
  
  /* Text colors */
  --text-dark: #2b211d;
  --text-light: #4a3f38;
  --text-white: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.6);
  
  /* Supporting */
  --beige: #e9dfd2;
  --sage: #6b8e5e;
  
  /* Transparency helpers */
  --overlay-dark: rgba(43, 33, 29, 0.5);
  --overlay-hero: rgba(43, 33, 29, 0.6);
  --shadow-light: rgba(0, 0, 0, 0.05);
  --shadow-medium: rgba(0, 0, 0, 0.08);
  --shadow-primary: rgba(158, 47, 47, 0.2);
}

/* ------------------------------------------------
   RESET & BASE STYLES
   ------------------------------------------------ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* ------------------------------------------------
   TYPOGRAPHY
   ------------------------------------------------ */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.font-serif {
  font-family: Georgia, 'Times New Roman', serif;
}

/* ------------------------------------------------
   UTILITY CLASSES
   ------------------------------------------------ */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ------------------------------------------------
   DESKTOP TOP BAR
   ------------------------------------------------ */
.top-bar {
  background-color: var(--primary);
  color: var(--text-white);
  transition: all 0.3s ease-out;
  overflow: hidden;
  display: none;
}

.top-bar.scrolled {
  height: 0;
  opacity: 0;
}

.top-bar:not(.scrolled) {
  height: 36px;
  opacity: 1;
}

.top-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  font-size: 12px;
}

.top-bar a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.2s;
}

.top-bar a:hover {
  color: var(--text-white);
}

.top-bar svg {
  width: 12px;
  height: 12px;
}

/* ------------------------------------------------
   MAIN HEADER
   ------------------------------------------------ */
.main-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  background-color: var(--background-header);
  box-shadow: 0 1px 3px var(--shadow-light);
  transition: all 0.3s;
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  height: 80px;
  align-items: center;
  justify-content: space-between;
}

/* Header Logo */
.header-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  height: 100%;
}

.header-logo img {
  width: auto;
  height: 100%;
  object-fit: contain;
}

/* Header Bottom Accent */
.header-accent {
  height: 2px;
  background: linear-gradient(to right, transparent, rgba(201, 162, 39, 0.4), transparent);
}

/* ------------------------------------------------
   DESKTOP NAVIGATION
   ------------------------------------------------ */
.desktop-nav {
  display: none;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 8px 12px;
  font-size: 17px;
  font-weight: 500;
  color: var(--text-dark);
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--primary);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  font-size: 17px;
  font-weight: 500;
  color: var(--text-dark);
  transition: color 0.2s;
}

.nav-dropdown-trigger:hover {
  color: var(--primary);
}

.nav-dropdown-trigger svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s;
}

.nav-dropdown:hover .nav-dropdown-trigger svg {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  left: 0;
  top: 100%;
  padding-top: 8px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.nav-dropdown-menu ul {
  min-width: 200px;
  background: var(--background);
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(43, 33, 29, 0.1);
  padding: 8px 0;
  border: 1px solid var(--beige);
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 16px;
  font-size: 14px;
  color: var(--text-dark);
  transition: all 0.2s;
}

.nav-dropdown-menu a:hover {
  color: var(--primary);
  background-color: var(--accent);
}

/* Desktop CTA */
.desktop-cta {
  display: none;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-white);
  background-color: var(--primary);
  border-radius: 8px;
  transition: all 0.2s;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
}

/* ------------------------------------------------
   MOBILE HEADER CONTROLS
   ------------------------------------------------ */
.mobile-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-phone-btn {
  padding: 8px;
  color: var(--primary);
  transition: color 0.2s;
}

.mobile-phone-btn:hover {
  color: var(--primary-dark);
}

.mobile-phone-btn svg {
  width: 20px;
  height: 20px;
}

.mobile-menu-btn {
  padding: 8px;
  color: var(--text-dark);
  transition: color 0.2s;
}

.mobile-menu-btn:hover {
  color: var(--primary);
}

.mobile-menu-btn svg {
  width: 24px;
  height: 24px;
}

/* ------------------------------------------------
   MOBILE MENU OVERLAY
   ------------------------------------------------ */
.mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  background-color: var(--overlay-dark);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.mobile-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* ------------------------------------------------
   MOBILE SLIDE-OUT MENU
   ------------------------------------------------ */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 50;
  height: 100%;
  width: 100%;
  background-color: var(--accent);
  transform: translateX(100%);
  transition: transform 0.3s ease-out;
  display: flex;
  flex-direction: column;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid var(--beige);
  flex-shrink: 0;
}

.mobile-menu-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-menu-logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.mobile-menu-logo span {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  font-family: Georgia, 'Times New Roman', serif;
}

.mobile-menu-close {
  padding: 8px;
  color: var(--text-dark);
  transition: color 0.2s;
}

.mobile-menu-close:hover {
  color: var(--primary);
}

.mobile-menu-close svg {
  width: 20px;
  height: 20px;
}

/* Mobile Menu Content */
.mobile-menu-content {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.mobile-menu-content::-webkit-scrollbar {
  display: none;
}

.mobile-menu-nav {
  padding: 16px 0;
}

.mobile-nav-link {
  display: block;
  padding: 14px 24px;
  font-size: 18px;
  font-weight: 500;
  color: var(--text-dark);
  transition: color 0.2s;
}

.mobile-nav-link:hover {
  color: var(--primary);
}

/* Mobile Dropdown */
.mobile-dropdown-trigger {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  font-size: 18px;
  font-weight: 500;
  color: var(--text-dark);
  transition: color 0.2s;
}

.mobile-dropdown-trigger:hover {
  color: var(--primary);
}

.mobile-dropdown-trigger svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s;
}

.mobile-dropdown-trigger.active svg {
  transform: rotate(180deg);
}

.mobile-dropdown-menu {
  background-color: rgba(233, 223, 210, 0.3);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s;
}

.mobile-dropdown-menu.active {
  max-height: 200px;
}

.mobile-dropdown-menu a {
  display: block;
  padding: 12px 32px;
  font-size: 16px;
  color: var(--text-light);
  transition: color 0.2s;
}

.mobile-dropdown-menu a:hover {
  color: var(--primary);
}

/* Mobile Menu Footer */
.mobile-menu-footer {
  padding: 20px;
  border-top: 1px solid var(--beige);
  background-color: var(--accent);
  flex-shrink: 0;
}

.mobile-menu-footer .phone-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.mobile-menu-footer .phone-link svg {
  width: 16px;
  height: 16px;
}

.mobile-menu-footer .email-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 16px;
}

.mobile-menu-footer .email-link svg {
  width: 14px;
  height: 14px;
}

.mobile-menu-footer .btn-primary {
  width: 100%;
  justify-content: center;
  padding: 12px 20px;
}

/* ------------------------------------------------
   HERO SECTION
   ------------------------------------------------ */
.hero {
  position: relative;
  overflow: hidden;
  background-color: var(--background-hero);
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
}

.hero-shape-1 {
  top: -128px;
  right: -128px;
  width: 500px;
  height: 500px;
  background-color: rgba(158, 47, 47, 0.03);
}

.hero-shape-2 {
  top: 50%;
  left: -192px;
  width: 400px;
  height: 400px;
  background-color: rgba(201, 162, 39, 0.05);
}

.hero-shape-3 {
  bottom: -96px;
  right: 25%;
  width: 300px;
  height: 300px;
  background-color: rgba(158, 47, 47, 0.02);
}

.hero-inner {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 16px;
}

.hero-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

/* Hero Content */
.hero-content {
  text-align: center;
}

.hero-eyebrow {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 16px;
}

.hero-title {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-dark);
  line-height: 1.15;
}

.hero-title span {
  color: var(--primary);
}

.hero-description {
  margin-top: 24px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-light);
}

/* Hero Highlights */
.hero-highlights {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-highlight {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-dark);
  justify-content: center;
}

.hero-highlight svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
}

.hero-highlight a {
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}

.hero-highlight a:hover {
  color: var(--primary);
}

/* Hero CTAs */
.hero-ctas {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-white);
  background-color: var(--primary);
  border-radius: 8px;
  box-shadow: 0 10px 25px var(--shadow-primary);
  transition: all 0.2s;
  white-space: nowrap;
}

.hero-btn-primary:hover {
  background-color: var(--primary-dark);
  box-shadow: 0 15px 35px rgba(158, 47, 47, 0.25);
  transform: translateY(-2px);
}

.hero-btn-primary svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.hero-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  border-radius: 8px;
  transition: color 0.2s;
  white-space: nowrap;
}

.hero-btn-secondary:hover {
  color: var(--primary);
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-visual-glow {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.hero-visual-glow-inner {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: linear-gradient(to bottom right, rgba(201, 162, 39, 0.1), rgba(158, 47, 47, 0.05));
  filter: blur(48px);
}

.hero-card {
  position: relative;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 25px 50px rgba(43, 33, 29, 0.05);
}

.hero-card-curve {
  position: absolute;
  width: 96px;
  height: 96px;
  color: rgba(201, 162, 39, 0.3);
}

.hero-card-curve-top {
  top: -32px;
  left: -32px;
}

.hero-card-curve-bottom {
  bottom: -32px;
  right: -32px;
  transform: rotate(180deg);
}

.hero-logo-img {
  height: auto;
  width: 100%;
  max-width: 280px;
  object-fit: contain;
  margin: 0 auto;
}

/* Hero Stats */
.hero-stats {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  text-align: center;
}

.hero-stat-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
}

.hero-stat-label {
  font-size: 12px;
  color: var(--text-light);
}

.hero-stat-divider {
  width: 1px;
  height: 32px;
  background-color: var(--beige);
}

/* Hero Badge */
.hero-badge {
  position: absolute;
  top: -12px;
  right: -12px;
  background-color: var(--secondary);
  color: var(--text-dark);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ------------------------------------------------
   SERVICES SECTION
   ------------------------------------------------ */
.services {
  padding: 64px 0 80px;
  background-color: var(--background-services);
}

.services-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

.services-header {
  text-align: center;
  max-width: 672px;
  margin: 0 auto 48px;
}

.services-title {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--primary);
}

.services-subtitle {
  margin-top: 16px;
  font-size: 18px;
  color: var(--text-light);
}

.services-grid {
  display: grid;
  gap: 24px;
}

.service-card {
  position: relative;
  padding: 24px;
  border-radius: 16px;
  background-color: var(--background-card);
  transition: all 0.3s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(158, 47, 47, 0.05);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: rgba(158, 47, 47, 0.1);
  color: var(--primary);
  margin-bottom: 16px;
  transition: all 0.2s;
}

.service-card:hover .service-icon {
  background-color: var(--primary);
  color: var(--text-white);
}

.service-icon svg {
  width: 24px;
  height: 24px;
}

.service-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.service-description {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-light);
}

/* ------------------------------------------------
   HOW IT WORKS SECTION
   ------------------------------------------------ */
.how-it-works {
  padding: 64px 0 96px;
  background-color: var(--background-steps);
}

.how-it-works-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

.how-it-works-header {
  text-align: center;
  max-width: 672px;
  margin: 0 auto 56px;
}

.how-it-works-eyebrow {
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--secondary);
  margin-bottom: 12px;
}

.how-it-works-title {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--primary);
}

.how-it-works-subtitle {
  margin-top: 16px;
  font-size: 18px;
  color: var(--text-light);
}

.steps-container {
  position: relative;
}

.steps-line {
  display: none;
  position: absolute;
  top: 32px;
  left: 10%;
  right: 10%;
  height: 1px;
  background-color: rgba(158, 47, 47, 0.15);
}

.steps-grid {
  display: grid;
  gap: 40px;
}

.step {
  position: relative;
  display: flex;
  align-items: flex-start;
}

.step-line-mobile {
  position: absolute;
  left: 16px;
  top: 40px;
  bottom: 0;
  width: 1px;
  background-color: rgba(158, 47, 47, 0.15);
  margin-bottom: -40px;
}

.step-number {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--text-white);
  font-weight: 700;
  font-size: 12px;
  flex-shrink: 0;
}

.step-content {
  margin-left: 20px;
}

.step-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.step-description {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-light);
  max-width: 280px;
}

/* ------------------------------------------------
   TESTIMONIALS SECTION
   ------------------------------------------------ */
.testimonials {
  padding: 80px 0 112px;
  background-color: var(--background);
}

.testimonials-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 56px;
}

.testimonials-eyebrow {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--secondary);
  margin-bottom: 12px;
}

.testimonials-title {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--primary);
}

.testimonials-subtitle {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-light);
  max-width: 576px;
  margin-left: auto;
  margin-right: auto;
}

.testimonials-grid {
  display: grid;
  gap: 24px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  padding: 32px;
  border-radius: 16px;
  background-color: var(--background-warm);
  box-shadow: 0 1px 3px var(--shadow-light);
  transition: box-shadow 0.2s;
}

.testimonial-card:hover {
  box-shadow: 0 8px 24px var(--shadow-medium);
}

.testimonial-quote-mark {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 48px;
  line-height: 1;
  color: var(--secondary);
  opacity: 0.6;
  margin-bottom: 16px;
  user-select: none;
}

.testimonial-quote {
  flex: 1;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-dark);
}

.testimonial-divider {
  width: 40px;
  height: 1px;
  background-color: var(--secondary);
  opacity: 0.4;
  margin: 24px 0;
}

.testimonial-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}

.testimonial-role {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 2px;
}

/* ------------------------------------------------
   CTA SECTION
   ------------------------------------------------ */
.cta-section {
  position: relative;
  padding: 80px 0 112px;
  background-color: var(--primary);
  overflow: hidden;
}

.cta-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.03;
}

.cta-bg-shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.cta-bg-shape-1 {
  top: -96px;
  right: -96px;
  width: 384px;
  height: 384px;
  background-color: var(--primary-dark);
  opacity: 0.2;
  filter: blur(80px);
}

.cta-bg-shape-2 {
  bottom: -80px;
  left: -80px;
  width: 288px;
  height: 288px;
  background-color: var(--primary-light);
  opacity: 0.15;
  filter: blur(60px);
}

.cta-inner {
  position: relative;
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 16px;
}

.cta-card {
  background-color: var(--background-warm);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.18), 0 8px 24px rgba(0, 0, 0, 0.10);
}

.cta-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.cta-text {
  flex: 1;
}

.cta-eyebrow {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--secondary);
  margin-bottom: 16px;
}

.cta-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary);
  margin-bottom: 16px;
}

.cta-description {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-light);
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  flex-shrink: 0;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 28px;
  font-size: 14px;
  font-weight: 600;
  color: var(--background-warm);
  background-color: var(--primary);
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(158, 47, 47, 0.35);
  transition: all 0.2s;
  white-space: nowrap;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(158, 47, 47, 0.4);
}

.cta-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.cta-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-light);
  text-decoration: underline;
  text-underline-offset: 4px;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.cta-link:hover {
  opacity: 0.6;
}

/* ------------------------------------------------
   FOOTER
   ------------------------------------------------ */
.footer {
  background-color: var(--background-footer);
  padding: 64px 0 0;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

.footer-grid {
  display: grid;
  gap: 48px;
  padding-bottom: 64px;
}

/* Footer Brand */
.footer-brand {
  grid-column: 1 / -1;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-logo img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.footer-logo-text {
  display: flex;
  flex-direction: column;
}

.footer-logo-text span:first-child {
  font-size: 18px;
  font-weight: 700;
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--text-white);
  line-height: 1.2;
}

.footer-logo-text span:last-child {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--secondary);
}

.footer-description {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
  max-width: 280px;
  margin-bottom: 24px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-contact a,
.footer-contact span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-contact a:hover {
  color: var(--text-white);
}

.footer-contact svg {
  width: 14px;
  height: 14px;
  color: var(--secondary);
  flex-shrink: 0;
}

/* Footer Links */
.footer-links h3 {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--secondary);
  margin-bottom: 20px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--text-white);
}

/* Footer Bottom */
.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.35);
  transition: color 0.2s;
}

.footer-bottom-links a:hover {
  color: var(--text-white);
}

/* =================================================================
   RESPONSIVE STYLES - TABLET (max-width: 1024px)
   ================================================================= */
@media (max-width: 1024px) {
  /* Top bar hidden on tablet/mobile */
  .top-bar {
    display: none;
  }
  
  /* Desktop nav hidden */
  .desktop-nav {
    display: none;
  }
  
  /* Desktop CTA hidden */
  .desktop-cta {
    display: none;
  }
  
  /* Mobile overlay visible */
  .mobile-overlay {
    display: block;
  }
  
  /* Mobile menu visible */
  .mobile-menu {
    display: flex;
  }
  
  /* ===== LEFT-ALIGN TEXT CONTENT ON TABLET/MOBILE ===== */
  
  /* Hero section - left align all text content */
  .hero-content {
    text-align: left;
  }
  
  .hero-eyebrow {
    text-align: left;
  }
  
  .hero-title {
    text-align: left;
  }
  
  .hero-description {
    text-align: left;
  }
  
  .hero-highlights {
    align-items: flex-start;
  }
  
  .hero-highlight {
    justify-content: flex-start;
  }
  
  /* Hero buttons - left align on tablet */
  .hero-ctas {
    justify-content: flex-start;
  }
  
  /* Services section - left align */
  .services-header {
    text-align: left;
  }
  
  .services-header h2,
  .services-header p {
    text-align: left;
  }
  
  .service-card {
    text-align: left;
  }
  
  .service-card h3,
  .service-card p {
    text-align: left;
  }
  
  /* How It Works section - left align */
  .how-it-works-header {
    text-align: left;
  }
  
  .how-it-works-header h2,
  .how-it-works-header p {
    text-align: left;
  }
  
  .step-content {
    text-align: left;
  }
  
  .step-content h3,
  .step-content p {
    text-align: left;
  }
  
  /* Testimonials section - left align header only */
  .testimonials-header {
    text-align: left;
  }
  
  .testimonials-header h2,
  .testimonials-header p {
    text-align: left;
  }
  
  /* Testimonial cards keep centered for visual balance */
  
  /* CTA section - left align text in card */
  .cta-content {
    text-align: left;
  }
  
  .cta-content h2,
  .cta-content p {
    text-align: left;
  }
  
  /* Footer - left align */
  .footer-brand p {
    text-align: left;
  }
}


/* =================================================================
   RESPONSIVE STYLES - SMALL MOBILE (max-width: 480px)
   ================================================================= */
@media (max-width: 480px) {
  /* Hero badge - prevent overflow */
  .hero-badge {
    right: 8px;
    top: 8px;
    font-size: 10px;
    padding: 4px 10px;
  }
  
  /* Hero card - add padding to contain badge */
  .hero-card {
    padding: 24px 16px;
    margin: 0 4px;
  }
  
  /* Hero stats - smaller on mobile */
  .hero-stats {
    gap: 16px;
  }
  
  .hero-stat-value {
    font-size: 20px;
  }
  
  .hero-stat-label {
    font-size: 10px;
  }
  
  /* Hero logo image */
  .hero-logo-img {
    max-width: 220px;
  }
  
  /* Hero eyebrow */
  .hero-eyebrow {
    font-size: 11px;
    text-align: left;
  }
  
  /* Hero title */
  .hero-title {
    font-size: 26px;
    text-align: left;
  }
  
  /* Hero description */
  .hero-description {
    font-size: 15px;
    text-align: left;
  }
  
  /* Hero highlights */
  .hero-highlights {
    align-items: flex-start;
  }
  
  .hero-highlight {
    justify-content: flex-start;
    font-size: 14px;
  }
  
  /* Hero CTAs */
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  
  .hero-btn-primary,
  .hero-btn-secondary {
    width: 100%;
    justify-content: center;
  }
  
  /* Services section */
  .services-header h2 {
    font-size: 22px;
    text-align: left;
  }
  
  .services-header p {
    text-align: left;
  }
  
  /* Services cards */
  .service-card {
    padding: 20px 16px;
    text-align: left;
  }
  
  /* How it works */
  .how-it-works-header h2 {
    font-size: 22px;
    text-align: left;
  }
  
  .how-it-works-header p {
    text-align: left;
  }
  
  .step-content {
    text-align: left;
  }
  
  /* Testimonials */
  .testimonials-header h2 {
    font-size: 22px;
    text-align: left;
  }
  
  .testimonials-header p {
    text-align: left;
  }
  
  /* CTA card */
  .cta-card {
    padding: 24px 16px;
  }
  
  .cta-content {
    text-align: left;
  }
  
  .cta-content h2 {
    font-size: 22px;
    text-align: left;
  }
  
  .cta-content p {
    text-align: left;
  }
  
  /* Footer */
  .footer-grid {
    gap: 24px;
  }
}


/* =================================================================
   RESPONSIVE STYLES - TABLET AND UP (min-width: 640px)
   ================================================================= */
@media (min-width: 640px) {
  /* Hero */
  .hero-title {
    font-size: 48px;
  }
  
  .hero-ctas {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 16px;
  }
  
  .hero-btn-primary,
  .hero-btn-secondary {
    font-size: 16px;
  }
  
  .hero-card {
    padding: 40px;
  }
  
  .hero-logo-img {
    max-width: 320px;
  }
  
  /* Services */
  .services-title {
    font-size: 36px;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* How It Works */
  .how-it-works-title {
    font-size: 36px;
  }
  
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  
  .step {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .step-line-mobile {
    display: none;
  }
  
  .step-number {
    width: 56px;
    height: 56px;
    font-size: 16px;
  }
  
  .step-content {
    margin-left: 0;
    margin-top: 20px;
  }
  
  .step-title {
    margin-bottom: 8px;
  }
  
  .step-description {
    max-width: none;
  }
  
  /* Testimonials */
  .testimonials-title {
    font-size: 36px;
  }
  
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  /* CTA */
  .cta-card {
    padding: 48px;
  }
  
  .cta-title {
    font-size: 30px;
  }
  
  .cta-description {
    font-size: 16px;
  }
  
  /* Footer */
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-bottom {
    flex-direction: row;
  }
  
  /* About */
  .about-hero-title {
    font-size: 48px;
  }
  
  .about-hero-subtitle {
    font-size: 20px;
  }
}


/* =================================================================
   RESPONSIVE STYLES - DESKTOP (min-width: 1024px)
   ================================================================= */
@media (min-width: 1024px) {
  /* Utilities */
  .container {
    padding: 0 24px;
  }
  
  /* Top bar visible */
  .top-bar {
    display: block;
  }
  
  .top-bar-inner {
    padding: 0 24px;
  }
  
  /* Desktop nav visible */
  .desktop-nav {
    display: flex;
  }
  
  /* Desktop CTA visible */
  .desktop-cta {
    display: flex;
    align-items: center;
  }
  
  /* Mobile controls hidden */
  .mobile-controls {
    display: none;
  }
  
  /* Mobile overlay hidden */
  .mobile-overlay {
    display: none;
  }
  
  /* Mobile menu hidden */
  .mobile-menu {
    display: none;
  }
  
  /* Hero */
  .hero-inner {
    padding: 96px 24px;
  }
  
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
  
  .hero-content {
    text-align: left;
  }
  
  .hero-title {
    font-size: 52px;
  }
  
  .hero-description {
    font-size: 20px;
  }
  
  .hero-highlight {
    justify-content: flex-start;
  }
  
  .hero-ctas {
    justify-content: flex-start;
  }
  
  .hero-visual {
    justify-content: flex-end;
  }
  
  /* Services */
  .services-inner {
    padding: 0 24px;
  }
  
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  /* How It Works */
  .how-it-works-inner {
    padding: 0 24px;
  }
  
  .how-it-works-header {
    margin-bottom: 64px;
  }
  
  .steps-line {
    display: block;
  }
  
  .steps-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
  }
  
  .step-number {
    width: 64px;
    height: 64px;
    font-size: 18px;
  }
  
  .step-content {
    margin-top: 24px;
  }
  
  /* Testimonials */
  .testimonials-inner {
    padding: 0 32px;
  }
  
  /* CTA */
  .cta-inner {
    padding: 0 32px;
  }
  
  .cta-card {
    padding: 64px;
  }
  
  .cta-content {
    flex-direction: row;
    align-items: center;
    gap: 64px;
  }
  
  .cta-title {
    font-size: 36px;
  }
  
  .cta-actions {
    align-items: flex-end;
  }
  
  /* Footer */
  .footer-inner {
    padding: 0 24px;
  }
  
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
  
  .footer-brand {
    grid-column: auto;
  }
  
  /* About */
  .about-hero {
    height: 500px;
  }
  
  .about-hero-title {
    font-size: 60px;
  }
  
  .about-bio-inner {
    padding: 0 24px;
  }
}


/* =================================================================
   RESPONSIVE STYLES - LARGE DESKTOP (min-width: 1280px)
   ================================================================= */
@media (min-width: 1280px) {
  .header-inner {
    padding: 0 24px;
  }
}
