/* ==========================================================================
   PERFORMANCE ENGINEER - CUSTOM STYLES
   Based on Bootstrap 5.3+ Framework
   ========================================================================== */

/* --------------------------------------------------------------------------
   CUSTOM CSS VARIABLES (Brand Colors from Logo Analysis)
   -------------------------------------------------------------------------- */

:root {
  /* Primary Colors */
  --bs-brand-blue: #0066CC;
  --bs-brand-blue-hover: #0052a3;
  --bs-dark-gray: #1C1C1E;
  --bs-body-gray: #4A4A4A;
  --bs-medium-gray: #808080;
  --bs-light-gray: #B0B0B0;
  
  /* Background Colors */
  --bs-white: #FFFFFF;
  --bs-surface-white: #F5F5F5;
  
  /* Typography */
  --bs-font-primary: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --bs-line-height-base: 1.6;
  --bs-line-height-headline: 1.25;
  
  /* Spacing Scale */
  --bs-section-padding-y: clamp(3rem, 8vw, 6rem);
  --bs-section-padding-x: clamp(1rem, 4vw, 3rem);
  
  /* Border Radius */
  --bs-border-radius-card: 0.5rem;
  --bs-border-radius-btn: 0.375rem;
  
  /* Shadows */
  --bs-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --bs-shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
  --bs-shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
}

/* --------------------------------------------------------------------------
   BASE TYPOGRAPHY OVERRIDES
   -------------------------------------------------------------------------- */

body {
  font-family: var(--bs-font-primary);
  line-height: var(--bs-line-height-base);
  color: var(--bs-body-gray);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--bs-font-primary);
  font-weight: 600;
  line-height: var(--bs-line-height-headline);
  color: var(--bs-dark-gray);
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
  text-align: center;
}

.section-intro {
  font-size: clamp(1rem, 2vw, 1.125rem);
  text-align: center;
  max-width: 650px;
  margin: 0 auto 3rem auto;
  color: var(--bs-medium-gray);
}

/* --------------------------------------------------------------------------
   UTILITY CLASSES
   -------------------------------------------------------------------------- */

.full-width {
  width: 100%;
  position: relative;
}

.container {
  max-width: 1200px;
  padding-left: var(--bs-section-padding-x);
  padding-right: var(--bs-section-padding-x);
}

.btn-link {
  color: var(--bs-brand-blue);
  text-decoration: none;
  font-weight: 500;
  border: none;
  background: transparent;
  padding: 0;
}

.btn-link:hover {
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   STICKY HEADER NAVIGATION
   -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(28, 28, 30, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.site-header.scrolled {
  background: rgba(28, 28, 30, 0.98);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem var(--bs-section-padding-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

.header-logo img {
  height: 50px;
  width: auto;
  border-radius: 0.3rem;
}

.header-logo-text {
  color: var(--bs-white);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.header-nav a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.2s ease;
  padding: 0.5rem 0;
}

.header-nav a:hover {
  color: var(--bs-brand-blue);
}

.header-nav a.active {
  color: var(--bs-brand-blue);
}

.header-nav a.nav-active {
  color: var(--bs-brand-blue);
  position: relative;
}

.header-nav a.nav-active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background-color: var(--bs-brand-blue);
  border-radius: 1px;
}

/* Nav dropdown (e.g. "Wie es funktioniert" > "Preise") */
.header-nav .nav-dropdown {
  position: relative;
}

.header-nav .has-dropdown {
  cursor: pointer;
}

.header-nav .has-dropdown::before {
  content: '▾';
  font-size: 0.7em;
  margin-left: 0.35rem;
  opacity: 0.7;
  display: inline-block;
  transition: transform 0.2s ease;
}

.header-nav .nav-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: rgba(28, 28, 30, 0.98);
  border-radius: var(--bs-border-radius-btn);
  box-shadow: var(--bs-shadow-lg);
  padding: 0.5rem 0;
  display: block;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 1050;
}

.header-nav .nav-dropdown:hover .nav-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.header-nav .nav-submenu .nav-submenu-item {
  display: block;
  padding: 0.5rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.header-nav .nav-submenu .nav-submenu-item:hover {
  color: var(--bs-white);
  background: rgba(255, 255, 255, 0.08);
}

/* Language Switcher (inside header nav) */
.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: 0.5rem;
  padding: 0.25rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
}

.lang-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.lang-btn:hover {
  color: var(--bs-white);
  background: rgba(255, 255, 255, 0.1);
}

.lang-btn.active {
  color: var(--bs-white);
  background: var(--bs-brand-blue);
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--bs-white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

/* Mobile Navigation */
@media (max-width: 991px) {
  .mobile-menu-toggle {
    display: block;
  }

  .header-nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(28, 28, 30, 0.98);
    flex-direction: column;
    padding: 1.5rem;
    gap: 0;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  }

  .header-nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .header-nav a,
  .header-nav .nav-dropdown {
    width: 100%;
    text-align: center;
  }
  
  .header-nav a {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .header-nav a:last-child {
    border-bottom: none;
  }
  
  .language-switcher {
    margin: 1rem auto;
    justify-content: center;
  }
  
  /* Hide dropdown on mobile - link goes directly to process */
  .header-nav .nav-submenu {
    display: none !important;
  }
}

/* Add padding to body for fixed header */
body {
  padding-top: 70px;
}

@media (max-width: 991px) {
  body {
    padding-top: 70px;
  }
}

/* --------------------------------------------------------------------------
   SECTION 1: HERO
   -------------------------------------------------------------------------- */

.hero-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(28, 28, 30, 0.75), rgba(28, 28, 30, 0.85));
  color: var(--bs-white);
  position: relative;
  overflow: hidden;
  margin-bottom: 0;
  padding-top: calc(var(--bs-section-padding-y) / 2);
  padding-bottom: calc(var(--bs-section-padding-y) / 2);
}

@media (max-width: 768px) {
  .hero-section {
    min-height: 65vh;
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(0, 102, 204, 0.15), transparent 60%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 750px;
  text-align: center;
  padding: 2rem;
}

.hero-banner {
  max-width: 100%;
  height: auto;
  margin: 0 auto 1.5rem auto;
  display: block;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  max-height: 120px;
  object-fit: contain;
}

.hero-content .eyebrow {
  font-size: clamp(0.875rem, 2vw, 1rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--bs-light-gray);
  margin-bottom: 1rem;
  font-weight: 500;
}

.hero-content .headline {
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  color: var(--bs-white);
}

.hero-content .subline {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.trust-note {
  font-size: 0.875rem;
  color: var(--bs-light-gray);
  opacity: 0.9;
}

/* --------------------------------------------------------------------------
   SECTION 2: NEEDS MIRROR (Bedürfnis-Spiegel)
   -------------------------------------------------------------------------- */

.section-needs {
  padding: var(--bs-section-padding-y) 0;
  background-color: var(--bs-surface-white);
}

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

@media (max-width: 992px) {
  .cards-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.need-card {
  background: var(--bs-white);
  border-radius: var(--bs-border-radius-card);
  padding: 2rem;
  box-shadow: var(--bs-shadow-md);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
}

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

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.card-headline {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--bs-dark-gray);
}

.card-body {
  color: var(--bs-body-gray);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.card-solution {
  color: var(--bs-brand-blue);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

/* --------------------------------------------------------------------------
   SECTION 3: TRUST BAND
   -------------------------------------------------------------------------- */

.section-trust {
  padding: 2.5rem 1rem;
  background-color: var(--bs-dark-gray);
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .trust-list {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
}

.trust-item {
  color: var(--bs-white);
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   SECTION 4: SERVICES
   -------------------------------------------------------------------------- */

.section-services {
  padding: var(--bs-section-padding-y) 0;
  background-color: var(--bs-white);
}

.service-card {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--bs-border-radius-card);
  padding: 2rem;
  background: var(--bs-white);
  transition: box-shadow 0.2s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  box-shadow: var(--bs-shadow-md);
}

.service-card.service-card-small {
  padding: 1.5rem;
}

.service-headline {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--bs-dark-gray);
}

.service-target {
  color: var(--bs-medium-gray);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  flex-grow: 1;
}

.service-features li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.5rem;
  color: var(--bs-body-gray);
}

.service-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--bs-brand-blue);
  font-weight: 600;
}

.btn-block {
  display: block;
  width: 100%;
  text-align: center;
}

/* --------------------------------------------------------------------------
   SECTION 5: PROCESS TIMELINE
   -------------------------------------------------------------------------- */

.section-process {
  padding: var(--bs-section-padding-y) 0;
  background-color: var(--bs-white);
  position: relative;
}

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

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

.process-step {
  padding: 2rem;
  background: var(--bs-surface-white);
  border-radius: var(--bs-border-radius-card);
  position: relative;
}

.step-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--bs-brand-blue);
  margin-bottom: 1rem;
  opacity: 0.3;
}

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

.step-body {
  color: var(--bs-body-gray);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   SECTION 6: METHODOLOGY
   -------------------------------------------------------------------------- */

.section-methodology {
  padding: var(--bs-section-padding-y) 0;
  background-color: var(--bs-surface-white);
}

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

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

.pillar-card {
  padding: 2.5rem 2rem;
  background: var(--bs-white);
  border-radius: var(--bs-border-radius-card);
  box-shadow: var(--bs-shadow-sm);
  border-left: 4px solid var(--bs-brand-blue);
}

.pillar-headline {
  font-size: 1.375rem;
  margin-bottom: 1rem;
  color: var(--bs-dark-gray);
}

.pillar-body {
  color: var(--bs-body-gray);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   SECTION 7: TESTIMONIALS
   -------------------------------------------------------------------------- */

.section-testimonials {
  padding: var(--bs-section-padding-y) 0;
  background-color: var(--bs-white);
}

.testimonial-block {
  margin-bottom: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.testimonial-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.block-headline {
  font-size: 1.75rem;
  margin-bottom: 2rem;
  text-align: center;
}

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

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

.testimonial-card {
  position: relative;
  padding: 2rem;
  background: var(--bs-surface-white);
  border-radius: var(--bs-border-radius-card);
}

.quote-icon {
  font-size: 3rem;
  color: var(--bs-brand-blue);
  opacity: 0.2;
  position: absolute;
  top: 0.5rem;
  left: 1rem;
  line-height: 1;
}

.testimonial-card blockquote {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--bs-body-gray);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
  padding-left: 2rem;
}

.testimonial-card footer {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.testimonial-card strong {
  color: var(--bs-dark-gray);
}

.meta {
  font-size: 0.875rem;
  color: var(--bs-medium-gray);
}

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

.institution-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 3rem;
  margin-top: 2rem;
}

.institution-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0 1 320px;
}

.institution-item a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 96px;
  margin-bottom: 1rem;
  text-decoration: none;
}

.institution-item a img {
  max-height: 84px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.institution-item strong {
  display: block;
  font-size: 1.125rem;
  color: var(--bs-dark-gray);
  margin-bottom: 0.25rem;
}

.institution-item .meta {
  font-size: 0.875rem;
}

/* --------------------------------------------------------------------------
   SECTION 8: ABOUT
   -------------------------------------------------------------------------- */

.section-about {
  padding: var(--bs-section-padding-y) 0;
  background-color: var(--bs-white);
}

.about-layout {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.about-content-wrapper {
  max-width: 650px;
}

.about-image {
  flex: 0 0 420px;
  max-width: 100%;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
  object-fit: cover;
}

@media (min-width: 992px) {
  .about-layout {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }
  
  .about-content-wrapper {
    flex: 1 1 50%;
  }
  
  .about-text {
    flex: 1 1 auto;
  }
  
  .about-image {
    flex: 0 0 420px;
    min-width: 300px;
  }
  
  .credentials-grid-interactive {
    flex: 1 1 100%;
    margin-top: 3rem;
  }
}

@media (max-width: 992px) {
  .about-layout {
    grid-template-columns: 1fr;
  }
  
  .about-image {
    order: -1;
    max-width: 350px;
    margin: 0 auto;
  }
}

.about-text p {
  font-size: 1.125rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: var(--bs-body-gray);
}

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

.credential-category {
  padding: 1.5rem;
  background: var(--bs-surface-white);
  border-radius: var(--bs-border-radius-card);
}

.credential-category h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--bs-brand-blue);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.credential-category ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.credential-category li {
  font-size: 0.95rem;
  padding: 0.25rem 0;
  color: var(--bs-body-gray);
}

.credential-category li strong {
  color: var(--bs-dark-gray);
}

/* Interactive credential cards (About section) */
.credentials-grid-interactive {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  align-content: start;
}

.credential-card-with-icon {
  position: relative;
  padding: 1.5rem 1.5rem 1.5rem 1.5rem;
  background: var(--bs-white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--bs-border-radius-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.credential-card-with-icon::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1.5rem;
  right: 1.5rem;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--bs-brand-blue);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.credential-card-with-icon:hover {
  transform: translateY(-4px);
  box-shadow: var(--bs-shadow-md);
  border-color: rgba(0, 102, 204, 0.25);
}

.credential-card-with-icon:hover::before {
  opacity: 1;
}

.credential-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 0.875rem;
  font-size: 1.375rem;
  line-height: 1;
  border-radius: 0.75rem;
  background: rgba(0, 102, 204, 0.1);
}

.credential-card-with-icon h4 {
  font-size: 1rem;
  margin-bottom: 0.875rem;
  color: var(--bs-dark-gray);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.credential-card-with-icon ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.credential-card-with-icon li {
  position: relative;
  font-size: 0.925rem;
  line-height: 1.5;
  padding: 0.3rem 0 0.3rem 1.1rem;
  color: var(--bs-body-gray);
}

.credential-card-with-icon li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--bs-brand-blue);
  opacity: 0.55;
}

.credential-card-with-icon li strong {
  color: var(--bs-dark-gray);
}

@media (max-width: 576px) {
  .credentials-grid-interactive {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   SECTION 9: FAQ
   -------------------------------------------------------------------------- */

.section-faq {
  padding: var(--bs-section-padding-y) 0;
  background-color: var(--bs-white);
}

.faq-accordion {
  max-width: 800px;
  margin: 3rem auto 0 auto;
}

.faq-item-accordion {
  margin-bottom: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 0.5rem;
  overflow: hidden;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.faq-item-accordion:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.faq-item-accordion.active {
  border-color: var(--bs-brand-blue);
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.1);
}

.faq-question-btn {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: var(--bs-white);
  border: none;
  text-align: left;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--bs-dark-gray);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: background-color 0.2s ease;
}

.faq-question-btn:hover {
  background: var(--bs-surface-white);
}

.faq-toggle-icon {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 102, 204, 0.1);
  color: var(--bs-brand-blue);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.faq-item-accordion.active .faq-toggle-icon {
  transform: rotate(45deg);
  background: var(--bs-brand-blue);
  color: var(--bs-white);
}

.faq-answer-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  background: var(--bs-surface-white);
}

.faq-answer-content p {
  padding: 1.5rem;
  margin: 0;
  color: var(--bs-body-gray);
  line-height: 1.7;
}

.faq-answer-content a {
  color: var(--bs-brand-blue);
}

/* --------------------------------------------------------------------------
   SECTION 10: CONTACT FORM
   -------------------------------------------------------------------------- */

.section-contact {
  padding: var(--bs-section-padding-y) 0;
  background-color: var(--bs-surface-white);
}

.contact-form {
  max-width: 700px;
  margin: 3rem auto 0 auto;
  background: var(--bs-white);
  padding: 2.5rem;
  border-radius: var(--bs-border-radius-card);
  box-shadow: var(--bs-shadow-sm);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--bs-dark-gray);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #ccc;
  border-radius: var(--bs-border-radius-btn);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--bs-brand-blue);
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-checkbox label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.95rem;
  line-height: 1.5;
}

.form-checkbox label span {
  flex: 1;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.form-checkbox input[type="checkbox"] {
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.form-honeypot {
  display: none;
}

.form-actions {
  margin-top: 2rem;
}

.btn-primary {
  background-color: var(--bs-brand-blue);
  border-color: var(--bs-brand-blue);
  color: var(--bs-white);
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: var(--bs-border-radius-btn);
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.btn-primary:hover {
  background-color: var(--bs-brand-blue-hover);
  border-color: var(--bs-brand-blue-hover);
  color: var(--bs-white);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: transparent;
  border-color: var(--bs-white);
  color: var(--bs-white);
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: var(--bs-border-radius-btn);
  transition: background-color 0.2s ease;
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--bs-white);
}

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */

.site-footer {
  background-color: var(--bs-dark-gray);
  color: var(--bs-light-gray);
  padding: 3rem 1rem;
  text-align: center;
  font-size: 0.95rem;
}

.site-footer a {
  color: var(--bs-white);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   RESPONSIVE UTILITIES
   -------------------------------------------------------------------------- */

@media print {
  .hero-section,
  .trust-band,
  .section-contact {
    page-break-inside: avoid;
  }
}

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

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --bs-brand-blue: #004da3;
    --bs-body-gray: #000000;
  }
}

/* --------------------------------------------------------------------------
   ACCESSIBILITY ENHANCEMENTS
   -------------------------------------------------------------------------- */

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--bs-brand-blue);
  color: var(--bs-white);
  padding: 8px;
  z-index: 1000;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 0;
}

/* Focus visible for keyboard navigation */
*:focus-visible {
  outline: 2px solid var(--bs-brand-blue);
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   FINDER OPTION BUTTONS
   -------------------------------------------------------------------------- */

.finder-option-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 2rem 1.5rem;
  background: var(--bs-white);
  border: 1px solid var(--bs-light-gray);
  border-radius: var(--bs-border-radius-btn);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  color: var(--bs-dark-gray);
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.finder-option-btn:hover {
  border-color: var(--bs-brand-blue);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 102, 204, 0.12);
}

.finder-option-btn .option-icon {
  font-size: 2rem;
}

.finder-option-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}


/* --------------------------------------------------------------------------
   LOADING STATES
   -------------------------------------------------------------------------- */

.btn-primary:disabled,
.btn-secondary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.form-loading {
  position: relative;
  pointer-events: none;
}

.form-loading::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  top: 50%;
  right: 1rem;
  margin-top: -10px;
  border: 2px solid var(--bs-brand-blue);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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