/* ============================================
   DSNCON GmbH — Website Styles
   ============================================ */

:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f5f7fa;
  --color-bg-card: #ffffff;
  --color-bg-card-hover: #f0f4f8;
  --color-text: #1a2332;
  --color-text-muted: #5a6a7a;
  --color-text-dim: #8a96a4;
  --color-accent: #2B74B8;
  --color-accent-hover: #1E5F9A;
  --color-accent-glow: rgba(43, 116, 184, 0.08);
  --color-border: #e2e8f0;
  --color-border-light: #edf2f7;
  --color-surface: #ffffff;
  --font-base: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius: 8px;
  --radius-lg: 16px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --container: 1200px;
}

[data-theme="dark"] {
  --color-bg: #0f1419;
  --color-bg-alt: #1a2332;
  --color-bg-card: #1a2332;
  --color-bg-card-hover: #243044;
  --color-text: #e8edf2;
  --color-text-muted: #a0aec0;
  --color-text-dim: #718096;
  --color-accent: #4da3e8;
  --color-accent-hover: #6bb5f0;
  --color-accent-glow: rgba(77, 163, 232, 0.12);
  --color-border: #2d3748;
  --color-border-light: #1e2a3a;
  --color-surface: #1a2332;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-base);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  font-size: 16px;
  opacity: 1;
  transition: opacity 0.6s ease;
}

/* [1] Noise/Grain Texture Overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* [4] Page Load Animation — handled via JS transition, body is always visible */

img { max-width: 100%; display: block; }
a { color: var(--color-accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-accent-hover); }
ul { list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   [3] Scroll Progress Bar
   ============================================ */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-hover));
  z-index: 10001;
  transition: width 0.05s linear;
  box-shadow: 0 0 8px rgba(43, 116, 184, 0.5);
}

/* ============================================
   Navigation
   ============================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all var(--transition);
  background: transparent;
}

.nav--scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
}

.nav__container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav__logo-icon {
  height: 34px;
  width: auto;
  display: block;
  transition: transform var(--transition);
}

.nav__logo:hover .nav__logo-icon {
  transform: scale(1.05);
}

.nav__logo-text {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 2px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: color var(--transition);
  position: relative;
}

.nav__link:hover { color: var(--color-text); }

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-accent);
  transition: width var(--transition);
}

.nav__link:hover::after { width: 100%; }

.nav__link--cta {
  background: var(--color-accent);
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 600;
}

.nav__link--cta::after { display: none; }
.nav__link--cta:hover { background: var(--color-accent-hover); }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: all var(--transition);
}

/* ============================================
   Hero — with canvas background
   ============================================ */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 120px 24px 80px;
  background: var(--color-bg);
}

.hero__image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.04;
  filter: brightness(1.2) saturate(0.3);
  will-change: transform;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(255,255,255,0.6) 0%, rgba(245,247,250,0.4) 50%, rgba(245,247,250,0.95) 100%),
    radial-gradient(ellipse at 20% 50%, rgba(43, 116, 184, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(43, 116, 184, 0.04) 0%, transparent 50%);
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.7;
}

/* [9] Cursor Spotlight */
.hero__spotlight {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hero__content {
  position: relative;
  max-width: 800px;
  z-index: 2;
}

/* [8] Hero Text Reveal Animation */
.hero-anim {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-anim--line {
  display: inline-block;
}

.hero-anim--visible {
  opacity: 1;
  transform: translateY(0);
}

.hero__label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 24px;
}

.hero__title {
  font-size: clamp(48px, 8vw, 88px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 28px;
  color: var(--color-text);
}

.hero__subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: var(--color-text-muted);
  max-width: 560px;
  margin-bottom: 40px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.hero__scroll span {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-text-dim);
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--color-text-dim), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn--primary {
  background: var(--color-accent);
  color: #fff;
}

.btn--primary:hover {
  background: var(--color-accent-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(43, 116, 184, 0.25);
}

.btn--outline {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn--outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-1px);
  background: rgba(43, 116, 184, 0.04);
}

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

/* ============================================
   Sections — with decorative separators
   ============================================ */

.section {
  padding: 120px 0;
  position: relative;
}

.section--services {
  background: var(--color-bg-alt);
  overflow: hidden;
}

.section--services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
  opacity: 0.5;
}

.section--expertise {
  background: var(--color-bg);
}

.section--expertise::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border-light) 20%, var(--color-border-light) 80%, transparent);
}

.section--clients {
  background: var(--color-bg-alt);
}

.section--contact {
  background: var(--color-bg);
  overflow: hidden;
}

.section--contact::before {
  content: '';
  position: absolute;
  top: 50%;
  right: -200px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(43,116,184,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.section__label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 16px;
}

.section__title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section__subtitle {
  font-size: 17px;
  color: var(--color-text-muted);
  max-width: 600px;
  margin-bottom: 60px;
}

/* ============================================
   About — with SVG illustration
   ============================================ */

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about__lead {
  font-size: 18px;
  color: var(--color-text);
  margin-bottom: 20px;
  line-height: 1.7;
}

.about__text p {
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.about__visual {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about__image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.about__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  display: block;
}

.about__image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(43,116,184,0.1) 0%, transparent 60%);
  pointer-events: none;
}

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

.stat {
  padding: 32px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}

.stat--compact {
  padding: 20px;
  text-align: center;
}

.stat:hover {
  border-color: var(--color-accent);
  background: var(--color-accent-glow);
}

.stat__number {
  display: block;
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 4px;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-hover));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat--compact .stat__number {
  font-size: 28px;
}

.stat__label {
  font-size: 14px;
  color: var(--color-text-muted);
  letter-spacing: 0.5px;
}

.stat--compact .stat__label {
  font-size: 12px;
}

/* ============================================
   [12] Technology Logo Ticker
   ============================================ */

.ticker {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 24px 0;
  overflow: hidden;
  position: relative;
}

.ticker::before,
.ticker::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.ticker::before {
  left: 0;
  background: linear-gradient(to right, var(--color-bg-alt), transparent);
}

.ticker::after {
  right: 0;
  background: linear-gradient(to left, var(--color-bg-alt), transparent);
}

.ticker__track {
  display: flex;
  width: max-content;
  animation: tickerScroll 30s linear infinite;
}

.ticker__list {
  display: flex;
  gap: 16px;
  padding-right: 16px;
  flex-shrink: 0;
}

.ticker__badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  border: 1px solid var(--color-border-light);
  border-radius: 100px;
  font-family: 'SF Mono', 'Fira Code', 'Fira Mono', 'Roboto Mono', monospace;
  font-size: 13px;
  color: var(--color-text-muted);
  white-space: nowrap;
  letter-spacing: 0.5px;
  transition: all var(--transition);
}

.ticker__badge:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: rgba(43, 116, 184, 0.06);
}

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

/* ============================================
   [10] Services — Bento Grid Layout
   ============================================ */

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: auto;
  gap: 24px;
}

.service-card--wide {
  grid-column: span 2;
}

/* [2] Cards */
.service-card {
  padding: 40px 32px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  /* [7] 3D Card Tilt — base transform */
  transform-style: preserve-3d;
  will-change: transform;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.service-card:hover {
  border-color: var(--color-accent);
  background: var(--color-bg-card);
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(43, 116, 184, 0.1);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card__icon-wrap {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  background: rgba(43, 116, 184, 0.06);
  border: 1px solid rgba(43, 116, 184, 0.12);
  border-radius: 12px;
  transition: all var(--transition);
}

.service-card:hover .service-card__icon-wrap {
  background: rgba(43, 116, 184, 0.1);
  border-color: rgba(43, 116, 184, 0.25);
  box-shadow: 0 0 30px rgba(43, 116, 184, 0.1);
}

.service-card__icon-wrap svg {
  width: 48px;
  height: 48px;
}

/* Keep old icon class for backwards compat */
.service-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--color-accent);
}

.service-card__icon svg {
  width: 28px;
  height: 28px;
}

.service-card__title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.service-card__text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text-muted);
}

/* ============================================
   Expertise — with accent header bars
   ============================================ */

.expertise__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.expertise__category {
  padding: 36px 28px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.expertise__category::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(43,116,184,0.3), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.expertise__category:hover {
  border-color: rgba(43, 116, 184, 0.3);
  background: var(--color-accent-glow);
  transform: translateY(-2px);
}

.expertise__category:hover::after {
  opacity: 1;
}

.expertise__heading {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
}

.expertise__list li {
  font-size: 14px;
  color: var(--color-text-muted);
  padding: 6px 0;
  position: relative;
  padding-left: 16px;
  transition: color var(--transition);
}

.expertise__category:hover .expertise__list li {
  color: var(--color-text);
}

.expertise__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-accent);
  transform: translateY(-50%);
  transition: box-shadow var(--transition);
}

.expertise__category:hover .expertise__list li::before {
  box-shadow: 0 0 6px rgba(43, 116, 184, 0.6);
}

/* ============================================
   [11] How We Work — Horizontal Scroll
   ============================================ */

.section--approach {
  background: var(--color-bg-alt);
  padding: 0;
  overflow: hidden;
}

.approach__wrapper {
  display: flex;
  min-height: 100vh;
}

.approach__sticky {
  flex: 0 0 380px;
  padding: 120px 60px 120px 0;
  margin-left: max(24px, calc((100vw - var(--container)) / 2 + 24px));
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: sticky;
  top: 0;
  height: 100vh;
}

.approach__desc {
  font-size: 16px;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-top: 8px;
}

.approach__scroll {
  flex: 1;
  overflow-x: auto;
  overflow-y: hidden;
  display: flex;
  align-items: center;
  padding: 40px 40px 40px 0;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.approach__scroll::-webkit-scrollbar {
  display: none;
}

.approach__track {
  display: flex;
  gap: 24px;
  flex-shrink: 0;
  padding-right: 60px;
}

.approach__card {
  flex: 0 0 320px;
  padding: 48px 36px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}

.approach__card:hover {
  border-color: var(--color-accent);
  transform: translateY(-4px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.approach__number {
  display: block;
  font-size: 64px;
  font-weight: 800;
  letter-spacing: -3px;
  line-height: 1;
  margin-bottom: 24px;
  background: linear-gradient(135deg, rgba(43, 116, 184, 0.3), rgba(43, 116, 184, 0.08));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.approach__card-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.approach__card-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text-muted);
}

.approach__accent {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent), transparent);
  opacity: 0.4;
}

/* ============================================
   Mission CTA
   ============================================ */

.mission-cta {
  padding: 80px 0;
  background: var(--color-bg-alt);
  text-align: center;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.mission-cta__quote {
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 300;
  line-height: 1.6;
  color: var(--color-text);
  max-width: 740px;
  margin: 0 auto 16px;
  font-style: italic;
  letter-spacing: -0.3px;
}

.mission-cta__source {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: 1px;
}

/* ============================================
   Project Planning
   ============================================ */

.section--planning {
  background: var(--color-bg);
}

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

.planning__card {
  padding: 32px 28px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}

.planning__card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.planning__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: rgba(43, 116, 184, 0.06);
  border: 1px solid rgba(43, 116, 184, 0.12);
  border-radius: 10px;
}

.planning__icon svg {
  width: 28px;
  height: 28px;
}

.planning__card-title {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}

.planning__card-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text-muted);
}

.planning__cta {
  text-align: center;
}

/* ============================================
   Clients — with real logos
   ============================================ */

.clients__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.client {
  padding: 48px 32px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.client::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(43,116,184,0.08) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--transition);
}

.client:hover {
  border-color: rgba(43, 116, 184, 0.2);
  background: var(--color-bg-card);
  transform: translateY(-2px);
}

.client:hover::before {
  opacity: 1;
}

.client__logo {
  height: 48px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  margin: 0 auto 12px;
  display: block;
  opacity: 0.7;
  transition: opacity var(--transition);
}

.client:hover .client__logo {
  opacity: 1;
}

.client__desc {
  font-size: 13px;
  color: var(--color-text-muted);
  position: relative;
}

/* ============================================
   Contact
   ============================================ */

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact__info p {
  color: var(--color-text-muted);
  margin-bottom: 40px;
  max-width: 440px;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
}

.contact__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact__item svg {
  width: 20px;
  height: 20px;
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 3px;
}

.contact__item strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.contact__item a,
.contact__item span {
  font-size: 14px;
  color: var(--color-text-muted);
}

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

.contact__social {
  display: flex;
  gap: 16px;
}

.contact__social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  color: var(--color-text-muted);
  transition: all var(--transition);
}

.contact__social a:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: var(--color-accent-glow);
}

.contact__social svg { width: 18px; height: 18px; }

/* Contact Form */
.contact__form-wrapper {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.contact__form-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-hover), var(--color-accent));
  opacity: 0.6;
}

.form__group {
  margin-bottom: 20px;
}

.form__group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  color: var(--color-text-muted);
}

.form__group input,
.form__group select,
.form__group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  color: var(--color-text);
  font-family: var(--font-base);
  font-size: 14px;
  transition: all var(--transition);
  outline: none;
}

.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(43, 116, 184, 0.1);
}

.form__group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23888' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

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

/* ============================================
   Image Banners (visual breaks)
   ============================================ */

.banner {
  position: relative;
  height: 340px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 120%;
  object-fit: cover;
  filter: saturate(0.6) brightness(0.4) sepia(0.2) hue-rotate(180deg);
  will-change: transform;
}

.banner__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, var(--color-bg) 0%, transparent 20%, transparent 80%, var(--color-bg) 100%),
    linear-gradient(to right, rgba(255,255,255,0.3) 0%, transparent 50%, rgba(255,255,255,0.3) 100%);
}

.banner__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
}

.banner__text {
  font-size: clamp(20px, 3vw, 32px);
  font-weight: 300;
  letter-spacing: -0.5px;
  color: #ffffff;
  opacity: 0.9;
  max-width: 700px;
  line-height: 1.4;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
  .banner {
    height: 240px;
  }
}

/* ============================================
   Footer
   ============================================ */

.footer {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  padding: 60px 0 40px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer__tagline {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-top: 12px;
  line-height: 1.6;
}

.footer__links h4 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: var(--color-text);
}

.footer__links li { margin-bottom: 10px; }

.footer__links a {
  font-size: 14px;
  color: var(--color-text-muted);
  transition: color var(--transition);
}

.footer__links a:hover { color: var(--color-text); }

.footer__links li:not(:has(a)) {
  font-size: 14px;
  color: var(--color-text-muted);
}

.footer__bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.footer__bottom p {
  font-size: 13px;
  color: var(--color-text-dim);
}

/* ============================================
   Animations
   ============================================ */

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in--visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delays for service cards */
.service-card:nth-child(1) .fade-in { transition-delay: 0s; }
.service-card:nth-child(2) .fade-in { transition-delay: 0.1s; }
.service-card:nth-child(3) .fade-in { transition-delay: 0.2s; }
.service-card:nth-child(4) .fade-in { transition-delay: 0.3s; }
.service-card:nth-child(5) .fade-in { transition-delay: 0.4s; }
.service-card:nth-child(6) .fade-in { transition-delay: 0.5s; }

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .service-card--wide { grid-column: span 2; }
  .expertise__grid { grid-template-columns: repeat(2, 1fr); }
  .planning__grid { grid-template-columns: repeat(2, 1fr); }
  .clients__grid { grid-template-columns: repeat(2, 1fr); }

  .approach__wrapper { flex-direction: column; }
  .approach__sticky {
    position: relative;
    height: auto;
    flex: none;
    padding: 80px 24px 0;
    margin-left: 0;
    text-align: center;
  }
  .approach__scroll {
    padding: 40px 24px;
  }
}

@media (max-width: 768px) {
  .nav__toggle { display: flex; }

  .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--color-bg-alt);
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    padding: 40px;
    border-left: 1px solid var(--color-border);
    transition: right var(--transition);
  }

  .nav__menu--open { right: 0; }

  .nav__link { font-size: 18px; }
  .nav__link--cta { text-align: center; width: 100%; }

  .hero { padding: 140px 24px 80px; }
  .hero__title { letter-spacing: -1px; }

  .section { padding: 80px 0; }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about__illustration {
    max-width: 400px;
    margin: 0 auto;
  }

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

  .services__grid { grid-template-columns: 1fr; }
  .service-card--wide { grid-column: span 1; }
  .expertise__grid { grid-template-columns: 1fr; }
  .planning__grid { grid-template-columns: 1fr; }
  .clients__grid { grid-template-columns: 1fr 1fr; }

  .contact__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  /* Approach: stack vertically on mobile */
  .approach__scroll {
    overflow-x: visible;
    overflow-y: visible;
  }
  .approach__track {
    flex-direction: column;
    padding-right: 0;
  }
  .approach__card {
    flex: none;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .clients__grid { grid-template-columns: 1fr; }
  .about__stats-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
}

/* ============================================
   SECTION: What DSNCON Means — Acronym
   ============================================ */

.section--acronym {
  background: var(--color-bg-alt);
  padding: 72px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.acronym__row {
  display: flex;
  align-items: stretch;
  gap: 0;
}

.acronym__item {
  flex: 1;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  transition: background var(--transition);
}

.acronym__item:hover {
  background: var(--color-accent-glow);
}

.acronym__item--con {
  flex: 1.2;
}

.acronym__letter {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-hover));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-shrink: 0;
  margin-top: 4px;
}

.acronym__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.acronym__word {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.3px;
}

.acronym__desc {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.acronym__divider {
  width: 1px;
  background: var(--color-border);
  margin: 16px 0;
  flex-shrink: 0;
}

/* ============================================
   SECTION: Key Figures
   ============================================ */

.section--figures {
  background: var(--color-bg);
  padding: 80px 0;
}

.figures__row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}

.figure {
  flex: 1;
  min-width: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 24px;
  transition: background var(--transition);
  border-radius: var(--radius-lg);
}

.figure:hover {
  background: var(--color-accent-glow);
}

.figure__number {
  display: block;
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-hover));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.figure__number--text {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-hover));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.figure__label {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.figure__sep {
  width: 1px;
  height: 60px;
  background: var(--color-border);
  flex-shrink: 0;
}

/* ============================================
   SECTION: Case Studies
   ============================================ */

.section--cases {
  background: var(--color-bg-alt);
  overflow: hidden;
}

.section--cases::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
  opacity: 0.5;
}

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

.case-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.case-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.case-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(43, 116, 184, 0.08);
}

.case-card:hover::after {
  opacity: 1;
}

.case-card__top {
  display: flex;
  align-items: center;
}

.case-card__tag {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid rgba(43, 116, 184, 0.25);
  background: rgba(43, 116, 184, 0.06);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-accent);
}

.case-card__title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.4px;
  color: var(--color-text);
  line-height: 1.3;
}

.case-card__text {
  font-size: 14px;
  line-height: 1.75;
  color: var(--color-text-muted);
  flex: 1;
}

.case-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: none;
  margin-top: auto;
  transition: gap var(--transition), color var(--transition);
}

.case-card__link svg {
  width: 14px;
  height: 14px;
  transition: transform var(--transition);
}

.case-card__link:hover {
  color: var(--color-accent-hover);
  gap: 10px;
}

.case-card__link:hover svg {
  transform: translateX(2px);
}

/* ============================================
   SECTION: Technology Stack Visual
   ============================================ */

.section--stack {
  background: var(--color-bg);
}

.stack__diagram {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.stack__diagram::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(
    to top,
    rgba(43, 116, 184, 0.2),
    rgba(43, 116, 184, 0.5),
    rgba(43, 116, 184, 0.7),
    rgba(43, 116, 184, 0.9),
    var(--color-accent)
  );
}

.stack__layer {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 24px 32px 24px 40px;
  border-bottom: 1px solid var(--color-border);
  transition: background var(--transition);
}

.stack__layer:last-child {
  border-bottom: none;
}

.stack__layer:hover {
  background: var(--color-accent-glow);
}

.stack__layer-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 100px;
  flex-shrink: 0;
}

.stack__layer-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--color-accent);
  opacity: 0.6;
}

.stack__layer-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-muted);
  white-space: nowrap;
  text-align: center;
}

.stack__layer-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.stack__pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 18px;
  border: 1px solid var(--color-border);
  border-radius: 100px;
  font-family: 'SF Mono', 'Fira Code', 'Fira Mono', 'Roboto Mono', monospace;
  font-size: 13px;
  color: var(--color-text-muted);
  transition: all var(--transition);
  white-space: nowrap;
}

.stack__pill:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: rgba(43, 116, 184, 0.06);
}

.stack__pill--top {
  border-color: rgba(43, 116, 184, 0.3);
  color: var(--color-accent);
  background: rgba(43, 116, 184, 0.06);
}

.stack__pill--base {
  border-color: var(--color-border-light);
  color: var(--color-text-dim);
}

/* ============================================
   SECTION: Certifications & Partners
   ============================================ */

.section--partners {
  background: var(--color-bg-alt);
  padding: 80px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.section--partners .section__title {
  margin-bottom: 40px;
}

.partners__row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.partner__badge {
  display: inline-flex;
  align-items: center;
  padding: 10px 24px;
  border: 1px solid var(--color-border);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-muted);
  background: var(--color-bg-card);
  transition: all var(--transition);
  cursor: default;
  letter-spacing: 0.2px;
}

.partner__badge:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: rgba(43, 116, 184, 0.04);
}

/* ============================================
   SECTION: Industries Served
   ============================================ */

.section--industries {
  background: var(--color-bg);
}

.industries__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.industry-card {
  padding: 36px 28px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.industry-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.industry-card:hover {
  border-color: rgba(43, 116, 184, 0.3);
  background: var(--color-accent-glow);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.industry-card:hover::before {
  opacity: 1;
}

.industry-card__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(43, 116, 184, 0.06);
  border: 1px solid rgba(43, 116, 184, 0.12);
  border-radius: 12px;
  flex-shrink: 0;
}

.industry-card__icon svg {
  width: 32px;
  height: 32px;
}

.industry-card__name {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.3px;
  line-height: 1.3;
}

.industry-card__desc {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ============================================
   SECTION: Testimonials
   ============================================ */

.section--testimonials {
  background: var(--color-bg-alt);
}

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

.testimonial {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: all var(--transition);
  position: relative;
}

.testimonial:hover {
  border-color: rgba(43, 116, 184, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.testimonial__quote-mark {
  font-size: 56px;
  line-height: 1;
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--color-accent);
  opacity: 0.25;
  position: absolute;
  top: 20px;
  left: 28px;
  pointer-events: none;
  user-select: none;
}

.testimonial__text {
  font-size: 15px;
  line-height: 1.75;
  color: var(--color-text);
  font-style: italic;
  font-weight: 400;
  padding-top: 16px;
}

.testimonial__footer {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-top: 1px solid var(--color-border);
  padding-top: 16px;
  margin-top: auto;
}

.testimonial__author {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
}

.testimonial__org {
  font-size: 13px;
  color: var(--color-accent);
  font-weight: 500;
}

/* ============================================
   SECTION: Team / About Harald
   ============================================ */

.section--team {
  background: var(--color-bg);
}

.team__profile {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 64px;
  align-items: start;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 56px 56px 56px 48px;
  position: relative;
  overflow: hidden;
}

.team__profile::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-hover), var(--color-accent));
  opacity: 0.5;
}

.team__left {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.team__avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-hover));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 2px;
  box-shadow: 0 8px 32px rgba(43, 116, 184, 0.25);
}

.team__name {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.3px;
}

.team__title {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-accent);
  letter-spacing: 0.3px;
}

.team__right {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.team__bio {
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text-muted);
}

.team__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.team__tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border: 1px solid rgba(43, 116, 184, 0.2);
  background: rgba(43, 116, 184, 0.06);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--color-accent);
}

/* ============================================
   SECTION: FAQ Accordion
   ============================================ */

.section--faq {
  background: var(--color-bg-alt);
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.faq__item {
  border-bottom: 1px solid var(--color-border);
}

.faq__item:last-child {
  border-bottom: none;
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 32px;
  background: var(--color-bg-card);
  border: none;
  cursor: pointer;
  font-family: var(--font-base);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  text-align: left;
  letter-spacing: -0.2px;
  transition: background var(--transition), color var(--transition);
}

.faq__question:hover {
  background: var(--color-accent-glow);
  color: var(--color-accent);
}

.faq__question[aria-expanded="true"] {
  background: var(--color-accent-glow);
  color: var(--color-accent);
}

.faq__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  flex-shrink: 0;
  position: relative;
  transition: all var(--transition);
  background: var(--color-bg);
}

.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  background: var(--color-text-muted);
  border-radius: 2px;
  transition: all var(--transition);
}

.faq__icon::before {
  width: 12px;
  height: 1.5px;
}

.faq__icon::after {
  width: 1.5px;
  height: 12px;
  transition: transform var(--transition), opacity var(--transition);
}

.faq__question[aria-expanded="true"] .faq__icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq__question[aria-expanded="true"] .faq__icon {
  border-color: var(--color-accent);
  background: var(--color-accent);
}

.faq__question[aria-expanded="true"] .faq__icon::before,
.faq__question[aria-expanded="true"] .faq__icon::after {
  background: #fff;
}

.faq__answer {
  padding: 0 32px 28px;
  background: var(--color-bg-card);
  overflow: hidden;
}

.faq__answer:not([hidden]) {
  display: block;
  animation: faqExpand 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes faqExpand {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.faq__answer p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-border-light);
  padding-top: 20px;
}

/* ============================================
   SECTION: Blog / Insights
   ============================================ */

.section--insights {
  background: var(--color-bg);
}

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

.insight-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.insight-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.insight-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.insight-card:hover::before {
  opacity: 1;
}

.insight-card__tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 4px 12px;
  border: 1px solid rgba(43, 116, 184, 0.25);
  background: rgba(43, 116, 184, 0.06);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-accent);
}

.insight-card__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.4px;
  line-height: 1.35;
}

.insight-card__excerpt {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text-muted);
  flex: 1;
}

.insight-card__link {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: none;
  margin-top: 4px;
  transition: color var(--transition), letter-spacing var(--transition);
}

.insight-card__link:hover {
  color: var(--color-accent-hover);
  letter-spacing: 0.5px;
}

/* ============================================
   Modal
   ============================================ */

.modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}

.modal[hidden] {
  display: none;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: modalFadeIn 0.25s ease;
}

.modal__container {
  position: relative;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.2);
  animation: modalSlideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  font-size: 24px;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all var(--transition);
  line-height: 1;
}

.modal__close:hover {
  background: var(--color-bg);
  color: var(--color-text);
  border-color: var(--color-accent);
}

.modal__image {
  width: 100%;
  height: 280px;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  position: relative;
}

.modal__image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, var(--color-bg-card), transparent);
}

.modal__body {
  padding: 32px 40px 40px;
}

.modal__tag {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid rgba(43, 116, 184, 0.25);
  background: rgba(43, 116, 184, 0.06);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 16px;
}

.modal__title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--color-text);
  margin-bottom: 20px;
  line-height: 1.3;
}

.modal__text {
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

.modal__text p {
  margin-bottom: 14px;
}

.modal__text p:last-child {
  margin-bottom: 0;
}

.modal__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.modal__meta-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border: 1px solid var(--color-border);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  color: var(--color-text-muted);
}

.modal__cta {
  display: inline-flex;
}

/* Clickable card cursor */
[data-modal] {
  cursor: pointer;
}

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

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 768px) {
  .modal { padding: 16px; }
  .modal__container { max-height: 95vh; }
  .modal__image { height: 200px; }
  .modal__body { padding: 24px 24px 32px; }
  .modal__title { font-size: 22px; }
}

/* ============================================
   Responsive: New Sections
   ============================================ */

@media (max-width: 1024px) {
  .acronym__row { flex-wrap: wrap; }
  .acronym__item { flex: 1 1 calc(50% - 1px); }
  .acronym__divider:nth-child(4) { display: none; }

  .figures__row { flex-wrap: wrap; }
  .figure { flex: 1 1 calc(50% - 40px); }
  .figure__sep { display: none; }

  .cases__grid { grid-template-columns: 1fr 1fr; }
  .cases__grid .case-card:last-child { grid-column: span 2; }

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

  .testimonials__grid { grid-template-columns: 1fr 1fr; }
  .testimonials__grid .testimonial:last-child { grid-column: span 2; }

  .insights__grid { grid-template-columns: 1fr 1fr; }
  .insights__grid .insight-card:last-child { grid-column: span 2; }
}

@media (max-width: 768px) {
  .section--acronym { padding: 48px 0; }
  .acronym__row { flex-direction: column; gap: 0; }
  .acronym__item { padding: 24px 20px; flex: none; }
  .acronym__divider { display: none; }

  .figures__row { flex-direction: column; gap: 0; }
  .figure { width: 100%; padding: 24px; flex: none; border-bottom: 1px solid var(--color-border); }
  .figure:last-child { border-bottom: none; }
  .figure__sep { display: none; }

  .cases__grid { grid-template-columns: 1fr; }
  .cases__grid .case-card:last-child { grid-column: span 1; }

  .stack__layer { flex-direction: column; align-items: flex-start; gap: 12px; padding: 20px 20px 20px 32px; }
  .stack__layer-meta { flex-direction: row; gap: 10px; align-items: center; min-width: auto; }

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

  .testimonials__grid { grid-template-columns: 1fr; }
  .testimonials__grid .testimonial:last-child { grid-column: span 1; }

  .team__profile {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px 28px;
  }

  .faq__question { padding: 20px 24px; font-size: 15px; }
  .faq__answer { padding: 0 24px 24px; }

  .insights__grid { grid-template-columns: 1fr; }
  .insights__grid .insight-card:last-child { grid-column: span 1; }
}

@media (max-width: 480px) {
  .industries__grid { grid-template-columns: 1fr; }
  .partners__row { gap: 8px; }
  .partner__badge { padding: 8px 16px; font-size: 13px; }
}

/* ============================================
   Chat Widget
   ============================================ */

.chat-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  font-family: var(--font-body);
}

.chat-widget__toggle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(43, 116, 184, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}

.chat-widget__toggle:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(43, 116, 184, 0.5);
}

.chat-widget__toggle svg {
  width: 24px;
  height: 24px;
}

.chat-widget__icon-close {
  display: none;
}

.chat-widget.is-open .chat-widget__icon-open {
  display: none;
}

.chat-widget.is-open .chat-widget__icon-close {
  display: block;
}

.chat-widget__panel {
  position: absolute;
  bottom: 72px;
  right: 0;
  width: 380px;
  max-height: 70vh;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
  display: none;
  flex-direction: column;
  overflow: hidden;
}

.chat-widget.is-open .chat-widget__panel {
  display: flex;
  animation: chatSlideUp 0.25s ease-out;
}

@keyframes chatSlideUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chat-widget__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--color-accent);
  color: #fff;
}

.chat-widget__header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-widget__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-widget__avatar svg {
  width: 20px;
  height: 20px;
}

.chat-widget__name {
  font-weight: 600;
  font-size: 0.95rem;
}

.chat-widget__status {
  font-size: 0.75rem;
  opacity: 0.8;
}

.chat-widget__close {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0 4px;
  opacity: 0.8;
  transition: opacity 0.15s;
}

.chat-widget__close:hover {
  opacity: 1;
}

.chat-widget__messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 300px;
  max-height: calc(70vh - 160px);
  scroll-behavior: smooth;
}

.chat-msg {
  display: flex;
  max-width: 85%;
}

.chat-msg--bot {
  align-self: flex-start;
}

.chat-msg--user {
  align-self: flex-end;
}

.chat-msg__bubble {
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.875rem;
  line-height: 1.5;
  word-wrap: break-word;
}

.chat-msg--bot .chat-msg__bubble {
  background: var(--color-bg-alt, #f5f7fa);
  color: var(--color-text, #1a1a2e);
  border-bottom-left-radius: 4px;
}

.chat-msg--user .chat-msg__bubble {
  background: var(--color-accent);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.chat-msg__bubble p {
  margin: 0 0 8px 0;
}

.chat-msg__bubble p:last-child {
  margin-bottom: 0;
}

.chat-msg__bubble strong {
  font-weight: 600;
}

.chat-msg__bubble ul,
.chat-msg__bubble ol {
  margin: 4px 0;
  padding-left: 20px;
}

.chat-msg__bubble li {
  margin-bottom: 2px;
}

.chat-msg__bubble code {
  background: rgba(0, 0, 0, 0.06);
  padding: 1px 4px;
  border-radius: 3px;
  font-size: 0.85em;
}

.chat-msg__bubble pre {
  background: rgba(0, 0, 0, 0.06);
  padding: 8px 10px;
  border-radius: 6px;
  overflow-x: auto;
  margin: 6px 0;
}

.chat-msg__bubble pre code {
  background: none;
  padding: 0;
}

.chat-msg__bubble h4,
.chat-msg__bubble h5,
.chat-msg__bubble h6 {
  font-weight: 600;
  margin: 8px 0 4px 0;
}

.chat-msg__bubble a {
  color: var(--color-accent);
  text-decoration: underline;
}

.chat-msg--typing .chat-msg__bubble {
  display: flex;
  gap: 4px;
  padding: 14px 18px;
}

.chat-msg__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  opacity: 0.4;
  animation: chatTyping 1.2s infinite;
}

.chat-msg__dot:nth-child(2) {
  animation-delay: 0.2s;
}

.chat-msg__dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes chatTyping {
  0%, 60%, 100% { opacity: 0.4; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-4px); }
}

.chat-widget__input {
  display: flex;
  padding: 12px 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  gap: 8px;
  background: #fff;
}

.chat-widget__field {
  flex: 1;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.875rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.15s;
}

.chat-widget__field:focus {
  border-color: var(--color-accent);
}

.chat-widget__send {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--color-accent);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.15s;
}

.chat-widget__send:hover {
  opacity: 0.9;
}

.chat-widget__send:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.chat-widget__send svg {
  width: 18px;
  height: 18px;
}

/* Chat widget responsive */
@media (max-width: 768px) {
  .chat-widget {
    bottom: 16px;
    right: 16px;
  }

  .chat-widget__toggle {
    width: 48px;
    height: 48px;
  }

  .chat-widget__toggle svg {
    width: 20px;
    height: 20px;
  }

  .chat-widget__panel {
    position: fixed;
    bottom: 76px;
    right: 16px;
    left: 16px;
    width: auto;
    max-height: 60vh;
    border-radius: 12px;
  }

  .chat-widget__messages {
    min-height: 200px;
    max-height: calc(60vh - 140px);
  }
}

@media (max-width: 400px) {
  .chat-widget__panel {
    bottom: 72px;
    right: 8px;
    left: 8px;
    max-height: 55vh;
  }

  .chat-widget__messages {
    max-height: calc(55vh - 140px);
  }
}

/* ============================================
   Language Switcher
   ============================================ */

.lang-select,
.nav__lang-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: transparent;
  border: 1px solid rgba(43, 116, 184, 0.3);
  border-radius: 4px;
  color: rgba(43, 116, 184, 0.85);
  font-family: 'Inter', 'Noto Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 4px 22px 4px 8px;
  margin-left: 12px;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s ease, color 0.2s ease;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='rgba(43,116,184,0.5)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 6px center;
  background-size: 10px 6px;
}

.lang-select:hover,
.lang-select:focus,
.nav__lang-select:hover,
.nav__lang-select:focus {
  border-color: #2B74B8;
  color: #2B74B8;
}

.lang-select option,
.nav__lang-select option {
  background: #fff;
  color: #1a1a2e;
  font-size: 0.8rem;
}

.nav--scrolled .lang-select,
.nav--scrolled .nav__lang-select {
  border-color: rgba(43, 116, 184, 0.3);
  color: rgba(43, 116, 184, 0.85);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='rgba(43,116,184,0.5)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.nav--scrolled .lang-select:hover,
.nav--scrolled .lang-select:focus,
.nav--scrolled .nav__lang-select:hover,
.nav--scrolled .nav__lang-select:focus {
  border-color: #2B74B8;
  color: #2B74B8;
}

.nav--scrolled .lang-select option,
.nav--scrolled .nav__lang-select option {
  background: #fff;
  color: #1a1a2e;
}

.footer__tagline {
  white-space: pre-line;
}

@media (max-width: 768px) {
  .lang-select,
  .nav__lang-select {
    margin-left: 0;
    margin-top: 0;
    font-size: 0.75rem;
    padding: 5px 24px 5px 10px;
  }
}

/* ============================================
   Accessibility: Reduced Motion
   ============================================ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero-anim {
    opacity: 1;
    transform: none;
  }

  .fade-in {
    opacity: 1;
    transform: none;
  }

  .ticker__track {
    animation: none;
  }

  .scroll-progress {
    transition: none;
  }

  body.body--loading {
    opacity: 1;
  }

  .banner img {
    height: 100%;
  }

  .hero__image {
    transform: none !important;
  }
}

/* ============================================
   RTL Support (Arabic, Urdu)
   ============================================ */

.rtl {
  direction: rtl;
  text-align: right;
}

.rtl .nav__container {
  flex-direction: row-reverse;
}

.rtl .nav__menu {
  flex-direction: row-reverse;
}

.rtl .nav__logo {
  flex-direction: row-reverse;
}

.rtl .container {
  text-align: right;
}

.rtl .section__label {
  text-align: right;
}

.rtl .hero__content {
  text-align: right;
}

.rtl .hero__buttons {
  justify-content: flex-end;
}

.rtl .contact__details {
  text-align: right;
}

.rtl .contact__item {
  flex-direction: row-reverse;
}

.rtl .footer__links {
  text-align: right;
}

.rtl .legal ul {
  padding-left: 0;
  padding-right: 20px;
}

.rtl .lang-select,
.rtl .nav__lang-select {
  margin-left: 0;
  margin-right: 8px;
}

.rtl .chat-widget {
  left: 24px;
  right: auto;
}

.rtl .form__group {
  text-align: right;
}

.rtl .service-card,
.rtl .case-card,
.rtl .approach__card,
.rtl .industry-card {
  text-align: right;
}

/* ============================================
   Dark Mode Toggle
   ============================================ */

.theme-toggle {
  background: none;
  border: 1px solid rgba(43, 116, 184, 0.3);
  border-radius: var(--radius);
  cursor: pointer;
  padding: 6px 10px;
  font-size: 16px;
  line-height: 1;
  color: var(--color-text-muted);
  transition: border-color var(--transition), color var(--transition), background var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
}

.theme-toggle:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.theme-toggle__icon--dark,
[data-theme="dark"] .theme-toggle__icon--light {
  display: none;
}

[data-theme="dark"] .theme-toggle__icon--dark {
  display: inline;
}

/* ============================================
   Dark Mode Overrides
   ============================================ */

[data-theme="dark"] .nav--scrolled {
  background: rgba(15, 20, 25, 0.95);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .hero__bg {
  background:
    linear-gradient(to bottom, rgba(15,20,25,0.6) 0%, rgba(15,20,25,0.4) 50%, rgba(15,20,25,0.95) 100%),
    radial-gradient(ellipse at 20% 50%, rgba(77, 163, 232, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(77, 163, 232, 0.06) 0%, transparent 50%);
}

[data-theme="dark"] .hero__image {
  opacity: 0.08;
  filter: brightness(0.8) saturate(0.4);
}

[data-theme="dark"] .hero__canvas {
  opacity: 1;
}

[data-theme="dark"] .nav__logo-text {
  color: var(--color-text);
}

[data-theme="dark"] .nav__link {
  color: var(--color-text-muted);
}

[data-theme="dark"] .nav__link:hover {
  color: var(--color-text);
}

[data-theme="dark"] .footer {
  background: #0a0f14;
}

[data-theme="dark"] .modal__content {
  background: var(--color-bg-card);
}

[data-theme="dark"] .chat-widget__messages {
  background: var(--color-bg);
}

[data-theme="dark"] .chat-widget__header {
  background: var(--color-bg-card);
}

[data-theme="dark"] .chat-widget__input {
  background: var(--color-bg-card);
  border-top-color: var(--color-border);
}

[data-theme="dark"] .chat-widget__field {
  background: var(--color-bg);
  color: var(--color-text);
}

[data-theme="dark"] .chat-bubble--bot {
  background: var(--color-bg-card);
  color: var(--color-text);
}

[data-theme="dark"] .lang-select,
[data-theme="dark"] .nav__lang-select {
  border-color: rgba(77, 163, 232, 0.3);
  color: rgba(77, 163, 232, 0.85);
  background-color: transparent;
}

[data-theme="dark"] .lang-select option,
[data-theme="dark"] .nav__lang-select option {
  background: var(--color-bg-card);
  color: var(--color-text);
}

[data-theme="dark"] .nav--scrolled .lang-select,
[data-theme="dark"] .nav--scrolled .nav__lang-select {
  border-color: rgba(77, 163, 232, 0.3);
  color: rgba(77, 163, 232, 0.85);
}

[data-theme="dark"] .nav--scrolled .lang-select option,
[data-theme="dark"] .nav--scrolled .nav__lang-select option {
  background: var(--color-bg-card);
  color: var(--color-text);
}

[data-theme="dark"] .btn--outline {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

[data-theme="dark"] .btn--outline:hover {
  background: var(--color-accent);
  color: #fff;
}

[data-theme="dark"] .service-card,
[data-theme="dark"] .case-card,
[data-theme="dark"] .approach__card,
[data-theme="dark"] .industry-card,
[data-theme="dark"] .insight-card {
  background: var(--color-bg-card);
  border-color: var(--color-border);
}

[data-theme="dark"] .service-card:hover,
[data-theme="dark"] .case-card:hover,
[data-theme="dark"] .approach__card:hover,
[data-theme="dark"] .industry-card:hover,
[data-theme="dark"] .insight-card:hover {
  background: var(--color-bg-card-hover);
}

[data-theme="dark"] .contact__form input,
[data-theme="dark"] .contact__form select,
[data-theme="dark"] .contact__form textarea {
  background: var(--color-bg-card);
  border-color: var(--color-border);
  color: var(--color-text);
}

[data-theme="dark"] .contact__form input:focus,
[data-theme="dark"] .contact__form select:focus,
[data-theme="dark"] .contact__form textarea:focus {
  border-color: var(--color-accent);
}

[data-theme="dark"] .ticker__item {
  color: var(--color-text-dim);
}

[data-theme="dark"] .testimonial {
  background: var(--color-bg-card);
}

[data-theme="dark"] .stack__layer {
  background: var(--color-bg-card);
  border-color: var(--color-border);
}

[data-theme="dark"] .theme-toggle {
  border-color: rgba(77, 163, 232, 0.3);
  color: var(--color-text-muted);
}

[data-theme="dark"] .theme-toggle:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

[data-theme="dark"] .chat-widget__panel {
  background: var(--color-bg);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .chat-widget__input-wrap {
  background: var(--color-bg-card);
  border-top-color: var(--color-border);
}

[data-theme="dark"] .chat-widget__fab {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .faq__question {
  color: var(--color-text);
}

[data-theme="dark"] .faq__answer {
  color: var(--color-text-muted);
}

[data-theme="dark"] .section--services::before,
[data-theme="dark"] .section--expertise::before,
[data-theme="dark"] .section--cases::before,
[data-theme="dark"] .section--contact::before {
  opacity: 0.3;
}

[data-theme="dark"] .partner-logo {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--color-border);
}

[data-theme="dark"] .partner-logo img {
  filter: brightness(0.8) invert(0.85);
}

[data-theme="dark"] .banner {
  background: var(--color-bg-alt);
}

[data-theme="dark"] .modal__backdrop {
  background: rgba(0, 0, 0, 0.7);
}

[data-theme="dark"] .modal__body {
  background: var(--color-bg);
}

[data-theme="dark"] .modal__close {
  color: var(--color-text-muted);
}

[data-theme="dark"] .scroll-progress {
  background: var(--color-accent);
}
