/* ==========================================
   CSS Variables & Reset
   ========================================== */
:root {
  color-scheme: dark;
  /* Color Palette (Teal Brand Accent & Sleek Dark Tones) */
  --primary-teal: #0094a9;
  --primary-hover: #007687;
  --primary-glow: rgba(0, 148, 169, 0.25);
  
  --bg-dark: #07090e;
  --bg-darker: #040508;
  --bg-card: rgba(16, 22, 33, 0.7);
  --bg-card-hover: rgba(24, 32, 48, 0.8);
  --bg-header: rgba(7, 9, 14, 0.8);
  
  --text-main: #f8fafc;
  --text-muted: #b8c5d4;
  --text-dark: #0f172a;
  
  --border-color: rgba(255, 255, 255, 0.06);
  --border-glow: rgba(0, 148, 169, 0.3);
  --border-card: rgba(255, 255, 255, 0.08);
  
  --accent-green: #10b981;
  --accent-red: #ef4444;
  
  /* Fonts */
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Manrope', sans-serif;
  --font-mono: 'Fira Code', monospace;
  
  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease-out;
  
  /* Spacing */
  --container-max: 1200px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px; /* Prevent sticky header overlap */
  font-size: 16px;
  background-color: var(--bg-dark);
  color: var(--text-main);
}

body {
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

/* ==========================================
   Typography & Global Utilities
   ========================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

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

a {
  color: var(--primary-teal);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:not(.btn):not(.nav-link):not(.logo-link):not(.card-link):hover {
  color: #5eead4;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
}

.text-center {
  text-align: center;
}

.font-mono {
  font-family: var(--font-mono);
}

.font-small {
  font-size: 0.875rem;
}

.font-uppercase {
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hide-mobile {
  display: inline-block;
}

@media (max-width: 768px) {
  .hide-mobile {
    display: none !important;
  }
}

/* ==========================================
   Custom Buttons & Badges
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 6px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition-smooth);
  font-size: 0.95rem;
}

.btn-primary {
  background-color: var(--primary-teal);
  color: #ffffff;
  font-weight: 700;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  color: #ffffff;
  box-shadow: 0 0 20px var(--primary-glow);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  color: #f1f5f9;
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

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

.tag-badge {
  display: inline-block;
  background-color: var(--primary-glow);
  color: var(--primary-teal);
  border: 1px solid var(--border-glow);
  border-radius: 20px;
  padding: 0.35rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
}

.section-tag {
  color: var(--primary-teal);
  font-size: 0.8rem;
  font-weight: 700;
  display: block;
  margin-bottom: 0.5rem;
}

/* ==========================================
   Navigation Header
   ========================================== */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 10001;
  padding: 0.75rem 1.25rem;
  background: var(--primary-teal);
  color: #040508;
  font-weight: 600;
  font-family: var(--font-display);
  border-radius: 0 0 8px 8px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(7, 9, 14, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: var(--transition-smooth);
  padding: 0.85rem 0;
}

.site-header::before {
  display: none;
}

.site-header.scrolled {
  background-color: rgba(4, 5, 8, 0.98);
  padding: 0.65rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.header-container {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
}

.logo-link {
  grid-column: 1;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  text-decoration: none;
  border-radius: 10px;
  transition: var(--transition-fast);
}

.logo-link:hover {
  color: inherit;
  transform: translateY(-1px);
  opacity: 0.95;
}

.logo-link:focus-visible {
  outline: 2px solid var(--primary-teal);
  outline-offset: 4px;
}

.logo-image {
  object-fit: contain;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
}

.logo-image.brand-logo {
  height: 52px;
  width: auto;
  padding: 4px 10px;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
}

/* Header: full brand PNG — same asset as footer, no cropping */
.site-header .brand-logo.header-logo {
  height: 44px;
  width: auto;
  max-width: none;
  object-fit: contain;
  object-position: center;
  padding: 4px 8px;
}

.site-header .logo-text.header-title {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.9rem;
  color: var(--text-main);
  letter-spacing: 0.04em;
  line-height: 1.1;
  white-space: nowrap;
}

.site-header .logo-text.header-title .logo-accent {
  color: var(--primary-teal);
  font-weight: 700;
}

.logo-link:hover .logo-text.header-title {
  color: var(--text-main);
}

.nav-cta .cta-label-short {
  display: none;
}

.footer-brand .brand-logo.footer-logo {
  height: 44px;
  padding: 4px 8px;
  width: auto;
}

.logo-text {
  display: none;
}

.nav-menu {
  grid-column: 2;
  display: flex;
  justify-content: flex-end;
  min-width: 0;
}

.header-actions {
  grid-column: 3;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.header-phone-link {
  color: var(--primary-teal);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: var(--transition-fast);
}

.header-phone-link:hover,
.header-phone-link:focus-visible {
  color: #5eead4;
}

.nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 1.35rem;
  flex-wrap: nowrap;
}

.nav-link {
  color: var(--text-main);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.9rem;
  transition: var(--transition-fast);
  padding: 0.25rem 0;
  white-space: nowrap;
}

.nav-item-dropdown {
  position: relative;
}

.nav-dropdown-btn {
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-dropdown-btn::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.7;
  transition: transform var(--transition-fast);
}

.nav-item-dropdown.is-open .nav-dropdown-btn::after {
  transform: rotate(180deg);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 11rem;
  margin: 0;
  padding: 0.4rem;
  list-style: none;
  background: rgba(10, 14, 22, 0.98);
  border: 1px solid rgba(0, 148, 169, 0.25);
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 1003;
}

.nav-item-dropdown:hover .nav-dropdown,
.nav-item-dropdown:focus-within .nav-dropdown,
.nav-item-dropdown.is-open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-link {
  display: block;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  color: var(--text-main);
  font-size: 0.88rem;
  font-family: var(--font-display);
  text-decoration: none;
  transition: var(--transition-fast);
}

.nav-dropdown-link:hover,
.nav-dropdown-link:focus-visible {
  background: rgba(0, 148, 169, 0.12);
  color: var(--primary-teal);
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--primary-teal);
}

.nav-link.active {
  color: var(--primary-teal);
  font-weight: 600;
}

.nav-link.active::after {
  display: none;
}

.nav-cta {
  padding: 0.65rem 1.35rem !important;
  font-size: 0.9rem !important;
  border-radius: 6px !important;
  box-shadow: none !important;
  white-space: nowrap;
}

.nav-cta:hover {
  box-shadow: 0 0 16px var(--primary-glow) !important;
}

.mobile-nav-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  cursor: pointer;
  padding: 0.65rem;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.mobile-nav-toggle:focus-visible {
  outline: 2px solid var(--primary-teal);
  outline-offset: 2px;
}

.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-backdrop.visible {
  display: block;
  opacity: 1;
}

@media (max-width: 1280px) {
  .nav-list {
    gap: 1rem;
  }

  .nav-cta .cta-label-full {
    display: none;
  }

  .nav-cta .cta-label-short {
    display: inline;
  }
}

@media (max-width: 1180px) {
  .site-header .logo-text.header-title {
    display: none;
  }
}

@media (max-width: 1024px) {
  .header-phone-link {
    display: none;
  }
}

@media (min-width: 769px) {
  .nav-phone-drawer,
  .nav-calc-drawer,
  .nav-consult-drawer {
    display: none;
  }
}

/* ==========================================
   Hero Section
   ========================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 80px;
  overflow: hidden;
  background-color: var(--bg-darker);
}

/* Inner page heroes (all pages except homepage #hero) */
.hero-section:not(#hero) {
  min-height: 45vh;
  padding-top: 130px;
  padding-bottom: 50px;
}

.hero-section.page-hero--tall:not(#hero) {
  min-height: 50vh;
  padding-bottom: 60px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 4rem;
  z-index: 2;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #ffffff 50%, var(--primary-teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 4rem;
}

.hero-stats {
  display: flex;
  gap: 3.5rem;
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-teal);
  margin-bottom: 0.25rem;
}

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

/* Glass Terminal Component */
.hero-visual {
  position: relative;
}

.glass-terminal {
  background: rgba(10, 14, 22, 0.75);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  backdrop-filter: blur(12px);
  width: 100%;
}

.terminal-header {
  background: rgba(255, 255, 255, 0.03);
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot.red { background-color: var(--accent-red); }
.dot.yellow { background-color: #fbbf24; }
.dot.green { background-color: var(--accent-green); }

.terminal-title {
  margin-left: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.terminal-body {
  padding: 1.5rem;
  font-size: 0.85rem;
  line-height: 1.6;
}

.code-line {
  margin-bottom: 0.35rem;
}

.code-key { color: var(--primary-teal); }
.code-val { color: #facc15; }
.code-val-accent { color: var(--accent-green); }
.indent-1 { padding-left: 1.25rem; }
.indent-2 { padding-left: 2.5rem; }

.floating-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: rgba(10, 14, 22, 0.85);
  border: 1px solid var(--border-glow);
  border-radius: 10px;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 10px 25px rgba(0, 148, 169, 0.15);
  backdrop-filter: blur(12px);
  animation: float 4s ease-in-out infinite;
}

.badge-icon {
  font-size: 1.5rem;
}

.badge-text h4 {
  font-size: 0.9rem;
  margin-bottom: 0.15rem;
  color: var(--text-main);
}

.badge-text p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Background Effects */
.hero-background-effects {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.glow-sphere {
  position: absolute;
  border-radius: 50%;
  filter: blur(150px);
  opacity: 0.15;
}

.glow-1 {
  width: 400px;
  height: 400px;
  background-color: var(--primary-teal);
  top: -50px;
  right: -50px;
}

.glow-2 {
  width: 350px;
  height: 350px;
  background-color: #3b82f6;
  bottom: -50px;
  left: 10%;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ==========================================
   Services Section
   ========================================== */
.services-section {
  padding: 100px 0;
  background-color: var(--bg-darker);
  position: relative;
}

.section-header {
  margin-bottom: 4.5rem;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
  color: var(--text-main);
}

.section-subtitle {
  font-size: 1.1rem;
  max-width: 650px;
  margin: 0 auto;
  color: var(--text-muted);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.25rem;
  width: 100%;
}

.service-card-full {
  grid-column: span 3;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  padding: 2.5rem;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.service-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  box-shadow: 0 10px 30px rgba(0, 148, 169, 0.08);
  transform: translateY(-5px);
}

.service-card.featured {
  border-color: var(--border-glow);
  box-shadow: 0 4px 20px rgba(0, 148, 169, 0.05);
}

.service-card.featured:hover {
  box-shadow: 0 15px 35px rgba(0, 148, 169, 0.15);
}

.card-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--primary-teal);
  color: var(--text-main);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 20px;
}

.service-icon {
  color: var(--primary-teal);
  margin-bottom: 1.75rem;
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.card-link {
  color: #5eead4;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: var(--transition-fast);
}

.card-link:hover {
  color: #ffffff;
}

.service-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

.service-features {
  list-style: none;
  border-top: 1px solid var(--border-color);
  padding-top: 1.25rem;
}

.service-features li {
  margin-bottom: 0.5rem;
  padding-left: 1.25rem;
  position: relative;
  color: var(--text-muted);
}

.service-features li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--primary-teal);
}

/* ==========================================
   About Section
   ========================================== */
.about-section {
  padding: 100px 0;
  background: linear-gradient(to bottom, var(--bg-darker), var(--bg-dark));
}

.grid-about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 5rem;
}

.about-content h2 {
  font-size: 2.5rem;
  text-transform: capitalize;
  margin-bottom: 1.5rem;
}

.about-paragraph {
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.about-features {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

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

.icon-check {
  color: var(--primary-teal);
  font-size: 1.2rem;
  font-weight: 700;
}

.about-feature-item div {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.about-feature-item strong {
  color: var(--text-main);
  display: block;
  margin-bottom: 0.15rem;
}

/* Glass Info Card (About Visual) */
.glass-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  padding: 3rem;
  backdrop-filter: blur(12px);
  position: relative;
}

.glass-info-card h3 {
  font-size: 1.6rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
}

.metric-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.metric-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--border-color);
}

.metric-row:first-child {
  padding-top: 0;
}

.metric-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.metric-val {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-teal);
  line-height: 1;
  flex-shrink: 0;
  min-width: 4.75rem;
  white-space: nowrap;
}

.metric-lbl {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.45;
  text-align: right;
  flex: 1;
  min-width: 0;
}

/* ==========================================
   Insights Section
   ========================================== */
.insights-section {
  padding: 100px 0;
  background-color: var(--bg-dark);
}

.flex-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 4rem;
}

.flex-header .section-tag {
  margin-bottom: 0.25rem;
}

.blog-filters {
  display: flex;
  gap: 0.75rem;
}

.filter-btn {
  background: none;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 0.5rem 1.25rem;
  border-radius: 20px;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.85rem;
  transition: var(--transition-smooth);
}

.filter-btn:hover, .filter-btn.active {
  border-color: var(--primary-teal);
  color: var(--text-main);
  background-color: var(--primary-glow);
}

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

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.blog-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
}

.blog-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.blog-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

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

.blog-image .blog-tag {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: var(--bg-darker);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
}

.blog-body {
  padding: 1.75rem;
}

.blog-body .tag-badge {
  margin-bottom: 1rem;
  display: inline-block;
}

.blog-body h3 {
  margin-bottom: 1rem;
}

.blog-meta {
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.blog-title-link {
  color: var(--text-main);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  display: block;
}

.blog-title-link:hover {
  color: var(--primary-teal);
}

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

.blog-author {
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
  color: var(--text-muted);
}

/* ==========================================
   Intake Section (Scheduling Form Wizard)
   ========================================== */
.intake-section {
  padding: 100px 0;
  background-color: var(--bg-darker);
  position: relative;
}

.intake-section.intake-page {
  padding-top: 130px;
  padding-bottom: 80px;
}

.grid-intake {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 5rem;
  align-items: start;
}

.intake-info h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.intake-intro {
  font-size: 1.05rem;
  margin-bottom: 3rem;
  line-height: 1.6;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  color: var(--text-muted);
}

.contact-icon {
  color: var(--primary-teal);
  font-size: 1.25rem;
  line-height: 1;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  margin-top: 0.1rem;
}

.contact-icon svg {
  display: block;
}

.contact-link {
  color: var(--text-main);
}

.contact-link:hover {
  color: var(--primary-teal);
}

/* Wizard Box */
.intake-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.wizard-progress {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 3.5rem;
  z-index: 2;
}

.wizard-progress::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--border-color);
  z-index: -1;
}

.progress-bar {
  position: absolute;
  top: 16px;
  left: 0;
  height: 2px;
  background-color: var(--primary-teal);
  width: 0%;
  transition: var(--transition-smooth);
  z-index: -1;
}

.progress-step {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: var(--bg-darker);
  border: 2px solid var(--border-color);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  transition: var(--transition-smooth);
  position: relative;
}

.progress-step span {
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  font-weight: 600;
}

.progress-step.active {
  border-color: var(--primary-teal);
  color: var(--primary-teal);
  box-shadow: 0 0 10px var(--primary-glow);
}

.progress-step.completed {
  border-color: var(--primary-teal);
  background-color: var(--primary-teal);
  color: var(--text-dark);
}

.intake-form {
  transition: var(--transition-smooth);
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
  animation: fadeIn 0.4s ease-out;
}

.step-title {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

/* Inputs & Form Fields */
.input-group {
  margin-bottom: 1.75rem;
}

.form-label {
  display: block;
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 0.65rem;
  color: var(--text-main);
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  background-color: #101621; /* Solid dark background to fix option visibility */
  border: 1px solid var(--border-card);
  border-radius: 6px;
  color: var(--text-main);
  padding: 0.85rem 1.25rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: var(--transition-fast);
  color-scheme: dark; /* Force native dropdown to follow dark mode rules */
}

.form-select option {
  background-color: #101621; /* Force select options to remain dark when expanded */
  color: var(--text-main) !important;
}

.form-input.error, .form-textarea.error, .form-select.error {
  border-color: var(--accent-red) !important;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.25) !important;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--primary-teal);
  box-shadow: 0 0 8px var(--primary-glow);
  background-color: rgba(255, 255, 255, 0.05);
}

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

.grid-2-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.grid-2-col.form-row {
  margin-bottom: 1.25rem;
}

/* Radio Card Selector (Step 1) */
.radio-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.radio-card {
  display: flex;
  align-items: flex-start;
  padding: 1.25rem;
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-card);
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.radio-card:hover {
  background-color: rgba(255, 255, 255, 0.04);
  border-color: rgba(0, 148, 169, 0.5);
}

.radio-card input[type="radio"] {
  display: none;
}

.radio-custom {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--border-color);
  margin-top: 3px;
  margin-right: 1.25rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.radio-custom::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--primary-teal);
  transform: scale(0);
  transition: var(--transition-fast);
}

.radio-card input[type="radio"]:checked + .radio-custom {
  border-color: var(--primary-teal);
}

.radio-card input[type="radio"]:checked + .radio-custom::after {
  transform: scale(1);
}

.radio-card input[type="radio"]:checked ~ .radio-label strong {
  color: var(--primary-teal);
}

.radio-label strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.25rem;
  color: var(--text-main);
  transition: var(--transition-fast);
}

.radio-label .desc {
  color: var(--text-muted);
}

/* Radio Pills (Step 2) */
.radio-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.radio-pill {
  cursor: pointer;
}

.radio-pill input[type="radio"] {
  display: none;
}

.radio-pill span {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 0.65rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.radio-pill:hover span {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: rgba(0, 148, 169, 0.5);
}

.radio-pill input[type="radio"]:checked + span {
  background-color: var(--primary-glow);
  border-color: var(--primary-teal);
  color: var(--text-main);
  box-shadow: 0 0 10px var(--primary-glow);
}

/* Select wrapper styling */
.select-wrapper {
  position: relative;
}

.select-wrapper::after {
  content: "▼";
  font-size: 0.7rem;
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--text-muted);
}

.form-select {
  appearance: none;
  cursor: pointer;
}

/* Scoping Cost Panel inside Step 2 */
.scoping-cost-panel {
  background: rgba(0, 148, 169, 0.04);
  border: 1px solid var(--border-glow);
  border-radius: 8px;
  padding: 1.75rem;
  margin: 2rem 0;
  box-shadow: 0 4px 15px rgba(0, 148, 169, 0.03);
}

.cost-panel-header {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-teal);
  margin-bottom: 1.25rem;
  border-bottom: 1px dashed var(--border-glow);
  padding-bottom: 0.5rem;
}

.cost-panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.panel-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.panel-val {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-main);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.panel-val-weeks {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent-green);
  text-shadow: 0 0 10px rgba(16, 185, 129, 0.1);
}

.cost-panel-disclaimer {
  color: var(--text-muted);
  font-size: 0.75rem;
  line-height: 1.4;
}

.form-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 3rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1.75rem;
}

/* Wizard Status Overlay (Success/Error/Loading) */
.form-status-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  z-index: 10;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  text-align: center;
}

.form-status-container.active {
  display: flex;
  animation: fadeIn 0.3s ease-out;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(255, 255, 255, 0.05);
  border-top-color: var(--primary-teal);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  display: none;
}

.spinner.active {
  display: block;
}

.success-message, .error-message {
  display: none;
}

.success-message.active, .error-message.active {
  display: block;
  animation: scaleUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.success-icon, .error-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.success-icon {
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--accent-green);
  border: 1px solid var(--accent-green);
}

.error-icon {
  background-color: rgba(239, 68, 68, 0.1);
  color: var(--accent-red);
  border: 1px solid var(--accent-red);
}

.success-message h3, .error-message h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.success-message p, .error-message p {
  max-width: 480px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.btn-retry {
  padding: 0.6rem 1.5rem;
  font-size: 0.85rem;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleUp {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* ==========================================
   Footer Section
   ========================================== */
.site-footer {
  background-color: var(--bg-darker);
  border-top: 1px solid var(--border-color);
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 3.5rem;
  margin-bottom: 50px;
}

.footer-logo {
  height: 36px;
  margin-bottom: 0.25rem;
}

.footer-brand .footer-logo {
  height: 36px;
}

.footer-desc {
  font-size: 0.9rem;
  margin-top: 1.25rem;
  line-height: 1.6;
}

.footer-contact {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-contact a {
  color: var(--primary-teal);
  font-size: 0.9rem;
  font-weight: 500;
}

.footer-contact a:hover {
  color: #5eead4;
}

.footer-address {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

.footer-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}

.footer-logo-link:hover {
  color: inherit;
}

.footer-links h4, .footer-contacts h4 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  color: var(--text-main);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--primary-teal);
}

.footer-contacts p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.footer-contacts .address {
  margin-top: 1.25rem;
  line-height: 1.5;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 30px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-bottom p {
  color: var(--text-muted);
  margin: 0;
}

/* ==========================================
   Core Tech Stack Section
   ========================================== */
.tech-stack-section {
  padding: 100px 0;
  background-color: var(--bg-dark);
  border-top: 1px solid var(--border-color);
}

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

.tech-category-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 10px;
  padding: 2rem;
  transition: var(--transition-smooth);
}

.tech-category-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-3px);
}

.tech-category-card h4 {
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
  color: var(--primary-teal);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.75rem;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.tech-tags span {
  font-size: 0.8rem;
  font-family: var(--font-mono);
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  color: var(--text-muted);
}

/* ==========================================
   Trust & Guarantees Section
   ========================================== */
.guarantees-section {
  padding: 100px 0;
  background-color: var(--bg-darker);
  border-top: 1px solid var(--border-color);
}

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

.guarantee-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 10px;
  padding: 2.25rem;
  transition: var(--transition-smooth);
}

.guarantee-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-3px);
}

.guarantee-icon {
  font-size: 2.25rem;
  margin-bottom: 1.25rem;
}

.guarantee-card h4 {
  font-size: 1.2rem;
  margin-bottom: 0.85rem;
  color: var(--text-main);
}

.guarantee-card p {
  font-size: 0.875rem;
  line-height: 1.5;
}

/* ==========================================
   AI Cost Estimator Widget
   ========================================== */
/* ==========================================
   Project Cost Calculator Section
   ========================================== */
.calculator-section {
  padding: 100px 0;
  background-color: var(--bg-dark);
  border-top: 1px solid var(--border-color);
}

.calculator-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: start;
}

.calculator-inputs-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  padding: 2.5rem;
  min-width: 0;
}

.calculator-inputs-card.calc-card-light,
.calculator-results-card.calc-card-light {
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  padding: 2.5rem;
}

.calculator-results-card.calc-card-light {
  background: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.calculator-section .calc-card-light .form-label,
.calculator-section .calc-heading {
  color: #0f172a;
}

.calculator-section .calc-card-light .form-select,
.calculator-section .calc-card-light .form-textarea {
  background: #ffffff;
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.12);
}

.calculator-section .calc-card-light .cost-panel-header {
  color: #0f172a;
  border-bottom-color: rgba(15, 23, 42, 0.08);
}

.calculator-section .calc-card-light .panel-label {
  color: #64748b;
}

.calculator-section .calc-card-light .panel-val {
  color: #0f172a;
}

.cost-panel-grid {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.calculator-results-card {
  position: sticky;
  top: 120px;
}

.input-row-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
}

.calculator-inputs-card .input-row-grid {
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

/* Scoping Cost Panel styling inside Step 2 & Standalone Calculator */
.scoping-cost-panel {
  background: rgba(0, 148, 169, 0.04);
  border: 1px solid var(--border-glow);
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 15px 35px rgba(0, 148, 169, 0.08);
}

/* Button utility inside calculator card */
.btn-full-width {
  width: 100%;
}

/* ==========================================
   Specialized Engineering Disciplines
   ========================================== */
.disciplines-section {
  padding: 100px 0;
  background-color: var(--bg-darker);
  border-top: 1px solid var(--border-color);
}

.disciplines-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.disciplines-grid.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.disciplines-grid.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.services-grid.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.services-grid.cols-auto {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.discipline-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 10px;
  padding: 2rem;
  transition: var(--transition-smooth);
}

.discipline-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-3px);
}

.discipline-icon {
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 148, 169, 0.12);
  border-radius: 10px;
  color: var(--primary-teal);
  margin-bottom: 1.25rem;
  font-size: unset;
}

.discipline-icon svg {
  display: block;
}

.about-feature-icon {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 148, 169, 0.12);
  border-radius: 6px;
  color: #007687;
  font-size: 0.75rem;
  font-weight: 800;
  margin-top: 0.1rem;
}

.about-principles-section {
  padding: 5rem 0;
  background: var(--bg-darker);
  border-top: 1px solid var(--border-color);
}

.about-principles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}

.about-principle-card {
  padding: 1.75rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.about-principle-card:hover {
  border-color: rgba(0, 148, 169, 0.35);
  transform: translateY(-2px);
}

.about-principle-num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary-teal);
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
}

.about-principle-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
  color: var(--text-main);
}

.about-principle-card p {
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 0;
}

.about-evolve-section {
  padding: 5rem 0;
}

.about-evolve-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-evolve-item {
  padding: 1.25rem 1.35rem;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 10px;
}

.about-evolve-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: #0f172a;
  margin-bottom: 0.35rem;
}

.about-evolve-item p {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

.about-cta-section {
  padding: 5rem 0;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.about-cta-section h2 {
  font-size: 2rem;
  color: #0f172a;
  margin-bottom: 1rem;
}

.about-cta-desc {
  max-width: 560px;
  margin: 0 auto 2rem;
  color: #475569;
  line-height: 1.55;
}

.about-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.section-light .about-feature-item div {
  color: #475569;
}

.section-light .about-feature-item strong {
  color: #0f172a;
}

.section-light .about-paragraph a {
  color: #007687;
  font-weight: 600;
}

.discipline-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: var(--primary-teal);
}

.discipline-card p {
  font-size: 0.825rem;
  line-height: 1.5;
  color: var(--text-muted);
}

/* Engagement Radio Cards inside Lead Form */
.engagement-radio-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 0.5rem;
}

.engagement-radio-card {
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-card);
  border-radius: 8px;
  padding: 1.25rem;
  cursor: pointer;
  transition: var(--transition-fast);
  position: relative;
}

.engagement-radio-card:hover {
  background-color: rgba(255, 255, 255, 0.04);
  border-color: rgba(0, 148, 169, 0.5);
}

.engagement-radio-card input[type="radio"] {
  width: 18px;
  height: 18px;
  margin-right: 1.25rem;
  accent-color: var(--primary-teal);
  cursor: pointer;
  flex-shrink: 0;
}

.engagement-radio-label {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.engagement-radio-label strong {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--text-main);
  transition: var(--transition-fast);
}

.engagement-radio-label .desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.engagement-radio-card input[type="radio"]:checked ~ .engagement-radio-label strong {
  color: var(--primary-teal);
}

.engagement-radio-card input[type="radio"]:checked {
  outline: none;
}

/* ==========================================
   FAQ Section Accordions
   ========================================== */
.faq-section {
  padding: 100px 0;
  background-color: var(--bg-dark);
  border-top: 1px solid var(--border-color);
}

.faq-accordion-container {
  max-width: 800px;
  margin: 3.5rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-item.active {
  border-color: var(--border-glow);
  box-shadow: 0 5px 15px rgba(0, 148, 169, 0.04);
}

.faq-trigger {
  width: 100%;
  background: none;
  border: none;
  color: var(--text-main);
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}

.faq-trigger span {
  pointer-events: none;
}

.faq-icon {
  font-size: 1.4rem;
  font-family: var(--font-mono);
  color: var(--primary-teal);
  transition: var(--transition-fast);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--accent-red);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  padding: 0 2rem;
}

.faq-item.active .faq-content {
  max-height: 200px; /* safety ceiling */
  padding-bottom: 1.5rem;
  transition: max-height 0.35s cubic-bezier(1, 0, 1, 0);
}

.faq-content p {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==========================================
   Modals Overlay & Overlay Window
   ========================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(4, 5, 8, 0.7);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-out;
  padding: 2rem;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-window {
  background-color: var(--bg-dark);
  border: 1px solid var(--border-glow);
  border-radius: 12px;
  width: 100%;
  max-width: 600px;
  padding: 3rem;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .modal-window {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  transition: var(--transition-fast);
}

.modal-close:hover {
  color: var(--primary-teal);
}

.modal-window h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--primary-teal);
}

.modal-content p {
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.modal-content strong {
  color: var(--text-main);
}

/* ==========================================
   Floating AI Chatbot Widget
   ========================================== */
.chatbot-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1500;
}

.chatbot-trigger {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--primary-teal);
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 24px var(--primary-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  position: relative;
}

.chatbot-trigger:hover {
  background-color: var(--primary-hover);
  transform: scale(1.05);
}

.chat-icon {
  font-size: 1.5rem;
  color: var(--text-main);
  line-height: 1;
}

.chat-ping {
  position: absolute;
  top: 0;
  right: 0;
  width: 12px;
  height: 12px;
  background-color: var(--accent-green);
  border-radius: 50%;
  border: 2px solid var(--bg-dark);
  animation: pulse-ping 2s infinite;
}

@keyframes pulse-ping {
  0% { transform: scale(0.9); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.5; }
  100% { transform: scale(0.9); opacity: 1; }
}

.chatbot-panel {
  position: absolute;
  bottom: 72px;
  right: 0;
  width: 380px;
  height: 500px;
  background: rgba(10, 14, 22, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glow);
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: var(--transition-smooth);
}

.chatbot-panel.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.chatbot-header {
  background-color: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border-color);
  padding: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chatbot-bot-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.bot-avatar {
  font-size: 1.5rem;
}

.chatbot-bot-info h4 {
  font-size: 0.95rem;
  color: var(--text-main);
}

.bot-status {
  font-size: 0.75rem;
  color: var(--accent-green);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.bot-status::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: var(--accent-green);
  border-radius: 50%;
}

.chatbot-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

.chatbot-close:hover {
  color: var(--primary-teal);
}

.chatbot-history {
  flex-grow: 1;
  overflow-y: auto;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.message {
  max-width: 85%;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  font-size: 0.875rem;
  line-height: 1.4;
}

.message.bot {
  background-color: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  align-self: flex-start;
  border-bottom-left-radius: 2px;
  border: 1px solid var(--border-color);
}

.message.user {
  background-color: var(--primary-teal);
  color: var(--text-main);
  align-self: flex-end;
  border-bottom-right-radius: 2px;
  box-shadow: 0 4px 10px rgba(0, 148, 169, 0.15);
}

.chatbot-quick-replies {
  padding: 0.75rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.quick-reply-btn {
  background: none;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.quick-reply-btn:hover {
  border-color: var(--primary-teal);
  color: var(--text-main);
  background-color: var(--primary-glow);
}

.chatbot-input-form {
  border-top: 1px solid var(--border-color);
  padding: 1rem;
  display: flex;
  gap: 0.5rem;
  background-color: rgba(4, 5, 8, 0.4);
}

.chatbot-input {
  flex-grow: 1;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  color: var(--text-main);
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  outline: none;
}

.chatbot-input:focus {
  border-color: var(--primary-teal);
}

.chatbot-send-btn {
  background-color: var(--primary-teal);
  border: none;
  color: var(--text-main);
  padding: 0.6rem 1.25rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.chatbot-send-btn:hover {
  background-color: var(--primary-hover);
}

/* Form elements tweaks */
.b2b-warning {
  margin-top: 0.5rem;
  color: var(--primary-teal);
  font-weight: 600;
  border: 1px dashed var(--border-glow);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  background-color: var(--primary-glow);
  animation: fadeIn 0.3s ease-out;
}

/* ==========================================
   Responsive Breakpoints
   ========================================== */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
  }
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .guarantees-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .calculator-grid,
  .calculator-grid[style] {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  .calculator-results-card {
    position: static;
  }
  .grid-intake,
  .grid-intake[style] {
    grid-template-columns: 1fr !important;
    gap: 3rem !important;
  }
  .disciplines-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .insights-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
  .site-header {
    padding: 0.6rem 0;
  }
  .header-container {
    display: flex;
    justify-content: flex-start;
    gap: 0.5rem;
  }
  .logo-link {
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
    order: 1;
  }
  .mobile-nav-toggle {
    display: flex;
    z-index: 1002;
    flex-shrink: 0;
    order: 3;
    margin-left: 0;
  }
  
  /* Hamburger Icon */
  .hamburger {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--text-main);
    position: relative;
    transition: var(--transition-fast);
  }
  .hamburger::before, .hamburger::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--text-main);
    left: 0;
    transition: var(--transition-fast);
  }
  .hamburger::before { top: -7px; }
  .hamburger::after { bottom: -7px; }
  
  .site-header.menu-open .hamburger { background-color: transparent; }
  .site-header.menu-open .hamburger::before { transform: rotate(45deg); top: 0; }
  .site-header.menu-open .hamburger::after { transform: rotate(-45deg); bottom: 0; }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 88vw);
    height: 100dvh;
    height: 100vh;
    background: linear-gradient(180deg, #0a0e16 0%, var(--bg-darker) 100%);
    border-left: 1px solid rgba(0, 148, 169, 0.2);
    padding: calc(72px + env(safe-area-inset-top, 0px)) 1.5rem calc(2rem + env(safe-area-inset-bottom, 0px));
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
    overflow-y: auto;
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.45);
  }
  
  .site-header.menu-open .nav-menu {
    right: 0;
  }

  .nav-menu {
    flex: unset;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
  }

  .nav-link {
    font-size: 1rem;
    padding: 0.85rem 1rem;
    min-height: 44px;
    display: flex;
    align-items: center;
    border-radius: 10px;
  }

  .nav-link.phone-link {
    display: flex;
    margin-top: 0.5rem;
    border-top: 1px solid var(--border-color);
    border-radius: 0;
    padding-top: 1.25rem;
  }

  .nav-link.active {
    color: var(--primary-teal);
    background: none;
    box-shadow: none;
  }

  .nav-item-dropdown {
    display: flex;
    flex-direction: column;
  }

  .nav-dropdown-btn {
    width: 100%;
    justify-content: space-between;
    text-align: left;
    padding: 0.85rem 1rem;
    min-height: 44px;
    border-radius: 10px;
  }

  .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0 0 0.35rem 0.75rem;
    display: none;
    min-width: 0;
  }

  .nav-item-dropdown.is-open .nav-dropdown {
    display: block;
  }

  .nav-item-dropdown:hover .nav-dropdown {
    display: none;
  }

  .nav-item-dropdown.is-open:hover .nav-dropdown {
    display: block;
  }

  .nav-dropdown-link {
    padding: 0.65rem 1rem;
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  
  .nav-cta {
    width: 100%;
    margin-left: 0;
    margin-top: 1rem;
    padding: 0.85rem 1.25rem !important;
    font-size: 0.95rem !important;
    min-height: 48px;
  }

  .header-actions .nav-cta {
    padding: 0.5rem 0.7rem !important;
    font-size: 0.8rem !important;
    width: auto;
    margin-top: 0;
    flex-shrink: 0;
  }

  .header-actions .nav-cta .cta-label-full {
    display: none;
  }

  .header-actions .nav-cta .cta-label-short {
    display: inline;
  }

  .header-actions {
    flex-shrink: 0;
    gap: 0.4rem;
    order: 2;
    margin-left: auto;
  }

  .site-header .brand-logo.header-logo {
    height: 38px;
    padding: 3px 6px;
  }

  .site-header .logo-text.header-title {
    font-size: 1.45rem;
  }

  .nav-calc-drawer .nav-link {
    color: var(--primary-teal);
    font-weight: 600;
  }

  .nav-consult-drawer .nav-drawer-cta {
    color: var(--primary-teal);
    font-weight: 600;
    margin-top: 0.25rem;
  }

  .nav-phone-drawer {
    display: list-item;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-title {
    font-size: 2.35rem;
  }
  .hero-subtitle {
    font-size: 1.05rem;
  }
  .hero-stats {
    gap: 1.5rem;
    flex-wrap: wrap;
  }
  .trust-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  .service-card-full {
    grid-column: span 1 !important;
  }
  .tech-grid {
    grid-template-columns: 1fr;
  }
  .guarantees-grid {
    grid-template-columns: 1fr;
  }
  .grid-about {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  .about-visual {
    order: -1;
  }
  
  .insights-section .flex-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }
  .blog-filters {
    overflow-x: auto;
    width: 100%;
    padding-bottom: 0.5rem;
    white-space: nowrap;
  }
  .insights-grid {
    grid-column-gap: 0;
    grid-template-columns: 1fr;
  }

  .insights-grid[style],
  .services-grid[style] {
    grid-template-columns: 1fr !important;
  }

  .pricing-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  
  .grid-intake {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  .intake-shell {
    grid-template-columns: 1fr;
  }

  .intake-shell-aside {
    padding: 1.35rem 1.25rem;
    border-right: none;
    border-bottom: 1px solid var(--border-card);
  }

  .intake-shell-aside h2 {
    font-size: 1.55rem;
  }

  .intake-shell-contact {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
  }

  .intake-home .intake-card-compact {
    padding: 1.25rem;
  }

  .grid-4-col {
    grid-template-columns: 1fr 1fr;
  }

  .intake-form-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  .intake-engagement-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .form-optional-trigger {
    flex-wrap: wrap;
    gap: 0.65rem;
  }

  .form-optional-action {
    margin-left: auto;
  }

  .intake-section {
    padding: 4.5rem 0 calc(4rem + env(safe-area-inset-bottom, 0px));
  }

  .intake-section.intake-page {
    padding-top: calc(5.5rem + env(safe-area-inset-top, 0px));
    padding-bottom: 3rem;
  }

  .intake-info h2 {
    font-size: 1.85rem;
    line-height: 1.2;
    margin-bottom: 1rem;
  }

  .intake-intro {
    margin-bottom: 1.25rem !important;
    font-size: 0.95rem;
  }

  .intake-info {
    min-width: 0;
  }

  .intake-card {
    padding: 1.35rem;
    min-width: 0;
  }

  .intake-form .form-input,
  .intake-form .form-select,
  .intake-form .form-textarea {
    font-size: 16px;
    max-width: 100%;
  }

  .intake-form .select-wrapper {
    width: 100%;
    max-width: 100%;
  }

  .form-actions {
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 2rem;
    padding-top: 1.25rem;
  }

  .form-actions .btn {
    width: 100%;
  }

  .engagement-radio-card {
    padding: 1rem;
  }

  .form-details-block {
    padding: 1rem;
  }

  .calc-promo-banner {
    margin: 1rem 0 1.25rem;
  }

  .footer-grid.cols-5 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .trust-delivery-section .guarantees-grid,
  .trust-delivery-section .disciplines-grid {
    grid-template-columns: 1fr;
  }

  .custom-industries-banner,
  .staff-aug-banner {
    padding: 1.25rem 1rem;
  }

  .faq-teaser-layout {
    padding: 0 0.25rem;
  }

  .faq-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .faq-cta-actions .btn {
    width: 100%;
  }

  .faq-trust-promise {
    padding: 1.25rem 1.15rem;
  }

  .grid-2-col,
  .grid-2-col[style] {
    grid-template-columns: 1fr !important;
  }
  .calculator-grid,
  .calculator-grid[style] {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  .calculator-inputs-card,
  .calculator-results-card {
    padding: 1.25rem !important;
    min-width: 0;
  }
  .calculator-section .form-select,
  .calculator-section .form-textarea {
    font-size: 16px;
    max-width: 100%;
  }
  .calculator-section .select-wrapper {
    width: 100%;
    max-width: 100%;
  }
  .scoping-cost-panel {
    padding: 1.25rem;
  }
  .panel-val {
    font-size: 1.25rem !important;
    word-break: break-word;
  }
  .intake-card {
    padding: 1.15rem;
  }

  .intake-info h2 {
    font-size: 1.65rem;
  }

  .section-title {
    font-size: 1.65rem;
  }

  html {
    scroll-padding-top: 72px;
  }
  .radio-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .disciplines-grid.cols-2,
  .disciplines-grid.cols-3,
  .services-grid.cols-2 {
    grid-template-columns: 1fr;
  }

  .about-principles-grid {
    grid-template-columns: 1fr;
  }

  .about-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .about-cta-actions .btn {
    width: 100%;
  }

  .glass-info-card {
    padding: 1.5rem 1.25rem;
  }

  .glass-info-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
  }

  .metric-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    padding: 1rem 0;
  }

  .metric-val {
    font-size: 1.65rem;
    min-width: 0;
  }

  .metric-lbl {
    text-align: left;
    font-size: 0.84rem;
    max-width: none;
  }
  .input-row-grid {
    grid-template-columns: 1fr;
  }
  
  .chatbot-panel {
    width: calc(100vw - 3rem);
    height: 460px;
    right: -1rem;
    bottom: 68px;
  }
  .modal-window {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.3rem;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }
  .grid-2-col {
    grid-template-columns: 1fr;
  }
  .grid-4-col {
    grid-template-columns: 1fr;
  }
  .radio-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .chatbot-container {
    bottom: 1rem;
    right: 1rem;
  }
  .chatbot-panel {
    width: calc(100vw - 2rem);
    right: 0;
  }
}

/* ==========================================
   Section Light Mode (White/Light Grey BG)
   ========================================== */
.section-light {
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #0f172a !important;
}

.section-light .section-title {
  color: #0f172a !important;
}

.section-light .section-subtitle {
  color: #475569 !important;
}

.section-light p {
  color: #334155 !important;
}

.section-light h2,
.section-light .about-content h2 {
  color: #0f172a !important;
  margin-bottom: 1rem;
  margin-top: 2rem;
}

.section-light h2:first-child {
  margin-top: 0;
}

.section-light .section-tag {
  color: var(--primary-teal) !important;
}

.section-light .about-feature-item strong {
  color: #0f172a !important;
}

.section-light .about-feature-item div,
.section-light .metric-lbl {
  color: #475569 !important;
}

.section-light .glass-info-card {
  background: #f8fafc !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
}

.section-light .glass-info-card h3 {
  color: #0f172a !important;
  border-bottom-color: rgba(15, 23, 42, 0.08) !important;
}

.section-light .metric-row {
  border-bottom-color: rgba(15, 23, 42, 0.08);
}

.section-light .metric-val {
  color: #007687 !important;
}

.section-light .card-link,
.section-light .service-card p,
.section-light .discipline-card p {
  color: #475569 !important;
}

.section-light .blog-card {
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.1) !important;
}

.section-light .blog-card h3 {
  color: #0f172a !important;
  margin-bottom: 1rem;
}

.section-light .blog-title-link,
.section-light .blog-card h3 a {
  color: #0f172a !important;
  font-size: 1.2rem;
  font-family: var(--font-display);
}

.section-light .blog-title-link:hover,
.section-light .blog-card h3 a:hover {
  color: #007687 !important;
}

.section-light .blog-card p,
.section-light .blog-body p {
  color: #334155 !important;
}

.section-light .blog-author,
.section-light .blog-card .blog-author {
  color: #64748b !important;
  border-top-color: rgba(15, 23, 42, 0.1) !important;
}

.section-light .blog-source,
.section-light .blog-card .blog-source {
  color: #64748b !important;
  margin-top: 0.75rem;
}

.blog-source {
  color: var(--text-muted);
  margin-top: 0.75rem;
}

.blog-card-external .blog-title-link::after {
  content: " ↗";
  font-size: 0.85em;
  opacity: 0.65;
}

.insights-curation-note {
  max-width: 720px;
  margin: 0 auto 2rem;
  text-align: center;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #475569;
}

.insights-curation-note a {
  color: #007687;
  font-weight: 600;
}

.section-light .blog-filters .filter-btn {
  background: #f1f5f9;
  border-color: rgba(15, 23, 42, 0.14);
  color: #334155;
}

.section-light .blog-filters .filter-btn:hover,
.section-light .blog-filters .filter-btn.active {
  background: rgba(0, 148, 169, 0.12);
  border-color: #0094a9;
  color: #0f172a;
}

.section-light .insights-section .flex-header .section-tag {
  color: #007687 !important;
}

.section-light .tag-badge {
  background-color: rgba(0, 148, 169, 0.1) !important;
  color: #007687 !important;
  border-color: rgba(0, 148, 169, 0.25) !important;
}

.section-light .btn-secondary {
  background-color: #f1f5f9;
  border-color: rgba(15, 23, 42, 0.12);
  color: #0f172a;
}

.section-light .btn-secondary:hover {
  background-color: #e2e8f0;
  color: #0f172a;
}

/* Trust pillars band (below hero) */
.trust-stats-section {
  padding: 3.25rem 0;
  background: #f8fafc;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.trust-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.trust-pillar-card {
  padding: 1.5rem 1.35rem;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  text-align: left;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.trust-pillar-card:hover {
  border-color: rgba(0, 148, 169, 0.28);
  box-shadow: 0 8px 28px rgba(0, 148, 169, 0.08);
  transform: translateY(-2px);
}

.trust-pillar-icon {
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 148, 169, 0.1);
  border-radius: 10px;
  color: #007687;
  margin-bottom: 1rem;
}

.trust-pillar-icon svg {
  display: block;
}

.trust-pillar-title {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
  margin-bottom: 0.5rem;
}

.trust-pillar-desc {
  font-size: 0.84rem;
  color: #64748b;
  line-height: 1.55;
  margin: 0;
}

.section-light .service-card,
.section-light .discipline-card,
.section-light .guarantee-card,
.section-light .faq-item {
  background: #f8fafc !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
}

.section-light .service-card:hover,
.section-light .discipline-card:hover,
.section-light .guarantee-card:hover {
  background: #ffffff !important;
  box-shadow: 0 10px 30px rgba(0, 148, 169, 0.08) !important;
  border-color: var(--primary-teal) !important;
}

.section-light .service-card h3,
.section-light .discipline-card h4,
.section-light .guarantee-card h4,
.section-light .faq-trigger {
  color: #0f172a !important;
}

.section-light .faq-trigger {
  background: #f8fafc !important;
  color: #0f172a !important;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
}

.section-light .faq-item.active .faq-trigger {
  background: #ffffff !important;
  border-bottom-color: transparent !important;
}

.section-light .faq-content {
  background: #ffffff !important;
  color: #334155 !important;
}

.section-light .tech-category-card {
  background: #f8fafc !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
}

.section-light .tech-category-card h4 {
  color: #0f172a !important;
}

.section-light .tech-tags span {
  background: rgba(0, 148, 169, 0.06) !important;
  color: var(--primary-teal) !important;
  border: 1px solid rgba(0, 148, 169, 0.15) !important;
}

/* Accordion controls for mobile */
@media (max-width: 768px) {
  .tech-category-card {
    margin-bottom: 1rem;
  }
  .tech-category-card h4 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    margin-bottom: 0;
    padding: 1rem 0;
  }
  .tech-category-card h4::after {
    content: '+';
    font-size: 1.2rem;
    transition: transform 0.3s ease;
  }
  .tech-category-card.active h4::after {
    content: '−';
    transform: rotate(180deg);
  }
  .tech-category-card .tech-tags {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    padding: 0;
  }
  .tech-category-card.active .tech-tags {
    max-height: 200px;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
}

/* Homepage: trust delivery, staff banner, calc nudge, intake UX */
.trust-delivery-section {
  padding: 80px 0;
  background-color: var(--bg-darker);
  border-top: 1px solid var(--border-color);
}

.trust-delivery-section .subsection-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-teal);
  margin-bottom: 1.25rem;
  text-align: center;
}

.trust-delivery-section .guarantees-grid {
  margin-top: 0;
  margin-bottom: 3rem;
}

.trust-delivery-section .disciplines-grid {
  margin-top: 0;
}

.staff-aug-banner {
  margin-top: 2.5rem;
  padding: 1.75rem 2rem;
  background: linear-gradient(135deg, rgba(0, 148, 169, 0.12) 0%, rgba(0, 148, 169, 0.04) 100%);
  border: 1px solid rgba(0, 148, 169, 0.25);
  border-radius: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.staff-aug-banner h3 {
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

.staff-aug-banner p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
  max-width: 520px;
}

.services-pillars {
  grid-template-columns: repeat(4, 1fr);
}

.calc-nudge {
  display: none;
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  background: rgba(0, 148, 169, 0.08);
  border: 1px solid rgba(0, 148, 169, 0.25);
  border-radius: 10px;
  animation: fadeIn 0.35s ease-out;
}

.calc-nudge.visible {
  display: block;
}

.calc-nudge p {
  font-size: 0.9rem;
  color: #334155;
  margin-bottom: 0.75rem;
}

.calc-skip-link,
.form-optional-link {
  display: inline-block;
  font-size: 0.9rem;
  color: var(--primary-teal);
  font-weight: 500;
  margin-top: 1rem;
}

.calc-skip-link:hover,
.form-optional-link:hover {
  color: #5eead4;
}

.estimate-attached-banner {
  display: none;
  padding: 0.85rem 1rem;
  margin-bottom: 1.25rem;
  background: rgba(0, 148, 169, 0.1);
  border: 1px solid rgba(0, 148, 169, 0.3);
  border-radius: 8px;
  font-size: 0.875rem;
  color: #0f172a;
}

.estimate-attached-banner.visible {
  display: block;
}

.no-spam-note {
  font-size: 0.8rem;
  color: #64748b;
  margin-top: 1rem;
  line-height: 1.5;
}

/* Homepage intake — split shell layout */
.intake-section.intake-home {
  padding: 72px 0;
  background: var(--bg-darker);
}

.intake-shell {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(0, 1.35fr);
  gap: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-card);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}

.intake-shell-aside {
  background: linear-gradient(165deg, #0c1219 0%, #111827 55%, #0a1628 100%);
  padding: 2rem 1.75rem;
  border-right: 1px solid var(--border-card);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.intake-shell-aside h2 {
  font-size: 1.85rem;
  line-height: 1.2;
  margin: 0;
}

.intake-shell-aside .intake-intro {
  font-size: 0.92rem;
  margin: 0;
  line-height: 1.5;
  color: var(--text-muted);
}

.intake-trust-list {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.intake-trust-list li {
  font-size: 0.82rem;
  color: var(--text-muted);
  padding-left: 1.1rem;
  position: relative;
  line-height: 1.45;
}

.intake-trust-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary-teal);
}

.intake-trust-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0.25rem 0 0.5rem;
  padding: 0.65rem 0.75rem;
  background: rgba(0, 148, 169, 0.08);
  border-left: 3px solid var(--primary-teal);
  border-radius: 0 6px 6px 0;
}

.field-error {
  display: none;
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  color: var(--accent-red);
  line-height: 1.4;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.intake-calc-chip {
  display: inline-flex;
  align-items: center;
  margin-top: 0.35rem;
  padding: 0.55rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary-teal);
  background: rgba(0, 148, 169, 0.12);
  border: 1px solid rgba(0, 148, 169, 0.35);
  border-radius: 8px;
  text-decoration: none;
  transition: var(--transition-fast);
  width: fit-content;
}

.intake-calc-chip:hover {
  background: rgba(0, 148, 169, 0.2);
  color: #fff;
}

.intake-shell-contact {
  margin-top: auto;
  padding-top: 1rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  align-items: center;
}

.intake-shell-contact a {
  color: var(--text-main);
  text-decoration: none;
}

.intake-shell-contact a:hover {
  color: var(--primary-teal);
}

.intake-shell-form {
  background: rgba(12, 18, 28, 0.95);
}

.intake-home .intake-card-compact {
  padding: 1.5rem 1.75rem;
  border: none;
  border-radius: 0;
  background: transparent;
}

.intake-form-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-color);
}

.intake-form-head .step-title {
  margin: 0;
  font-size: 1.15rem;
}

.intake-detailed-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary-teal);
  text-decoration: none;
  white-space: nowrap;
}

.intake-detailed-link:hover {
  text-decoration: underline;
}

.intake-form-compact .form-row {
  margin-bottom: 0.85rem;
}

.intake-form-compact .input-group {
  margin-bottom: 0;
}

.grid-4-col {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.intake-engagement-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
}

.intake-engagement-row .form-label {
  margin-bottom: 0;
  flex-shrink: 0;
}

.engagement-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.engagement-pill {
  display: inline-flex;
  cursor: pointer;
}

.engagement-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.engagement-pill span {
  display: inline-block;
  padding: 0.45rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-card);
  border-radius: 999px;
  transition: var(--transition-fast);
}

.engagement-pill:hover span {
  border-color: rgba(0, 148, 169, 0.45);
  color: var(--text-main);
}

.engagement-pill input:checked + span {
  color: #fff;
  background: var(--primary-teal);
  border-color: var(--primary-teal);
}

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

.form-optional-accordion {
  margin: 0.25rem 0 0.85rem;
  border-radius: 10px;
  overflow: hidden;
}

.form-optional-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  background: rgba(0, 148, 169, 0.1);
  border: 1px dashed rgba(0, 148, 169, 0.55);
  border-radius: 10px;
  cursor: pointer;
  text-align: left;
  color: inherit;
  font-family: inherit;
  transition: var(--transition-fast);
}

.form-optional-trigger:hover {
  background: rgba(0, 148, 169, 0.16);
  border-color: var(--primary-teal);
  box-shadow: 0 0 0 1px rgba(0, 148, 169, 0.2);
}

.form-optional-trigger:focus-visible {
  outline: 2px solid var(--primary-teal);
  outline-offset: 2px;
}

.form-optional-trigger.open {
  background: rgba(0, 148, 169, 0.08);
  border-style: solid;
  border-color: rgba(0, 148, 169, 0.45);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom-color: var(--border-color);
}

.form-optional-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(0, 148, 169, 0.2);
  color: var(--primary-teal);
  border: 1px solid rgba(0, 148, 169, 0.4);
}

.form-optional-trigger.open .form-optional-icon svg {
  transform: rotate(45deg);
}

.form-optional-icon svg {
  transition: transform 0.2s ease;
}

.form-optional-copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.form-optional-trigger-label {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
}

.form-optional-trigger-hint {
  font-size: 0.78rem;
  color: var(--primary-teal);
  font-weight: 500;
}

.form-optional-action {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.65rem 0.4rem 0.75rem;
  background: var(--primary-teal);
  border-radius: 999px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 148, 169, 0.35);
}

.form-optional-trigger:hover .form-optional-action {
  background: var(--primary-hover);
}

.form-optional-action-text {
  white-space: nowrap;
}

.form-optional-chevron {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
}

.form-optional-accordion .form-details-panel {
  display: none;
  padding: 1rem;
  border: 1px solid rgba(0, 148, 169, 0.45);
  border-top: none;
  border-radius: 0 0 10px 10px;
  background: rgba(255, 255, 255, 0.03);
}

.form-optional-accordion .form-details-panel.open {
  display: block;
  padding-top: 1rem;
}

.form-optional-accordion .form-details-panel .form-row:last-child {
  margin-bottom: 0;
}

.form-actions-compact {
  margin-top: 0.5rem;
  padding-top: 0;
  border-top: none;
}

.form-actions-compact .no-spam-note {
  margin-top: 0.65rem;
  margin-bottom: 0;
  text-align: center;
  font-size: 0.75rem;
}

.intake-home .form-status-container {
  border-radius: 0;
}

.form-status-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 1rem;
}

.form-status-footnote {
  font-size: 0.88rem;
  color: #64748b !important;
  margin: 0.5rem auto 0 !important;
}

.form-status-footnote a {
  color: var(--primary-teal);
  font-weight: 600;
}

.form-details-block {
  margin: 1.25rem 0 1.5rem;
  padding: 1.25rem 1.35rem;
  background: rgba(0, 148, 169, 0.06);
  border: 1px solid rgba(0, 148, 169, 0.22);
  border-radius: 10px;
}

.form-details-header {
  margin-bottom: 1rem;
}

.form-details-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

.form-details-hint {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

.form-details-toggle {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.82rem;
  cursor: pointer;
  padding: 0.5rem 0 0;
  margin-top: 0.75rem;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-details-toggle:hover {
  color: var(--primary-teal);
}

.form-details-panel {
  display: none;
}

.form-details-panel.open {
  display: block;
}

.custom-industries-banner {
  margin-top: 2.5rem;
  padding: 2rem 2.25rem;
  background: linear-gradient(135deg, rgba(0, 148, 169, 0.14) 0%, rgba(0, 148, 169, 0.04) 55%, rgba(255, 255, 255, 0.03) 100%);
  border: 1px solid rgba(0, 148, 169, 0.3);
  border-radius: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}

.custom-industries-content h3 {
  font-size: 1.35rem;
  margin: 0.75rem 0 0.65rem;
  line-height: 1.35;
  max-width: 640px;
}

.custom-industries-content p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 680px;
  margin-bottom: 1rem;
}

.custom-industries-content p strong {
  color: var(--primary-teal);
  font-weight: 700;
}

.custom-industries-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.custom-industries-tags span {
  font-size: 0.75rem;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
}

.custom-industries-tags .many-more-tag {
  background: rgba(0, 148, 169, 0.15);
  border-color: rgba(0, 148, 169, 0.35);
  color: var(--primary-teal);
  font-weight: 600;
}

.faq-teaser-band {
  padding: 3.5rem 0 4rem;
  background: #f8fafc;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.faq-teaser-layout {
  max-width: 820px;
  margin: 0 auto;
}

.faq-teaser-header {
  text-align: center;
  margin-bottom: 2rem;
}

.faq-teaser-header h2 {
  font-size: 1.5rem;
  color: #0f172a;
  margin-bottom: 0.75rem;
}

.faq-teaser-header p {
  color: #475569;
  font-size: 0.95rem;
  margin: 0;
}

.faq-teaser-accordion {
  margin-bottom: 2rem;
}

.faq-teaser-accordion .faq-item {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.1);
}

.faq-teaser-accordion .faq-trigger {
  color: #0f172a;
}

.faq-teaser-accordion .faq-content p {
  color: #475569;
}

.faq-teaser-accordion .faq-content a {
  color: #007687;
  font-weight: 600;
}

.faq-teaser-footer {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.faq-teaser-band .btn-primary {
  box-shadow: 0 2px 8px rgba(0, 148, 169, 0.25);
}

.faq-teaser-contact-link {
  color: #007687;
  font-weight: 600;
  font-size: 0.9rem;
}

.faq-teaser-contact-link:hover {
  color: #0094a9;
}

.calc-promo-banner {
  margin: 1.5rem 0 1.75rem;
  padding: 1.25rem 1.35rem;
  background: linear-gradient(135deg, rgba(0, 148, 169, 0.16) 0%, rgba(0, 148, 169, 0.06) 100%);
  border: 1px solid rgba(0, 148, 169, 0.35);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.calc-promo-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary-teal);
  margin-bottom: 0.35rem;
}

.calc-promo-title {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.calc-promo-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.calc-promo-btn {
  width: 100%;
  text-align: center;
  box-shadow: 0 0 16px rgba(0, 148, 169, 0.2);
}

.calc-promo-banner--light {
  background: linear-gradient(135deg, rgba(0, 148, 169, 0.1) 0%, rgba(0, 148, 169, 0.03) 100%);
  border-color: rgba(0, 148, 169, 0.28);
}

.calc-promo-banner--light .calc-promo-title {
  color: #0f172a;
}

.calc-promo-banner--light .calc-promo-desc {
  color: #475569;
}

@media (min-width: 640px) {
  .calc-promo-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .calc-promo-btn {
    width: auto;
    flex-shrink: 0;
  }
}

.insights-home-grid {
  grid-template-columns: repeat(3, 1fr);
}

.section-light .custom-industries-banner {
  background: linear-gradient(135deg, rgba(0, 148, 169, 0.1) 0%, rgba(0, 148, 169, 0.03) 55%, #ffffff 100%);
  border-color: rgba(0, 148, 169, 0.22);
}

.section-light .custom-industries-content p {
  color: #475569;
}

.section-light .custom-industries-tags span {
  background: rgba(15, 23, 42, 0.04);
  border-color: rgba(15, 23, 42, 0.1);
  color: #64748b;
}

.section-light .custom-industries-tags .many-more-tag {
  background: rgba(0, 148, 169, 0.1);
  border-color: rgba(0, 148, 169, 0.28);
  color: #007687;
}

.insights-teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.insight-teaser-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  padding: 1.75rem;
  transition: var(--transition-smooth);
}

.insight-teaser-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-3px);
}

.insight-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.insight-teaser-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.insight-teaser-card h3 a {
  color: var(--text-main);
}

.insight-teaser-card h3 a:hover {
  color: var(--primary-teal);
}

.insight-teaser-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.faq-page-intro {
  max-width: 640px;
  margin: 0 auto 2.5rem;
  text-align: center;
  line-height: 1.6;
}

.faq-trust-promise {
  max-width: 720px;
  margin: 2.5rem auto 0;
  padding: 1.5rem 1.75rem;
  border-radius: 12px;
  text-align: left;
}

.faq-trust-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: 4px;
  margin-bottom: 0.85rem;
}

.faq-trust-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.faq-trust-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.faq-trust-list li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.65rem;
  font-size: 0.92rem;
  line-height: 1.55;
}

.faq-trust-list li:last-child {
  margin-bottom: 0;
}

.faq-trust-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  font-weight: 700;
  font-size: 0.85rem;
}

.faq-cta-block {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2.5rem;
}

.faq-cta-block h2 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.faq-cta-block p {
  max-width: 480px;
  margin: 0 auto 1.5rem;
  line-height: 1.55;
}

.faq-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.section-light .faq-page-intro {
  color: #475569;
}

.section-light .faq-trust-promise {
  background: #f0fafb;
  border: 1px solid rgba(0, 118, 135, 0.22);
  color: #334155;
}

.section-light .faq-trust-badge {
  color: #007687;
  background: rgba(0, 148, 169, 0.12);
  border: 1px solid rgba(0, 148, 169, 0.2);
}

.section-light .faq-trust-title {
  color: #0f172a;
}

.section-light .faq-trust-list li {
  color: #334155;
}

.section-light .faq-trust-list li::before {
  color: #007687;
}

.section-light .faq-trust-list li strong {
  color: #0f172a;
}

.section-light .faq-trust-promise a {
  color: #007687;
  font-weight: 600;
}

.section-light .faq-trust-promise a:hover {
  color: #0094a9;
}

.section-light .faq-cta-block {
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.section-light .faq-cta-block h2 {
  color: #0f172a;
}

.section-light .faq-cta-block p {
  color: #475569;
}

.section-light .faq-cta-block .btn-secondary {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.15);
  color: #0f172a;
}

.section-light .faq-cta-block .btn-secondary:hover {
  background: #f8fafc;
  border-color: rgba(0, 148, 169, 0.35);
  color: #007687;
}

.footer-grid.cols-5 {
  grid-template-columns: 1.4fr repeat(4, 1fr);
}

@media (max-width: 1024px) {
  .services-pillars {
    grid-template-columns: repeat(2, 1fr);
  }
  .insights-teaser-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid.cols-5 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .services-pillars {
    grid-template-columns: 1fr;
  }
  .staff-aug-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .custom-industries-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 1.25rem;
  }

  .custom-industries-content h3 {
    font-size: 1.15rem;
  }

  .insights-home-grid {
    grid-template-columns: 1fr;
  }

  .trust-pillars-grid {
    grid-template-columns: 1fr;
  }

  .trust-pillar-card {
    padding: 1.25rem 1.15rem;
  }

  .incentives-grid {
    grid-template-columns: 1fr;
  }

  .incentive-stat {
    font-size: 2rem;
  }
}

/* Pricing page — partner incentives */
.pricing-incentives-section {
  padding: 80px 0;
  background: var(--bg-darker);
  border-top: 1px solid var(--border-color);
}

.pricing-incentives-inner {
  max-width: 960px;
  margin: 0 auto;
}

.pricing-incentives-sub {
  margin: 0 auto;
  max-width: 560px;
}

.incentives-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.incentive-card {
  position: relative;
  background: linear-gradient(145deg, rgba(16, 22, 33, 0.95) 0%, rgba(12, 18, 28, 0.98) 100%);
  border: 1px solid var(--border-card);
  border-radius: 14px;
  padding: 1.75rem 1.75rem 1.5rem;
  transition: var(--transition-smooth);
  overflow: hidden;
}

.incentive-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-teal), rgba(0, 148, 169, 0.3));
  opacity: 0.85;
}

.incentive-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.incentive-card-featured {
  border-color: rgba(0, 148, 169, 0.35);
}

.incentive-card-featured::before {
  background: linear-gradient(90deg, #0094a9, #5eead4);
}

.incentive-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary-teal);
  background: rgba(0, 148, 169, 0.15);
  border: 1px solid rgba(0, 148, 169, 0.35);
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
}

.incentive-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.15rem;
}

.incentive-stat {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--primary-teal);
  letter-spacing: -0.02em;
}

.incentive-card .discipline-icon {
  margin-bottom: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 12px;
  background: rgba(0, 148, 169, 0.14);
  border: 1px solid rgba(0, 148, 169, 0.25);
}

.incentive-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.65rem;
  line-height: 1.3;
}

.incentive-desc {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.incentive-desc strong {
  color: var(--text-main);
  font-weight: 600;
}

.incentive-bullets {
  list-style: none;
  margin: 0;
  padding: 0.85rem 0 0;
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.incentive-bullets li {
  font-size: 0.82rem;
  color: var(--text-muted);
  padding-left: 1.1rem;
  position: relative;
  line-height: 1.45;
}

.incentive-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary-teal);
}

/* SEO content pages — services, case studies, founder */
.hero-section-compact {
  padding-bottom: 3rem;
}

.hero-section-compact .hero-title {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
}

.seo-breadcrumb {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.seo-breadcrumb a {
  color: var(--primary-teal);
  text-decoration: none;
}

.seo-breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb-sep {
  margin: 0 0.35rem;
  opacity: 0.5;
}

.seo-content {
  padding: 4rem 0 5rem;
}

.seo-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 3rem;
  align-items: start;
}

.seo-article h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: #0f172a;
  margin: 2rem 0 0.85rem;
}

.seo-article h2:first-child {
  margin-top: 0;
}

.seo-lead {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #334155;
}

.seo-article p {
  color: #334155;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.seo-impact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.seo-impact-list li {
  padding: 0.65rem 0 0.65rem 1.25rem;
  position: relative;
  color: #334155;
  line-height: 1.6;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.seo-impact-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-teal);
}

.seo-process-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.seo-process-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 1.15rem;
  background: #f8fafc;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.seo-process-num {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-family: var(--font-display);
  color: #fff;
  background: var(--primary-teal);
  border-radius: 8px;
  font-size: 0.9rem;
}

.seo-process-step h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: #0f172a;
  margin-bottom: 0.25rem;
}

.seo-process-step p {
  margin: 0;
  font-size: 0.88rem;
}

.seo-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 1.5rem;
}

.seo-tech-tag {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.65rem;
  background: rgba(0, 148, 169, 0.1);
  color: #007687;
  border-radius: 999px;
  border: 1px solid rgba(0, 148, 169, 0.25);
}

.seo-faq {
  margin: 1rem 0 2rem;
}

.seo-author-byline {
  margin: 2rem 0;
  padding: 1rem 1.15rem;
  background: #f0fdfa;
  border-left: 3px solid var(--primary-teal);
  border-radius: 0 8px 8px 0;
  font-size: 0.88rem;
  color: #334155;
}

.seo-author-byline a {
  color: var(--primary-teal);
}

.seo-cta-band {
  text-align: center;
  padding: 2rem 1.5rem;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: 12px;
  margin-top: 2rem;
}

.seo-cta-band h3 {
  color: #fff;
  font-family: var(--font-display);
  margin-bottom: 0.5rem;
}

.seo-cta-band p {
  color: #94a3b8 !important;
  margin-bottom: 1.25rem !important;
}

.seo-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: sticky;
  top: 100px;
}

.seo-related,
.seo-sidebar-card {
  padding: 1.25rem;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 10px;
}

.seo-related h3,
.seo-sidebar-card h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: #0f172a;
  margin-bottom: 0.75rem;
}

.seo-related ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.seo-related li {
  margin-bottom: 0.45rem;
}

.seo-related a {
  font-size: 0.88rem;
  color: var(--primary-teal);
  font-weight: 600;
  text-decoration: none;
}

.seo-related a:hover {
  text-decoration: underline;
}

.seo-sidebar-card p {
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 1rem;
  line-height: 1.5;
}

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

.seo-service-link-card {
  display: block;
  padding: 1.15rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 10px;
  color: var(--text-main);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  transition: var(--transition-fast);
}

.seo-service-link-card:hover {
  border-color: var(--primary-teal);
  color: var(--primary-teal);
  transform: translateY(-2px);
}

.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.case-study-card {
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

.case-study-card:hover {
  border-color: rgba(0, 148, 169, 0.4);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  transform: translateY(-3px);
}

.case-study-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: #0f172a;
  margin: 0.75rem 0 0.5rem;
}

.case-study-card p {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.55;
  flex: 1;
}

.case-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}

.case-metric-card {
  padding: 1.25rem;
  background: #f8fafc;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.case-metric-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  margin-bottom: 0.65rem;
}

.case-metric-values {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  font-family: var(--font-display);
  font-weight: 700;
}

.case-before {
  color: #94a3b8;
  text-decoration: line-through;
  font-size: 0.95rem;
}

.case-after {
  color: var(--primary-teal);
  font-size: 1.15rem;
}

.case-arrow {
  color: #64748b;
}

@media (max-width: 968px) {
  .seo-content-grid {
    grid-template-columns: 1fr;
  }

  .seo-sidebar {
    position: static;
  }

  .seo-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .case-studies-grid {
    grid-template-columns: 1fr;
  }
}

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

