/* ==========================================================================
   SEO RISE AGENCY - 2026 LIGHT EDITORIAL DESIGN SYSTEM
   Founder: Waseem Ahmed Rana | SEO Expert & Digital Growth Strategist
   Light Palette Tokens:
   - Base Background: #F8FAFC (Clean Slate White)
   - Card Surface: #FFFFFF (Pure White)
   - Card Border: rgba(15, 23, 42, 0.08)
   - Primary Text: #0F172A (Deep Slate Navy)
   - Slate Body Text: #475569
   - Muted Text: #64748B
   - Electric Lime Accent: #84CC16
   - Dark Contrast Accent: #0F172A
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

:root {
  /* Color Palette - Light Editorial Theme */
  --bg-light: #F8FAFC;
  --bg-surface: #FFFFFF;
  --bg-subtle: #F1F5F9;
  --bg-dark-section: #0F172A;

  --border-card: rgba(15, 23, 42, 0.08);
  --border-card-hover: rgba(132, 204, 22, 0.5);

  --accent-lime: #84CC16;
  --accent-lime-hover: #65A30D;
  --accent-lime-light: rgba(132, 204, 22, 0.12);
  --accent-lime-text: #3F6212;

  --text-dark: #0F172A;
  --text-body: #475569;
  --text-muted: #64748B;
  --text-white: #F8FAFC;

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Radius & Shadows */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  
  --shadow-card: 0 10px 30px rgba(15, 23, 42, 0.06);
  --shadow-hover: 0 18px 40px rgba(15, 23, 42, 0.12);
  --shadow-lime: 0 8px 24px rgba(132, 204, 22, 0.28);
  --glass-backdrop: blur(16px);
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-family: var(--font-body);
  font-size: 16px;
  background-color: var(--bg-light);
  color: var(--text-body);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

body.menu-open {
  overflow: hidden;
}

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent-lime);
  outline-offset: 3px;
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.85rem); }
h2 { font-size: clamp(1.85rem, 3.8vw, 2.75rem); }
h3 { font-size: clamp(1.35rem, 2.5vw, 1.75rem); }
h4 { font-size: clamp(1.15rem, 2vw, 1.35rem); }

p {
  color: var(--text-body);
  font-size: 1.05rem;
  line-height: 1.7;
}

.highlight-lime {
  color: var(--accent-lime);
  position: relative;
  display: inline-block;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-lime-text);
  background: var(--accent-lime-light);
  border: 1px solid rgba(132, 204, 22, 0.3);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  background-color: var(--accent-lime);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-lime);
}

/* Layout Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 100px 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 60px 0;
  }
}

/* Announcement Bar */
.announcement-bar {
  background: #0F172A;
  border-bottom: 1px solid rgba(132, 204, 22, 0.2);
  color: #F8FAFC;
  font-size: 0.875rem;
  padding: 10px 16px;
  text-align: center;
  position: relative;
  z-index: 101;
}

.announcement-bar a {
  color: var(--accent-lime);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 6px;
  transition: var(--transition-fast);
}

.announcement-bar a:hover {
  text-decoration: underline;
  color: #FFFFFF;
}

/* Header & Navigation (Light Surface) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: var(--glass-backdrop);
  -webkit-backdrop-filter: var(--glass-backdrop);
  border-bottom: 1px solid var(--border-card);
  transition: var(--transition-smooth);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-dark);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

/* The badge renders the real logo asset; the ▲ glyph in the markup is the fallback */
.logo-badge {
  width: 38px;
  height: 38px;
  background: #0F172A url('../images/logo/seo-rise-agency-3d-gold-lime-logo.svg') center / cover no-repeat;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  color: transparent;
  box-shadow: var(--shadow-lime);
}

.brand-logo .brand-highlight {
  color: var(--accent-lime-text);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  color: var(--text-body);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition-fast);
  position: relative;
  padding: 8px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-lime-text);
}

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

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

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Mobile Navigation Overlay */
.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-card);
  color: var(--text-dark);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #FFFFFF;
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 32px 24px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-overlay.active {
  transform: translateX(0);
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-nav-links a {
  display: block;
  padding: 8px 0;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  text-decoration: none;
  transition: var(--transition-fast);
}

.mobile-nav-links a:hover {
  color: var(--accent-lime-text);
}

.mobile-nav-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Button Components */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-fast);
  border: none;
  white-space: nowrap;
}

.btn-lime {
  background-color: var(--accent-lime);
  color: #0F172A;
  box-shadow: var(--shadow-lime);
}

.btn-lime:hover {
  background-color: var(--accent-lime-hover);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(132, 204, 22, 0.4);
}

.btn-secondary {
  background: #FFFFFF;
  color: var(--text-dark);
  border: 1px solid var(--border-card);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.btn-secondary:hover {
  border-color: var(--accent-lime);
  color: var(--accent-lime-text);
  transform: translateY(-2px);
}

.btn-dark {
  background: #0F172A;
  color: #FFFFFF;
}

.btn-dark:hover {
  background: #1E293B;
  color: var(--accent-lime);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25D366;
  color: #000000;
  font-weight: 700;
}

.btn-whatsapp:hover {
  background: #1faf53;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
}

/* Light Card Components */
.card-dark, .card-light {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.card-dark:hover, .card-light:hover {
  border-color: var(--border-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

/* Visual Header Inside Cards */
.card-visual-header {
  width: 100%;
  height: 140px;
  background: linear-gradient(135deg, #F1F5F9 0%, #E2E8F0 100%);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-card);
}

.card-visual-header svg {
  width: 100%;
  height: 100%;
}

/* The photography is roughly 16:10, so slots holding one match that ratio and
   fill edge to edge; cover absorbs the few assets that are slightly off-ratio.
   Slots still holding a placeholder illustration keep the fixed 140px height. */
.card-visual-header:has(img) {
  height: auto;
  aspect-ratio: 16 / 10;
}

.card-visual-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Full-width illustration used at the top of service, article and case-study pages */
.page-figure {
  margin: 0 0 36px 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-card);
  background: var(--bg-subtle);
}

.page-figure img {
  width: 100%;
  height: auto;
  display: block;
}

.page-figure figcaption {
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 12px 18px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-card);
}

/* Founder portrait on the About page */
/* The asset is 800x1000, so height follows naturally — no cropping needed */
.founder-portrait {
  width: 220px;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  border: 3px solid var(--accent-lime);
  box-shadow: var(--shadow-lime);
  margin: 0 auto 20px auto;
  display: block;
}

/* Hero Section */
.hero-section {
  padding: 80px 0 100px 0;
  position: relative;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(248, 250, 252, 0.96) 100%),
    url('../images/hero/hero-background-office.jpg') center / cover no-repeat;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-title {
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-body);
  margin-bottom: 36px;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.trust-line {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Hero Dark Contrast Dashboard Visual */
.hero-dashboard-container {
  position: relative;
}

.dashboard-card {
  background: #0F172A;
  border: 1.5px solid var(--accent-lime);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.25);
  position: relative;
  color: #F8FAFC;
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 20px;
}

.dash-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-lime);
  background: rgba(132, 204, 22, 0.15);
  padding: 4px 10px;
  border-radius: 100px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.metric-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 16px;
}

.metric-val {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: #FFFFFF;
}

.metric-val.lime {
  color: var(--accent-lime);
}

.metric-lbl {
  font-size: 0.75rem;
  color: #94A3B8;
  margin-top: 4px;
}

/* Chart Canvas Box */
.chart-box {
  width: 100%;
  height: 180px;
  background: rgba(2, 6, 23, 0.6);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px;
  position: relative;
  overflow: hidden;
}

/* Floating Founder Card */
.founder-mini-card {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: #FFFFFF;
  border: 1.5px solid var(--accent-lime);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.15);
  z-index: 10;
}

.founder-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #0F172A;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--accent-lime);
  border: 2px solid var(--accent-lime);
}

.founder-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
}

.founder-title {
  font-size: 0.75rem;
  color: var(--accent-lime-text);
  font-weight: 600;
}

/* Credibility Strip */
.credibility-strip {
  background: #0F172A;
  padding: 24px 0;
  overflow: hidden;
  color: #F8FAFC;
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 48px;
  white-space: nowrap;
  animation: scrollTicker 30s linear infinite;
}

@keyframes scrollTicker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: #F8FAFC;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ticker-dot {
  color: var(--accent-lime);
  font-size: 0.8rem;
}

/* Editorial Problem Cards */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.problem-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
}

.problem-card:hover {
  border-color: rgba(239, 68, 68, 0.4);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.problem-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(239, 68, 68, 0.15);
  position: absolute;
  top: 24px;
  right: 28px;
}

/* Service Grid (Featured Technical SEO) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.service-card-featured {
  grid-column: span 3;
  background: linear-gradient(135deg, #FFFFFF 0%, rgba(132, 204, 22, 0.08) 100%);
  border: 2px solid var(--accent-lime);
  border-radius: var(--radius-xl);
  padding: 44px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 36px;
  align-items: center;
  box-shadow: var(--shadow-hover);
}

/* Process Timeline Section */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: 48px;
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--border-card);
  z-index: 1;
}

.process-step {
  position: relative;
  z-index: 2;
}

.process-badge {
  width: 64px;
  height: 64px;
  background: #FFFFFF;
  border: 2px solid var(--border-card);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 24px;
  box-shadow: var(--shadow-card);
  transition: var(--transition-fast);
}

.process-step:hover .process-badge {
  border-color: var(--accent-lime);
  color: var(--accent-lime-text);
  box-shadow: var(--shadow-lime);
}

/* Audit Form Section */
.audit-form-container {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 48px;
  margin-top: 48px;
  box-shadow: var(--shadow-hover);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-dark);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  background: #F8FAFC;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  color: var(--text-dark);
  font-size: 0.95rem;
  font-family: var(--font-body);
  transition: var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--accent-lime);
  background: #FFFFFF;
}

.form-error {
  font-size: 0.78rem;
  color: #EF4444;
  display: none;
}

.form-group.has-error .form-error {
  display: block;
}

/* Audit Scanner Modal */
.audit-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: var(--glass-backdrop);
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.audit-modal-backdrop.active {
  display: flex;
}

.audit-modal-card {
  background: #FFFFFF;
  border: 2px solid var(--accent-lime);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.3);
  position: relative;
  color: var(--text-dark);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: 1px solid var(--border-card);
  color: var(--text-dark);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* FAQ Accordion */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 40px;
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition-fast);
}

.faq-header {
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: none;
  color: var(--text-dark);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-icon {
  width: 24px;
  height: 24px;
  color: var(--accent-lime-text);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 24px;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.active .faq-content {
  max-height: 300px;
  padding: 0 24px 20px 24px;
}

/* Floating WhatsApp & Sticky Mobile Bottom Bar */
.floating-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 90;
  transition: var(--transition-fast);
  text-decoration: none;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
}

.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #FFFFFF;
  border-top: 1px solid var(--border-card);
  padding: 12px 16px;
  z-index: 95;
  box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.08);
}

/* Global Footer (Dark Premium Contrast) */
.site-footer {
  background: #0F172A url('../images/backgrounds/dark-editorial-background.jpg') center / cover no-repeat;
  color: #F8FAFC;
  border-top: 1px solid var(--border-card);
  padding: 80px 0 40px 0;
  margin-top: auto;
}

.site-footer p, .site-footer .footer-links a {
  color: #94A3B8;
}

.site-footer .footer-links a:hover {
  color: var(--accent-lime);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 20px;
}

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

.footer-links a {
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #94A3B8;
}

/* Footer brand lockup — uses the dark-background logo asset */
.footer-brand-logo {
  display: block;
  max-width: 220px;
  margin-bottom: 16px;
}

.footer-brand-logo img {
  width: 100%;
  height: auto;
  display: block;
}

/* Section bands — the pattern sits under a tinted wash so the original
   light/dark alternation of the page is preserved. */
.light-pattern-band {
  background:
    linear-gradient(rgba(241, 245, 249, 0.93), rgba(241, 245, 249, 0.93)),
    url('../images/backgrounds/strategy-meeting-analytics.jpg') center / cover no-repeat;
}

.cta-band {
  color: #F8FAFC;
  background:
    linear-gradient(rgba(15, 23, 42, 0.82), rgba(15, 23, 42, 0.9)),
    url('../images/backgrounds/contact-consultation-office.jpg') center / cover no-repeat;
}

/* Slim footer variant used on inner pages — keeps the container's side gutter */
.footer-bottom--slim {
  border-top: none;
  padding-top: 0;
}

/* Reusable Responsive Grid Utilities
   Used in place of hardcoded inline grid-template-columns on page markup. */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.grid-split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}

.grid-split.align-center {
  align-items: center;
}

.grid-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* Button rows: buttons are nowrap, so the row itself must wrap */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Media never overflows its column */
img, svg, video, canvas, iframe {
  max-width: 100%;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .founder-mini-card { position: relative; bottom: 0; left: 0; margin-top: 16px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card-featured { grid-column: span 2; grid-template-columns: 1fr; padding: 32px; }
  .process-timeline { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .process-timeline::before { display: none; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-split { grid-template-columns: 1fr; gap: 32px; }
  .audit-form-container { padding: 32px; }
}

@media (max-width: 768px) {
  /* The header CTA is desktop-only regardless of whether the page tagged it —
     on mobile it crowds out the hamburger. The overlay and sticky bar carry it. */
  .nav-menu, .desktop-only-btn, .header-cta-group > .btn { display: none; }
  .mobile-toggle { display: flex; }
  .problem-grid { grid-template-columns: 1fr; gap: 20px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card-featured { grid-column: span 1; padding: 24px; }
  .process-timeline { grid-template-columns: 1fr; gap: 24px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full-width { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; margin-bottom: 40px; }
  .mobile-bottom-bar { display: flex; gap: 12px; }
  .floating-whatsapp { right: 16px; width: 52px; height: 52px; }
  /* Only index-style pages carry the sticky bar — lift the bubble clear of it there */
  body:has(.mobile-bottom-bar) .floating-whatsapp { bottom: 80px; }
  .metrics-grid { grid-template-columns: 1fr; }

  .grid-3, .grid-2 { grid-template-columns: 1fr; gap: 20px; }

  /* Tighter page rhythm on handsets */
  .container { padding: 0 16px; }
  .hero-section { padding: 48px 0 64px 0; }
  .nav-container { height: 68px; }
  .site-footer { padding: 56px 0 32px 0; }
  .announcement-bar { font-size: 0.78rem; padding: 8px 12px; }

  /* Card & panel padding */
  .card-dark, .card-light { padding: 24px; }
  .problem-card { padding: 24px; }
  .problem-number { font-size: 1.85rem; top: 16px; right: 18px; }
  .audit-form-container { padding: 24px; margin-top: 32px; }
  .audit-modal-backdrop { padding: 12px; }
  .audit-modal-card { padding: 28px 20px; max-height: 92vh; }
  .dashboard-card { padding: 18px; }
  .chart-box { height: 150px; padding: 12px; }

  /* Body copy & FAQ */
  p { font-size: 1rem; }
  .hero-subtitle { font-size: 1.05rem; margin-bottom: 28px; }
  .faq-header { padding: 16px 18px; font-size: 1rem; }
  .faq-content, .faq-item.active .faq-content { padding-left: 18px; padding-right: 18px; }
  .faq-item.active .faq-content { max-height: 600px; }

  /* Roomier touch targets for the dense link lists */
  .footer-links { gap: 4px; }
  .footer-links a { display: inline-flex; align-items: center; min-height: 40px; }
  .footer-bottom a { display: inline-flex; align-items: center; min-height: 40px; }
  .nav-link { padding: 12px 0; }

  /* Mobile sticky bar buttons share the row evenly */
  .mobile-bottom-bar .btn { flex: 1; padding: 12px 14px; }

  /* Footer bottom stacks instead of squeezing */
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    text-align: left;
  }

  /* Leave room for the sticky bottom bar */
  body:has(.mobile-bottom-bar) { padding-bottom: 72px; }
}

@media (max-width: 480px) {
  .section-padding { padding: 48px 0; }
  .brand-logo { font-size: 1.1rem; gap: 8px; }
  .logo-badge { width: 32px; height: 32px; }
  .grid-stats { grid-template-columns: 1fr; }

  /* Stacked full-width CTAs read better than wrapped half-buttons */
  .hero-cta-group { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-cta-group .btn { width: 100%; }
  .cta-row { flex-direction: column; align-items: stretch; gap: 12px; }
  .cta-row .btn { width: 100%; }
  /* Long CTA labels must be allowed to break rather than push the page wide */
  .btn { padding: 13px 20px; font-size: 0.9rem; white-space: normal; text-align: center; }

  .trust-line { flex-wrap: wrap; gap: 8px; font-size: 0.75rem; }
  .mobile-nav-overlay { padding: 24px 16px; }
  .mobile-nav-links { gap: 6px; }
  .mobile-nav-links a { font-size: 1.25rem; display: block; padding: 10px 0; }
  .founder-mini-card { padding: 12px 14px; gap: 10px; }
  .ticker-track { gap: 28px; }
  .ticker-item { font-size: 0.85rem; }
  .process-badge { width: 52px; height: 52px; font-size: 1rem; margin-bottom: 16px; }
}
