/* ============================================
   JEEVIO - Delivery Apps Development Company
   Premium Enterprise Website Stylesheet
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --primary: #071B2E;
  --secondary: #0E3150;
  --cta-blue: #2F80FF;
  --cta-blue-hover: #1A6AE8;
  --accent-teal: #18C29C;
  --accent-teal-hover: #14A885;
  --bg-light: #F7FAFC;
  --bg-white: #FFFFFF;
  --text-dark: #111827;
  --text-body: #374151;
  --text-muted: #6B7280;
  --text-light: #9CA3AF;
  --border: #DDE7F0;
  --border-light: #E5E7EB;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
  --radius-sm: 6px;
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --transition: 0.2s ease;
  --transition-md: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--text-body);
  background-color: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

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

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

h1 { font-size: clamp(2rem, 5vw, 3.25rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: 0.875rem; }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); margin-bottom: 0.75rem; }
h4 { font-size: clamp(1.125rem, 2.5vw, 1.375rem); margin-bottom: 0.625rem; }
h5 { font-size: 1.125rem; margin-bottom: 0.5rem; }
h6 { font-size: 1rem; margin-bottom: 0.5rem; }

p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

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

.container-sm { max-width: 960px; margin: 0 auto; padding: 0 1.5rem; }
.container-lg { max-width: 1440px; margin: 0 auto; padding: 0 1.5rem; }

.section {
  padding: 5rem 0;
}

.section-sm {
  padding: 3rem 0;
}

.section-lg {
  padding: 7rem 0;
}

/* --- Flexbox & Grid --- */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }
.gap-6 { gap: 3rem; }
.gap-8 { gap: 4rem; }

.grid { display: grid; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Hide empty <p> tags WordPress wpautop inserts inside grids and flex containers */
.grid > p,
.grid-2 > p,
.grid-3 > p,
.grid-4 > p,
.grid-2-col > p,
.grid-3-col > p,
.contact-grid > p,
.modules-grid > p,
.benefits-grid > p,
.features-grid > p,
.process-grid > p,
[class*="grid"] > p:empty,
[class*="grid"] > p:has(> br:only-child),
section .container > .grid > p,
section .container > [class*="grid"] > p { display: none !important; }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .section { padding: 3.5rem 0; }
  .section-lg { padding: 4.5rem 0; }
  .md-flex-col { flex-direction: column; }
}

/* --- Text Utilities --- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-white { color: #fff; }
.text-primary { color: var(--primary); }
.text-cta { color: var(--cta-blue); }
.text-teal { color: var(--accent-teal); }
.text-muted { color: var(--text-muted); }
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.uppercase { text-transform: uppercase; }
.tracking-wide { letter-spacing: 0.05em; }

.subtitle {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cta-blue);
  margin-bottom: 0.75rem;
  display: inline-block;
}

.section-intro {
  max-width: 680px;
  margin: 0 auto 3rem;
  color: var(--text-muted);
  font-size: 1.125rem;
  line-height: 1.7;
}

/* --- Spacing --- */
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 3rem; }
.mb-8 { margin-bottom: 4rem; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8125rem 1.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: all var(--transition);
  white-space: nowrap;
  line-height: 1.4;
}

.btn-primary {
  background: var(--cta-blue);
  color: #fff;
}
.btn-primary:hover {
  background: var(--cta-blue-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(47,128,255,0.35);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.3);
}
.btn-secondary:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.1);
}

.btn-outline {
  background: transparent;
  color: var(--cta-blue);
  border: 2px solid var(--cta-blue);
}
.btn-outline:hover {
  background: var(--cta-blue);
  color: #fff;
}

.btn-teal {
  background: var(--accent-teal);
  color: #fff;
}
.btn-teal:hover {
  background: var(--accent-teal-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(24,194,156,0.35);
}

.btn-white {
  background: #fff;
  color: var(--primary);
}
.btn-white:hover {
  background: #F0F4F8;
  transform: translateY(-1px);
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1rem;
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.8125rem;
}

.btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* --- Cards --- */
.card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition-md);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.card-dark {
  background: var(--secondary);
  border-color: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.85);
}

.card-dark h3, .card-dark h4 {
  color: #fff;
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
}

.card-icon i,
.card-icon .fa-solid,
.card-icon .fa-brands {
  font-size: 1.375rem;
  line-height: 1;
}

.card-icon-blue {
  background: rgba(47,128,255,0.1);
  color: var(--cta-blue);
}

.card-icon-teal {
  background: rgba(24,194,156,0.1);
  color: var(--accent-teal);
}

/* --- Card link (a.card) --- */
a.card {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}
a.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  border-color: var(--cta-blue);
}
a.card h4, a.card h5 {
  color: var(--text-dark);
  margin-top: 0.75rem;
  margin-bottom: 0.5rem;
}
a.card .text-muted {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
}
a.card .text-sm {
  font-size: 0.8125rem;
}

/* --- Header --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(13,13,13,0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: all 0.3s ease;
}

.site-header.scrolled {
  background: rgba(13,13,13,0.95);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
  border-bottom-color: rgba(255,255,255,0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 1.375rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  flex-shrink: 0;
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, #FF6B35, #E8432A);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(255,107,53,0.25);
}

.logo-dot {
  color: #FF6B35;
}

/* Main Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: 0.125rem;
}

.nav-item {
  position: relative;
}

.nav-item.has-mega {
  padding-bottom: 20px;
  margin-bottom: -20px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 0.875rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  border-radius: 8px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
  background: rgba(255,255,255,0.06);
}

.nav-chevron {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
  opacity: 0.5;
}

.nav-item:hover .nav-chevron,
.nav-item.open .nav-chevron {
  transform: rotate(180deg);
  opacity: 1;
}

/* Deprecated: for backwards compat */
.nav-link svg { width: 14px; height: 14px; transition: transform 0.2s ease; }
.nav-item:hover .nav-link svg, .nav-item.open .nav-link svg { transform: rotate(180deg); }

/* Mega Menu */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: #FFFFFF;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.18), 0 0 0 1px rgba(0,0,0,0.03);
  padding: 0;
  padding-top: 8px;
  width: 640px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  z-index: 1001;
}

.mega-menu-sm {
  width: 580px;
}

.nav-item:hover .mega-menu,
.nav-item.open .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mega-menu::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 0;
  right: 0;
  height: 20px;
}

.mega-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.mega-col {
  padding: 1.25rem;
}

.mega-col + .mega-col {
  border-left: 1px solid rgba(0,0,0,0.06);
}

.mega-col-title {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9CA3AF;
  padding: 0 0.75rem;
  margin-bottom: 0.625rem;
}

.mega-item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.625rem 0.75rem;
  font-size: 0.875rem;
  color: var(--text-body);
  border-radius: 12px;
  transition: all 0.2s ease;
  font-weight: 500;
  text-decoration: none;
}

.mega-item:hover {
  background: linear-gradient(135deg, rgba(255,107,53,0.06), rgba(255,107,53,0.02));
}

.mega-item:hover .mega-item-title {
  color: #FF6B35;
}

.mega-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(255,107,53,0.08), rgba(255,107,53,0.03));
}

.mega-item-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1F2937;
  margin-bottom: 1px;
  transition: color 0.2s ease;
  line-height: 1.3;
}

.mega-item-desc {
  font-size: 0.75rem;
  color: #9CA3AF;
  font-weight: 400;
  line-height: 1.3;
}

/* Mega menu highlight box */
.mega-highlight {
  margin-top: 0.75rem;
  padding: 0.875rem;
  background: linear-gradient(135deg, rgba(255,107,53,0.04), rgba(255,107,53,0.01));
  border-radius: 12px;
  border: 1px solid rgba(255,107,53,0.08);
}

.mega-highlight-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #FF6B35;
  margin-bottom: 0.5rem;
}

.mega-highlight-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}

.mega-highlight-tags span {
  padding: 0.25rem 0.625rem;
  background: rgba(255,107,53,0.08);
  color: #B44A22;
  font-size: 0.6875rem;
  font-weight: 600;
  border-radius: 6px;
}

/* Mobile dropdown label */
.mobile-dropdown-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.35);
  padding: 0.375rem 0;
}

/* Legacy dropdown compat */
.dropdown-icon { display: none; }
.dropdown-item-title { display: none; }
.dropdown-item-desc { display: none; }

/* Header CTA */
.header-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.btn-header-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.375rem;
  background: linear-gradient(135deg, #FF6B35, #E8432A);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(255,107,53,0.25);
  cursor: pointer;
}

.btn-header-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(255,107,53,0.35);
}

.btn-header-primary svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.btn-header-primary:hover svg {
  transform: translateX(2px);
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  cursor: pointer;
  z-index: 1001;
  padding: 0;
}

.mobile-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.2s ease;
  transform-origin: center;
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}
.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Navigation */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  height: 100dvh;
  background: #0D0D0D;
  padding: 2rem;
  padding-top: 5rem;
  overflow-y: auto;
  transition: right 0.3s ease;
  z-index: 999;
  border-left: 1px solid rgba(255,255,255,0.06);
}

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

.mobile-nav-header {
  margin-bottom: 1.5rem;
}

.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 0;
  color: rgba(255,255,255,0.7);
  font-size: 1.0625rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color 0.2s ease;
}

.mobile-nav-link:hover {
  color: #fff;
}

.mobile-dropdown {
  display: none;
  padding: 0.5rem 0 0.5rem 1rem;
}

.mobile-dropdown.open {
  display: block;
}

.mobile-dropdown a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
  color: rgba(255,255,255,0.5);
  font-size: 0.9375rem;
  font-weight: 400;
  transition: color 0.2s ease;
}

.mobile-dropdown a:hover {
  color: #FF6B35;
}

.mobile-dropdown a span {
  font-size: 1rem;
}

.mobile-dropdown a i {
  font-size: 0.875rem;
  width: 1.25rem;
  text-align: center;
  color: #FF6B35;
}

.mobile-nav-cta {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.btn-mobile-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  background: linear-gradient(135deg, #FF6B35, #E8432A);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 12px;
  border: none;
  box-shadow: 0 4px 16px rgba(255,107,53,0.3);
}

.btn-mobile-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.5rem;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.8);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
}

@media (max-width: 1100px) {
  .main-nav, .header-cta {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
  .mobile-nav, .mobile-overlay {
    display: block;
  }
  .logo {
    flex-shrink: 1;
    min-width: 0;
    overflow: hidden;
  }
  .logo img {
    max-width: 100%;
    height: 40px;
  }
  .header-inner {
    padding: 0 1rem;
    gap: 1rem;
  }
}

/* --- Hero Section --- */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, #0A2540 100%);
  padding: 10rem 0 6rem;
  overflow: hidden;
  min-height: 600px;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(47,128,255,0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  pointer-events: none;
}

.hero-glow-1 {
  top: -100px;
  right: -100px;
  background: var(--cta-blue);
}

.hero-glow-2 {
  bottom: -200px;
  left: -100px;
  background: var(--accent-teal);
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text h1 {
  color: #fff;
  margin-bottom: 1.5rem;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1.15;
}

.hero-text h1 span {
  color: var(--accent-teal);
}

.hero-text p {
  color: rgba(255,255,255,0.7);
  font-size: 1.125rem;
  margin-bottom: 2rem;
  max-width: 520px;
  line-height: 1.8;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-mockup {
  width: 100%;
  max-width: 520px;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, rgba(47,128,255,0.15), rgba(24,194,156,0.1));
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-mockup::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(7,27,46,0.3));
}

.mockup-phones {
  display: flex;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.mockup-phone {
  width: 120px;
  height: 220px;
  background: rgba(14,49,80,0.8);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 20px;
  padding: 8px;
  position: relative;
}

.mockup-phone:first-child {
  transform: translateY(-10px);
}

.mockup-phone:last-child {
  transform: translateY(10px);
}

.mockup-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, var(--cta-blue), var(--secondary));
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px;
}

.mockup-line {
  width: 70%;
  height: 4px;
  background: rgba(255,255,255,0.3);
  border-radius: 2px;
}

.mockup-line.short { width: 50%; }

.mockup-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  margin-bottom: 8px;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-stat-number {
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  display: block;
}

.hero-stat-label {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.5);
  margin-top: 0.25rem;
  display: block;
}

@media (max-width: 768px) {
  .hero {
    padding: 8rem 0 4rem;
    min-height: auto;
  }
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }
  .hero-text p {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-text .btn-group {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
  }
  .hero-visual {
    order: -1;
  }
  .hero-mockup {
    max-width: 360px;
  }
}

/* --- Trust Strip --- */
.trust-strip {
  background: var(--bg-light);
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}

.trust-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.trust-logo {
  height: 28px;
  opacity: 0.4;
  filter: grayscale(100%);
  transition: opacity var(--transition);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
}

.trust-logo:hover {
  opacity: 0.7;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  padding: 1.5rem;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--cta-blue);
  display: block;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

@media (max-width: 768px) {
  .stats-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .stat-number,
  .stats-strip [style*="font-size:2.75rem"],
  .stats-strip [style*="font-size: 2.75rem"] {
    font-size: 2rem !important;
  }
  .grid-2-col .card,
  .grid-3-col .card {
    padding: 1.5rem 1rem !important;
  }
}

@media (max-width: 480px) {
  .stats-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .stat-number,
  .stats-strip [style*="font-size:2.75rem"],
  .stats-strip [style*="font-size: 2.75rem"] {
    font-size: 1.625rem !important;
  }
  .about-story-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .about-story-graphic svg {
    max-width: 280px;
  }
  .grid-2-col .card,
  .grid-3-col .card {
    padding: 1.25rem 1rem !important;
  }
  .grid-2-col .card h3,
  .grid-3-col .card h3 {
    font-size: 1.125rem;
  }
  .section-header h2, h2 {
    font-size: 1.5rem !important;
  }
}

/* --- Feature/Benefits Grid --- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .feature-grid { grid-template-columns: 1fr; }
}

/* --- Platform Modules --- */
.module-tabs {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.module-tab {
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-light);
  border-radius: var(--radius-full);
  transition: all var(--transition);
  cursor: pointer;
  border: 1px solid transparent;
}

.module-tab:hover {
  color: var(--text-dark);
  border-color: var(--border);
}

.module-tab.active {
  background: var(--cta-blue);
  color: #fff;
}

.module-content {
  display: none;
}

.module-content.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.module-visual {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius-xl);
  padding: 3rem;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.module-phone {
  width: 180px;
  height: 340px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 28px;
  padding: 12px;
}

.module-phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #0E3150, #071B2E);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1rem;
  gap: 0.75rem;
}

.module-phone-screen .mock-bar {
  height: 6px;
  background: rgba(255,255,255,0.15);
  border-radius: 3px;
}

.module-phone-screen .mock-bar.short { width: 60%; }
.module-phone-screen .mock-bar.medium { width: 80%; }

.module-phone-screen .mock-card {
  background: rgba(255,255,255,0.06);
  border-radius: 8px;
  padding: 0.75rem;
  flex: 1;
}

@media (max-width: 768px) {
  .module-content.active {
    grid-template-columns: 1fr;
  }
}

/* --- Process Steps --- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}

.process-step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cta-blue), var(--accent-teal));
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

@media (max-width: 768px) {
  .process-steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .process-steps {
    grid-template-columns: 1fr;
  }
}

/* --- Testimonials --- */
.testimonial-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
}

.testimonial-stars {
  color: #F59E0B;
  margin-bottom: 1rem;
  font-size: 1rem;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-body);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cta-blue), var(--accent-teal));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
}

.testimonial-name {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.9375rem;
}

.testimonial-role {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* --- FAQ --- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

/* Inline CTA Banner (replaces orange CTA section) */
.inline-cta-banner {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  padding: 2rem 0;
  margin: 2rem 0;
  border-radius: 12px;
}
.inline-cta-banner .btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}
@media (max-width: 768px) {
  .inline-cta-banner .container {
    flex-direction: column !important;
    text-align: center;
  }
  .inline-cta-banner .container > div:last-child {
    justify-content: center;
  }
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: all var(--transition);
}

.faq-item:hover {
  border-color: var(--cta-blue);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.125rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
  transition: all var(--transition);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  -webkit-appearance: none;
  appearance: none;
  font-family: inherit;
  line-height: 1.5;
}
.faq-question * {
  pointer-events: none;
}

.faq-question:hover {
  color: var(--cta-blue);
}

.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: transform var(--transition);
  color: var(--cta-blue);
}

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

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

.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-body);
  line-height: 1.7;
  font-size: 0.9375rem;
}

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(47,128,255,0.1) 1px, transparent 1px);
  background-size: 30px 30px;
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  color: #fff;
  margin-bottom: 1rem;
}

.cta-content p {
  color: rgba(255,255,255,0.7);
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

/* --- Footer --- */

/* Footer Top CTA Strip */
.footer-top-strip {
  background: linear-gradient(135deg, #0D0D0D, #1A1A2E);
  padding: 3.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-top-text h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.25rem;
}

.footer-top-text p {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0;
}

.footer-top-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.btn-footer-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  background: linear-gradient(135deg, #FF6B35, #E8432A);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 12px;
  border: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 16px rgba(255,107,53,0.3);
}

.btn-footer-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255,107,53,0.4);
}

.btn-footer-secondary {
  display: inline-flex;
  align-items: center;
  padding: 0.875rem 1.75rem;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.8);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.2s ease;
}

.btn-footer-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
}

/* Footer Trust Bar */
.footer-trust-bar {
  background: #111111;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.footer-trust-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.footer-trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.footer-trust-item i {
  color: #FF6B35;
  font-size: 0.9375rem;
}

/* Footer Main */
.footer-main {
  background: #0D0D0D;
  padding: 4rem 0 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr 1fr;
  gap: 2.5rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.footer-logo-icon {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, #FF6B35, #E8432A);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  margin: 0 0 1.5rem;
  color: rgba(255,255,255,0.4);
  max-width: 360px;
}

.footer-social {
  display: flex;
  gap: 0.625rem;
}

.footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  transition: all 0.2s ease;
}

.footer-social-link:hover {
  background: #FF6B35;
  color: #fff;
  transform: translateY(-2px);
}

.footer-col {}

.footer-heading {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-links a {
  display: block;
  padding: 0.35rem 0;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.4);
  transition: all 0.2s ease;
}

.footer-links a:hover {
  color: #FF6B35;
  transform: translateX(3px);
}

/* Footer Bottom */
.footer-bottom {
  background: #0A0A0A;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 1.25rem 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.3);
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-bottom-links a {
  color: rgba(255,255,255,0.3);
  transition: color 0.2s ease;
}

.footer-bottom-links a:hover {
  color: rgba(255,255,255,0.7);
}

.footer-bottom-dot {
  color: rgba(255,255,255,0.15);
}

/* Legacy footer compat */
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  color: rgba(255,255,255,0.5);
}

.social-links { display: flex; gap: 1rem; }
.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: all 0.2s ease;
  font-size: 0.875rem;
}
.social-link:hover {
  background: #FF6B35;
  color: #fff;
}

@media (max-width: 1200px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 2rem;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .footer-top-inner {
    flex-direction: column;
    text-align: center;
  }
  .footer-trust-inner {
    gap: 1.5rem;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom-inner {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
  .footer-top-actions {
    flex-direction: column;
    width: 100%;
  }
  .btn-footer-primary,
  .btn-footer-secondary {
    justify-content: center;
    width: 100%;
  }
  .footer-trust-inner {
    gap: 1rem;
    justify-content: space-around;
  }
  .footer-trust-item span {
    font-size: 0.6875rem;
  }
}

/* --- Dark Sections --- */
.bg-dark {
  background: var(--primary);
}

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

.bg-light {
  background: var(--bg-light);
}

/* --- Forms --- */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-white);
  color: var(--text-dark);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--cta-blue);
  box-shadow: 0 0 0 3px rgba(47,128,255,0.1);
}

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

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-light);
}

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

@media (max-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Blog --- */
.blog-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-md);
}

.blog-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.blog-card-image {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.3);
  font-size: 2rem;
}

.blog-card-body {
  padding: 1.5rem;
}

.blog-category {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--cta-blue);
  background: rgba(47,128,255,0.08);
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.blog-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.blog-card-title a:hover {
  color: var(--cta-blue);
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

.blog-meta-divider {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-light);
}

/* Single Blog */
.blog-article {
  max-width: 800px;
  margin: 0 auto;
}

.blog-article h2 {
  margin-top: 2.5rem;
}

.blog-article p {
  font-size: 1.0625rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.blog-article ul, .blog-article ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.blog-article li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
  list-style: disc;
}

.blog-article ol li {
  list-style: decimal;
}

.toc {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0;
  margin-top: 2rem;
  margin-bottom: 3rem;
  overflow: hidden;
}
.toc + h2,
.toc + * h2:first-child {
  margin-top: 3rem !important;
}

.toc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  cursor: pointer;
  user-select: none;
  border: none;
  background: none;
  width: 100%;
  font-family: inherit;
}

.toc-header:hover {
  background: #f1f5f9;
}

.toc-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.toc-toggle-icon {
  width: 20px;
  height: 20px;
  color: #64748b;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.toc.open .toc-toggle-icon {
  transform: rotate(180deg);
}

.toc-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.toc.open .toc-content {
  max-height: 2000px;
}

.toc-content ol {
  padding: 0 1.5rem 1.25rem 2.5rem;
  margin: 0;
}

.toc-content ol li {
  padding: 0.375rem 0;
}

.toc a, .toc-content a {
  display: block;
  font-size: 0.9375rem;
  color: var(--cta-blue);
}

.toc a:hover, .toc-content a:hover {
  color: var(--accent-teal);
}

/* --- About Story Grid --- */
.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.about-story-text {
  max-width: 600px;
}
.about-story-graphic {
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-story-graphic svg {
  max-width: 480px;
  height: auto;
}
@media (max-width: 768px) {
  .about-story-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .about-story-graphic {
    order: -1;
  }
  .about-story-graphic svg {
    max-width: 320px;
  }
}

/* --- Page Hero (inner pages) --- */
.page-hero {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  padding: 9rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.page-hero .hero-bg-pattern {
  opacity: 0.5;
}

.page-hero h1 {
  color: #fff;
  margin-bottom: 1rem;
}

.page-hero p {
  color: rgba(255,255,255,0.7);
  font-size: 1.125rem;
  max-width: 640px;
}

.page-hero.text-center p {
  margin-left: auto;
  margin-right: auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1.5rem;
}

.breadcrumb a {
  color: rgba(255,255,255,0.6);
}

.breadcrumb a:hover {
  color: var(--accent-teal);
}

.breadcrumb-sep {
  font-size: 0.75rem;
}

/* --- Related Posts --- */
.related-posts {
  background: var(--bg-light);
  padding: 4rem 0;
}

/* --- Contact Section --- */
.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  align-items: flex-start;
}
.contact-grid > p { display: none !important; }
.contact-grid .contact-form-wrapper {
  order: -1;
  flex: 1 1 55%;
  min-width: 0;
}
.contact-grid .contact-info,
.contact-grid .contact-services {
  order: 1;
  flex: 1 1 35%;
  min-width: 280px;
  position: sticky;
  top: 100px;
}

@media (max-width: 768px) {
  .contact-grid {
    flex-direction: column;
    gap: 2.5rem;
  }
  .contact-grid .contact-form-wrapper,
  .contact-grid .contact-info,
  .contact-grid .contact-services {
    flex: 1 1 100%;
  }
  .contact-grid .contact-info,
  .contact-grid .contact-services { position: static; }
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: rgba(47,128,255,0.08);
  color: var(--cta-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.125rem;
}

/* --- Utility Classes --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}

.relative { position: relative; }
.overflow-hidden { overflow: hidden; }
.w-full { width: 100%; }
.max-w-lg { max-width: 640px; }
.max-w-xl { max-width: 800px; }
.rounded { border-radius: var(--radius); }
.rounded-lg { border-radius: var(--radius-lg); }

/* --- Animations (subtle) --- */
@media (prefers-reduced-motion: no-preference) {
  .fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }
  .fade-up.visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Inner Page Styles (section-dark, section-alt, section-header, grids) --- */

/* Section Dark - dark background sections */
.section-dark,
.section.section-dark {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: rgba(255,255,255,0.85);
}

.section-dark h2, .section-dark h3, .section-dark h4, .section-dark h5 {
  color: #fff;
}

.section-dark p, .section-dark .section-intro {
  color: rgba(255,255,255,0.65);
}

.section-dark .subtitle {
  color: var(--accent-teal);
}

.section-dark .card {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.8);
}

.section-dark .card h3, .section-dark .card h4 {
  color: #fff;
}

.section-dark .card p {
  color: rgba(255,255,255,0.6);
}

.section-dark .card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.12);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.section-dark .card-icon-blue {
  background: rgba(47,128,255,0.2);
}

.section-dark .card-icon-teal {
  background: rgba(24,194,156,0.2);
}

.section-dark .stats-strip .stat-number {
  color: var(--accent-teal);
}

.section-dark .stats-strip .stat-label {
  color: rgba(255,255,255,0.5);
}

/* Section Alt - light alternating background */
.section-alt,
.section.section-alt {
  background: var(--bg-light);
}

/* Section Header - centered title blocks */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.section-dark .section-header p {
  color: rgba(255,255,255,0.6);
}

/* Grid column variants for inner pages */
.grid-2-col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  align-items: start;
}

.grid-3-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 1024px) {
  .grid-3-col {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .grid-2-col, .grid-3-col {
    grid-template-columns: 1fr;
  }
}

/* Page hero subtitle */
.page-hero-subtitle {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.65);
  max-width: 640px;
  margin: 0.5rem auto 0;
  line-height: 1.7;
}

.page-hero.text-center .page-hero-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* Contact page styles */
.contact-form-wrapper {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Contact page services cards */
.contact-services {
  display: flex;
  flex-direction: column;
}
.contact-service-card {
  padding: 1.25rem;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  margin-bottom: 0.75rem;
  transition: all 0.2s;
}
.contact-service-card:last-child {
  margin-bottom: 0;
}
.contact-service-card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: rgba(47,128,255,0.08);
  color: var(--cta-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.125rem;
}

/* Contact page - compact hero so form is visible without scrolling */
.page-id-13 .page-hero {
  padding: 6.5rem 0 1.5rem;
}
.page-id-13 .page-hero h1 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}
.page-id-13 .page-hero .page-hero-subtitle {
  font-size: 0.9375rem;
  margin-bottom: 0.25rem;
}
.page-id-13 .page-hero .breadcrumb {
  margin-top: 0.5rem;
}
.page-id-13 .section .section-header {
  margin-bottom: 1.5rem;
}
.page-id-13 .section .section-header h2 {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}
.page-id-13 .section {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

/* Contact form full width button */
.w-full {
  width: 100%;
}

/* Breadcrumb variants */
.breadcrumb-separator {
  color: rgba(255,255,255,0.3);
  margin: 0 0.25rem;
}

.breadcrumb-current {
  color: rgba(255,255,255,0.7);
}

.breadcrumb.justify-center {
  justify-content: center;
}

/* Inner page CTA sections dark override */
.cta-section h2 {
  color: #fff;
}

.cta-section p {
  color: rgba(255,255,255,0.7);
}

/* Stats strip in dark sections */
.section-dark .stat-item {
  text-align: center;
}

/* Hero bg variable fallback */
:root {
  --hero-bg: linear-gradient(135deg, var(--primary), var(--secondary));
}

/* --- WordPress Content Fixes --- */

/* Ensure blog article content within .article-body is properly styled */
.blog-article .article-body h2 {
  margin-top: 2.5rem;
}

.blog-article .article-body p {
  font-size: 1.0625rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.blog-article .article-body ul,
.blog-article .article-body ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.blog-article .article-body li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
  list-style: disc;
}

.blog-article .article-body ol li {
  list-style: decimal;
}

/* Blog hero meta (author, date, reading time) */
.hero-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  flex-wrap: wrap;
  margin-top: 1rem;
}

.hero-meta-divider {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
}

/* Blog article container spacing */
.container > .blog-article {
  padding-top: 3rem;
  padding-bottom: 1rem;
}

/* Author bio styling */
.blog-article .author-bio {
  margin-top: 3rem;
  padding: 2rem;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

/* WordPress wpautop() fix: hide empty paragraphs in hero sections */
.hero-text > p:empty,
.hero-content > p:empty,
.hero > .container > p:empty,
section.hero p:empty,
.page-hero p:empty {
  display: none;
  margin: 0;
  padding: 0;
  line-height: 0;
  font-size: 0;
}

/* Location & other pages: hero CTA buttons inline */
.page-hero .hero-cta,
.page-hero .btn-group,
.page-hero .cta-buttons,
.hero .btn-group,
.hero-text .btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.page-hero.text-center .hero-cta,
.page-hero.text-center .btn-group,
.page-hero.text-center .cta-buttons,
.hero-text .btn-group.justify-center {
  justify-content: center;
}

/* Breadcrumb nav fix — location pages use <nav> without .breadcrumb class */
.hero-text nav,
.page-hero nav,
.hero-text .breadcrumb,
.page-hero .breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1.5rem;
}

.hero-text nav a,
.page-hero nav a {
  color: rgba(255,255,255,0.6);
}

.hero-text nav a:hover,
.page-hero nav a:hover {
  color: var(--accent-teal);
}

/* When hero-content is centered (location/single-column pages), use single column */
.hero-content[style*="text-align:center"],
.hero-content[style*="text-align: center"] {
  grid-template-columns: 1fr;
}

/* Breadcrumb <ol> inside nav — make inline */
.hero-text nav ol,
.page-hero nav ol {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  justify-content: center;
}

.hero-text nav ol li,
.page-hero nav ol li {
  display: inline;
}

/* Center breadcrumb when hero is centered */
.hero-content[style*="text-align:center"] nav,
.hero-content[style*="text-align: center"] nav {
  justify-content: center;
}

/* Center buttons when hero is centered */
.hero-content[style*="text-align:center"] .btn-group,
.hero-content[style*="text-align: center"] .btn-group {
  justify-content: center;
}

/* Ensure all inner page content stays in container */
main > .section,
main > section {
  width: 100%;
}

/* Fix for WordPress stripping inline styles on some elements */
main > p:first-child:empty,
main > p:last-child:empty {
  display: none;
}

/* Contact form - ensure inputs, selects, textareas are visible */
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group input[type="url"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-white);
  color: var(--text-dark);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  font-family: inherit;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--cta-blue);
  box-shadow: 0 0 0 3px rgba(47,128,255,0.1);
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

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

/* Contact form submit button styling */
.contact-form button[type="submit"],
form button[type="submit"],
.form-group + .btn,
form .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Fix empty paragraphs WordPress adds */
main > br,
.blog-article > br {
  display: none;
}

/* Ensure consistent section spacing on all page types */
main .section:first-child:not(.page-hero) {
  padding-top: 2rem;
}

/* ========================================
   BLOG LISTING PAGE - NEW DESIGN
   ======================================== */

.hero-subtitle {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.65);
  max-width: 600px;
  margin: 1rem auto 0;
  line-height: 1.6;
}

.blog-listing-section {
  padding: 3rem 0 4rem;
  background: var(--bg-white);
}

/* Category Filter Buttons */
.blog-filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  justify-content: center;
}

.blog-filter-btn {
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--bg-white);
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
}

.blog-filter-btn:hover {
  border-color: var(--cta-blue);
  color: var(--cta-blue);
}

.blog-filter-btn.active {
  background: var(--cta-blue);
  color: #fff;
  border-color: var(--cta-blue);
}

/* Featured Post Card */
.blog-featured-card {
  margin-bottom: 3rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-white);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-featured-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.blog-featured-link {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  text-decoration: none;
  color: inherit;
}

.blog-featured-image {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--hero-bg);
}

.blog-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-featured-card:hover .blog-featured-image img {
  transform: scale(1.05);
}

.blog-featured-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,25,47,0.15), transparent);
}

.blog-featured-content {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
}

.blog-featured-content h2 {
  font-size: 1.625rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-dark);
  margin: 0;
}

.blog-featured-content p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

/* Blog Card Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* Individual Blog Card */
.blog-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-white);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.blog-card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card-image {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--hero-bg);
  position: relative;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

.blog-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.25);
  background: linear-gradient(135deg, var(--hero-bg), #0d2137);
}

.blog-card-graphic {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-card-graphic svg {
  width: 100%;
  height: 100%;
  display: block;
}

.blog-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.blog-card-category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--cta-blue);
  background: rgba(47,128,255,0.08);
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  width: fit-content;
}

.blog-card-body h3 {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-dark);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-body p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--text-light);
  margin-top: auto;
  padding-top: 0.5rem;
}

.blog-meta-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-light);
  flex-shrink: 0;
}

/* Pagination */
.blog-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.25rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.blog-pagination a,
.blog-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 0.75rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: all var(--transition);
}

.blog-pagination a {
  color: var(--text-muted);
  border: 1px solid var(--border);
  background: var(--bg-white);
}

.blog-pagination a:hover {
  border-color: var(--cta-blue);
  color: var(--cta-blue);
  background: rgba(47,128,255,0.04);
}

.blog-pagination span.current {
  background: var(--cta-blue);
  color: #fff;
  border: 1px solid var(--cta-blue);
}

.blog-pagination .dots {
  border: none;
  background: transparent;
  color: var(--text-light);
}

.no-posts {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.125rem;
  padding: 4rem 0;
}

/* Blog Listing Responsive */
@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .blog-featured-link {
    grid-template-columns: 1fr;
  }

  .blog-featured-content {
    padding: 1.5rem;
  }

  .blog-featured-content h2 {
    font-size: 1.25rem;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .blog-filters {
    gap: 0.375rem;
  }

  .blog-filter-btn {
    padding: 0.375rem 1rem;
    font-size: 0.8125rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }
}

/* ========================================
   END BLOG LISTING
   ======================================== */

/* ========================================
   BLOG: Key Takeaways Box
   ======================================== */
.blog-key-takeaways {
  background: linear-gradient(135deg, #f0f7ff 0%, #e8f4fd 100%);
  border: 1px solid #c5ddf5;
  border-left: 4px solid var(--cta-blue, #3b82f6);
  border-radius: 12px;
  padding: 2rem 2rem 1.5rem;
  margin: 2rem 0 2.5rem;
  position: relative;
}

.blog-key-takeaways-title {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a365d;
  margin-bottom: 1.25rem;
}

.blog-key-takeaways-title svg {
  flex-shrink: 0;
}

.blog-key-takeaways ul {
  list-style: none !important;
  padding-left: 0 !important;
  margin: 0;
}

.blog-key-takeaways li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.875rem;
  line-height: 1.7;
  color: #334155;
  list-style: none !important;
}

.blog-key-takeaways li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2322c55e'%3E%3Cpath fill-rule='evenodd' d='M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
}

.blog-key-takeaways li:last-child {
  margin-bottom: 0;
}

/* ========================================
   BLOG: Table Formatting (Simple / Clean)
   ======================================== */
.blog-article table,
.blog-article .article-body table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #e2e8f0;
  margin: 1.5rem 0 2rem;
  font-size: 0.9375rem;
}

.blog-article thead th,
.blog-article .article-body thead th {
  font-weight: 600;
  padding: 0.75rem 1rem;
  text-align: left;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #1e293b;
  font-size: 0.9375rem;
}

.blog-article thead th p,
.blog-article .article-body thead th p {
  margin: 0 !important;
  font-size: inherit;
}

.blog-article tbody td,
.blog-article tbody th,
.blog-article .article-body tbody td,
.blog-article .article-body tbody th {
  padding: 0.75rem 1rem;
  border: 1px solid #e2e8f0;
  color: #334155;
  line-height: 1.6;
  vertical-align: top;
}

.blog-article tbody th p,
.blog-article tbody td p,
.blog-article .article-body tbody th p,
.blog-article .article-body tbody td p {
  margin: 0 !important;
  font-size: inherit;
}

/* ========================================
   BLOG: FAQ Accordion
   ======================================== */
.blog-faq-section {
  margin: 2.5rem 0;
}

.blog-faq-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-dark, #0f172a);
  margin-bottom: 1.5rem;
  text-align: center;
}

.blog-faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.blog-faq-item {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  margin-bottom: 0.75rem;
  overflow: hidden;
  background: #fff;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.blog-faq-item:hover {
  border-color: var(--cta-blue, #3b82f6);
  box-shadow: 0 2px 8px rgba(59,130,246,0.1);
}

.blog-faq-item.open {
  border-color: var(--cta-blue, #3b82f6);
  box-shadow: 0 4px 12px rgba(59,130,246,0.12);
}

.blog-faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.125rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark, #0f172a);
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
  transition: all 0.2s ease;
  gap: 1rem;
  font-family: inherit;
  line-height: 1.5;
}

.blog-faq-question:hover {
  color: var(--cta-blue, #3b82f6);
}

.blog-faq-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.blog-faq-icon svg {
  width: 14px;
  height: 14px;
  color: var(--cta-blue, #3b82f6);
  transition: transform 0.3s ease;
}

.blog-faq-item.open .blog-faq-icon {
  background: var(--cta-blue, #3b82f6);
}

.blog-faq-item.open .blog-faq-icon svg {
  color: #fff;
  transform: rotate(180deg);
}

.blog-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.blog-faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  color: #475569;
  line-height: 1.7;
  font-size: 0.9375rem;
  border-top: 1px solid #f1f5f9;
  padding-top: 1rem;
}

/* Mobile responsiveness for blog components */
@media (max-width: 768px) {
  .blog-key-takeaways {
    padding: 1.5rem 1.25rem 1.25rem;
    margin: 1.5rem 0 2rem;
  }

  .blog-key-takeaways-title {
    font-size: 1.125rem;
  }

  .blog-article table,
  .blog-article .article-body table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    font-size: 0.8125rem;
  }

  .blog-article thead th,
  .blog-article .article-body thead th {
    padding: 0.75rem;
    white-space: nowrap;
  }

  .blog-article tbody td,
  .blog-article tbody th,
  .blog-article .article-body tbody td,
  .blog-article .article-body tbody th {
    padding: 0.625rem 0.75rem;
  }

  .blog-faq-question {
    padding: 1rem 1.125rem;
    font-size: 0.9375rem;
  }

  .blog-faq-answer-inner {
    padding: 0 1.125rem 1rem;
    font-size: 0.875rem;
  }
}

/* ========================================
   MOBILE ENHANCEMENTS
   ======================================== */

/* --- Small mobile (375px and below) --- */
@media (max-width: 375px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.125rem; }

  .hero {
    padding: 7rem 0 3rem;
  }

  .hero-text h1 {
    font-size: 1.875rem;
  }

  .btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
    width: 100%;
    justify-content: center;
  }

  .btn-group {
    flex-direction: column;
    width: 100%;
  }

  .btn-group .btn {
    width: 100%;
  }

  .page-hero {
    padding: 7rem 0 2.5rem;
  }

  .page-hero h1 {
    font-size: 1.625rem;
  }

  .section {
    padding: 2.5rem 0;
  }

  .blog-key-takeaways {
    padding: 1.25rem 1rem 1rem;
  }

  .blog-key-takeaways-title {
    font-size: 1rem;
  }

  .blog-faq-title {
    font-size: 1.375rem;
  }

  .toc-content a {
    font-size: 0.8125rem;
  }
}

/* --- Ensure minimum 44px touch targets on mobile --- */
@media (max-width: 768px) {
  .btn {
    min-height: 44px;
  }

  .nav-link,
  .mobile-nav-link,
  .mobile-dropdown a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .faq-question,
  .blog-faq-question {
    min-height: 48px;
  }

  .toc-header {
    min-height: 48px;
  }

  /* Ensure images don't overflow */
  img {
    max-width: 100%;
    height: auto;
  }

  /* Fix any horizontal overflow */
  body {
    overflow-x: hidden;
  }

  main {
    overflow-x: hidden;
  }

  /* Page hero adjustments */
  .page-hero {
    padding: 7.5rem 0 3rem;
  }

  .page-hero h1 {
    font-size: 1.75rem;
  }

  .page-hero p {
    font-size: 1rem;
  }

  /* Section dark CTA mobile */
  .section-dark h2 {
    font-size: 1.5rem;
  }

  .section-dark p {
    font-size: 0.9375rem;
  }

  /* Blog article mobile */
  .blog-article {
    padding-left: 0;
    padding-right: 0;
  }

  .blog-article h2 {
    font-size: 1.375rem;
  }

  .blog-article h3 {
    font-size: 1.125rem;
  }

  /* Service cards on mobile */
  .card {
    padding: 1.25rem;
  }

  /* Revenue model / feature cards */
  .mega-menu {
    width: 100vw;
    left: 0;
    transform: none;
    border-radius: 0 0 12px 12px;
  }
}

/* ========================================
   BLOG ARTICLE LINK STYLING
   ======================================== */
.blog-article .article-body a {
  color: #2563eb !important;
  text-decoration: underline !important;
  text-decoration-thickness: 1.5px !important;
  text-underline-offset: 3px !important;
  transition: color 0.2s, text-decoration-color 0.2s;
}
.blog-article .article-body a:hover {
  color: #1d4ed8 !important;
  text-decoration-color: #1d4ed8 !important;
}

/* --- Print --- */
@media print {
  .site-header, .site-footer, .cta-section, .mobile-nav, .mobile-overlay {
    display: none;
  }
  body {
    color: #000;
  }
}
