/* ===== DECA Sales – Complete Stylesheet ===== */

/* Aptos font with recommended fallback chain */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap");

:root {
  --navy: #0a1c2e;
  --navy-light: #132d47;
  --white: #ffffff;
  --orange: #ff6b35;
  --orange-hover: #e85a26;
  --light-bg: #f7f9fc;
  --anthracite: #1f1f1f;
  --text-secondary: #4a5568;
  --border-light: rgba(10, 28, 46, 0.08);
  --shadow-sm: 0 2px 8px rgba(10, 28, 46, 0.06);
  --shadow-md: 0 8px 24px rgba(10, 28, 46, 0.08);
  --shadow-lg: 0 16px 48px rgba(10, 28, 46, 0.10);
  --shadow-card: 0 4px 16px rgba(10, 28, 46, 0.06);
  --max-width: 1180px;
  --radius: 16px;
  --radius-sm: 10px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ===== Base & Marble Background ===== */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Aptos', 'Segoe UI', 'Inter', Arial, sans-serif;
  color: var(--anthracite);
  line-height: 1.65;
  font-size: 16px;
  /* Italian marble background – extrem subtil (5-8% Opazität) */
  background-color: #fafcff;
  background-image:
    /* Fine veining lines – very subtle */
    linear-gradient(125deg, transparent 38%, rgba(186, 212, 242, 0.03) 38.5%, rgba(186, 212, 242, 0.05) 39.5%, transparent 40%),
    linear-gradient(235deg, transparent 52%, rgba(176, 204, 238, 0.025) 52.5%, rgba(176, 204, 238, 0.04) 53.5%, transparent 54%),
    linear-gradient(345deg, transparent 44%, rgba(192, 218, 245, 0.02) 44.5%, rgba(192, 218, 245, 0.035) 45.5%, transparent 46%),
    linear-gradient(75deg, transparent 60%, rgba(180, 210, 240, 0.025) 60.5%, rgba(180, 210, 240, 0.04) 61.5%, transparent 62%),
    /* Soft cloudy marble texture – barely visible */
    radial-gradient(ellipse at 15% 25%, rgba(186, 212, 242, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 15%, rgba(176, 204, 238, 0.04) 0%, transparent 45%),
    radial-gradient(ellipse at 50% 65%, rgba(192, 218, 248, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 75% 45%, rgba(180, 210, 240, 0.035) 0%, transparent 40%),
    radial-gradient(ellipse at 20% 75%, rgba(195, 222, 250, 0.04) 0%, transparent 45%),
    radial-gradient(ellipse at 60% 90%, rgba(188, 215, 245, 0.035) 0%, transparent 40%);
  background-attachment: fixed;
  min-height: 100vh;
}

.skip-link {
  position: fixed;
  top: -48px;
  left: 14px;
  z-index: 1001;
  background: var(--navy);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.88rem;
  transition: top var(--transition);
}

.skip-link:focus {
  top: 12px;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5 {
  font-family: 'Aptos', 'Segoe UI', 'Inter', Arial, sans-serif;
  color: var(--navy);
  line-height: 1.2;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.2rem, 3.5vw, 3.4rem);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.7rem, 2.4vw, 2.4rem);
  font-weight: 600;
  margin-bottom: 16px;
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
}

h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

p {
  margin-bottom: 14px;
  color: var(--text-secondary);
}

/* ===== Layout ===== */
.container {
  width: min(92%, var(--max-width));
  margin: 0 auto;
}

.section {
  padding: 80px 0;
  position: relative;
}

.section.light {
  background: rgba(247, 249, 252, 0.85);
  backdrop-filter: blur(1px);
}

.section.dark {
  background: var(--navy);
}

.section.dark h2,
.section.dark h3,
.section.dark p {
  color: var(--white);
}

/* ===== Eyebrow / Label ===== */
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  color: var(--orange);
  font-weight: 600;
  margin-bottom: 12px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: 'Aptos', 'Segoe UI', 'Inter', Arial, sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn.primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}

.btn.primary:hover {
  background: var(--orange-hover);
  border-color: var(--orange-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.btn.secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn.secondary:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-1px);
}

.btn.white {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.btn.white:hover {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

/* ===== Navigation ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow var(--transition), background var(--transition);
}

.nav.nav-scrolled {
  box-shadow: 0 8px 26px rgba(10, 28, 46, 0.12);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo img {
  height: 44px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 0.9rem;
  font-weight: 500;
  align-items: center;
}

.nav-links a {
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: all var(--transition);
  color: var(--text-secondary);
}

.nav-links a.active,
.nav-links a:hover {
  border-color: var(--orange);
  color: var(--navy);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid var(--border-light);
  border-radius: 999px;
  padding: 3px;
  background: rgba(255, 255, 255, 0.92);
}

.lang-switch a {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-secondary);
  border-radius: 999px;
  padding: 4px 10px;
  border-bottom: 0;
}

.lang-switch a.active,
.lang-switch a:hover {
  color: var(--white);
  background: var(--navy);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  min-width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid var(--border-light);
  background: var(--white);
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: all var(--transition);
}

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

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 1002;
  background: linear-gradient(90deg, var(--orange), #ff956f);
  box-shadow: 0 0 10px rgba(255, 107, 53, 0.45);
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-size: 1.05rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 95;
  box-shadow: 0 10px 24px rgba(10, 28, 46, 0.28);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity var(--transition), transform var(--transition), background var(--transition);
}

.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--orange);
}

/* Hamburger menu */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  padding: 0;
  min-height: 540px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 28, 46, 0.85) 0%,
    rgba(10, 28, 46, 0.70) 50%,
    rgba(10, 28, 46, 0.55) 100%
  );
}

.hero .container {
  position: relative;
  z-index: 1;
  padding: 100px 0 80px;
}

.hero h1 {
  color: var(--white);
  max-width: 720px;
}

.hero p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 640px;
  font-size: 1.1rem;
  margin-bottom: 32px;
}

.hero .eyebrow {
  color: var(--orange);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Hero badges row */
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 500;
}

.hero-badge svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ===== Cards & Tiles ===== */
.card-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card-grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.card-grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: var(--white);
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-light);
  transition: all var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* Numbered service cards */
.service-card {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-light);
  transition: all var(--transition);
  position: relative;
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.service-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 107, 53, 0.1);
  color: var(--orange);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 16px;
}

/* ===== Process Chain (Horizontal Leistungen) ===== */
.process-chain {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  counter-reset: step;
  position: relative;
}

.process-chain::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 8%;
  right: 8%;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--navy));
  z-index: 0;
  border-radius: 2px;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 8px;
}

.process-step-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--orange);
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.process-step:hover .process-step-number {
  background: var(--orange);
  color: var(--white);
  transform: scale(1.1);
  box-shadow: 0 4px 16px rgba(255, 107, 53, 0.3);
}

.process-step h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  line-height: 1.3;
}

.process-step p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: 0;
}

/* ===== USP Tiles (5-column "Warum wir?" tiles) ===== */
.usp-tiles {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.usp-tile {
  background: var(--white);
  padding: 28px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-light);
  text-align: center;
  transition: all var(--transition);
}

.usp-tile:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.usp-tile-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 107, 53, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.usp-tile-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--orange);
  fill: none;
  stroke-width: 2;
}

.usp-tile h4 {
  font-size: 0.92rem;
  line-height: 1.3;
  margin-bottom: 8px;
}

.usp-tile p {
  font-size: 0.82rem;
  margin-bottom: 0;
  line-height: 1.45;
}

/* Tile cards (colored background variants) */
.tile {
  padding: 32px;
  border-radius: var(--radius);
  transition: all var(--transition);
}

.tile:hover {
  transform: translateY(-2px);
}

.tile.navy {
  background: var(--navy);
  color: var(--white);
}

.tile.navy h3,
.tile.navy p {
  color: var(--white);
}

.tile.orange {
  background: var(--orange);
  color: var(--white);
}

.tile.orange h3,
.tile.orange p {
  color: var(--white);
}

.tile.light {
  background: var(--white);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-light);
}

/* ===== USP Section (split layout) ===== */
.usp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.usp-content h2 {
  margin-bottom: 20px;
}

.usp-list {
  list-style: none;
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.usp-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 500;
  color: var(--anthracite);
}

.usp-list li::before {
  content: '';
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  background: var(--orange);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center/contain no-repeat;
}

.usp-card {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 40px;
  color: var(--white);
}

.usp-card h3 {
  color: var(--white);
}

.usp-card p {
  color: rgba(255, 255, 255, 0.8);
}

.usp-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.usp-stat {
  text-align: center;
}

.usp-stat .stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 2px;
}

.usp-stat .stat-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
}

/* ===== Split Layout ===== */
.split {
  display: grid;
  gap: 40px;
  align-items: center;
  grid-template-columns: 1fr 1fr;
}

/* ===== Founder Cards (Detailed) ===== */
.founder-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.founder-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: all var(--transition);
}

.founder-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.founder-header {
  background: var(--navy);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.founder-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
}

.founder-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder-header-info h3 {
  color: var(--white);
  margin-bottom: 4px;
  font-size: 1.15rem;
}

.founder-header .founder-header-info h3,
.founder-header .founder-role {
  color: #ffffff !important;
}

.founder-role {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--orange);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.founder-body {
  padding: 28px 32px;
}

.founder-body p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.founder-section-title {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--navy);
  margin: 20px 0 10px;
}

.founder-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.founder-tag {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(10, 28, 46, 0.06);
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 500;
}

.founder-card .founder-tag {
  color: #0a1c2e !important;
}

.founder-projects {
  list-style: none;
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.founder-projects li {
  position: relative;
  padding-left: 18px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.founder-projects li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
}

/* ===== Organization Section ===== */
.org-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.org-stat {
  text-align: center;
  padding: 28px 16px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-light);
}

.org-stat-number {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 8px;
}

.org-stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.org-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.org-detail-card {
  background: var(--white);
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-light);
}

.org-detail-card h4 {
  margin-bottom: 12px;
  color: var(--navy);
}

/* ===== Org Chart (Hub-Spoke Visual) ===== */
.org-chart {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin: 48px 0;
}

.org-chart-hub {
  background: var(--navy);
  color: var(--white);
  padding: 24px 48px;
  border-radius: var(--radius);
  text-align: center;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 2;
}

.org-chart-hub small {
  display: block;
  font-weight: 400;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  margin-top: 4px;
}

.org-chart-connector {
  width: 3px;
  height: 32px;
  background: var(--navy);
}

.org-chart-modules {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  width: 100%;
  position: relative;
}

.org-chart-modules::before {
  content: '';
  position: absolute;
  top: 0;
  left: 12.5%;
  right: 12.5%;
  height: 3px;
  background: var(--navy);
}

.org-chart-module {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.org-chart-module-line {
  width: 3px;
  height: 24px;
  background: var(--navy);
}

.org-chart-module-card {
  background: var(--white);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 16px 12px;
  width: 100%;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.org-chart-module-card:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.org-chart-module-card h5 {
  font-size: 0.85rem;
  margin-bottom: 4px;
}

.org-chart-module-card p {
  font-size: 0.75rem;
  margin-bottom: 0;
  line-height: 1.4;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(10, 28, 46, 0.06);
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 500;
}

/* ===== Target Customer / Zielkunden ===== */
.target-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.target-card {
  background: var(--white);
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-light);
  text-align: center;
  transition: all var(--transition);
}

.target-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.target-icon {
  font-size: 2rem;
  margin-bottom: 12px;
  display: block;
}

.target-card h4 {
  margin-bottom: 8px;
}

.target-card p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* ===== References Section ===== */
.ref-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

.ref-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
  transition: all var(--transition);
}

.ref-badge:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

/* ===== CTA Section ===== */
.cta {
  background: var(--navy);
  color: var(--white);
  padding: 52px;
  border-radius: 20px;
  display: grid;
  gap: 16px;
}

.cta h3,
.cta p {
  color: var(--white);
}

.cta p {
  color: rgba(255, 255, 255, 0.8);
}

/* ===== Section Header (centered) ===== */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
}

.section-header p {
  font-size: 1.05rem;
}

/* ===== List Styles ===== */
.list {
  list-style: none;
  display: grid;
  gap: 12px;
}

.list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-secondary);
}

.list li::before {
  content: '';
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--orange);
}

/* ===== Badge ===== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 107, 53, 0.1);
  color: var(--navy);
  font-weight: 600;
  font-size: 0.85rem;
}

/* ===== Contact Section ===== */
.contact-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr 1fr;
}

.contact-info-cards {
  display: grid;
  gap: 20px;
}

form {
  display: grid;
  gap: 16px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

input,
textarea,
select {
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(10, 28, 46, 0.12);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color var(--transition);
  background: var(--white);
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.note {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ===== Footer ===== */
.footer {
  padding: 36px 0;
  border-top: 1px solid var(--border-light);
  background: rgba(255, 255, 255, 0.9);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--orange);
}

/* ===== Placeholder ===== */
.placeholder {
  background: linear-gradient(135deg, rgba(10, 28, 46, 0.06), rgba(10, 28, 46, 0.02));
  border-radius: var(--radius);
  min-height: 180px;
  display: grid;
  place-items: center;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.9rem;
}

/* ===== Interim Project Cards ===== */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.project-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-light);
  padding: 32px;
  border-left: 4px solid var(--orange);
  transition: all var(--transition);
}

.project-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.project-card h4 {
  margin-bottom: 12px;
  color: var(--navy);
}

.project-card p {
  font-size: 0.93rem;
}

.result-metric {
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 107, 53, 0.3);
  background: rgba(255, 107, 53, 0.08);
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 600;
}

.industry-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.plan-3090-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.plan-phase-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 26px;
  transition: all var(--transition);
}

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

.plan-phase-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 107, 53, 0.12);
  color: var(--orange);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}

.plan-phase-card h4 {
  margin-bottom: 8px;
}

.plan-phase-card p {
  margin-bottom: 0;
}

/* ===== Mission Tiles ===== */
.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.mission-tile {
  padding: 32px;
  border-radius: var(--radius);
  transition: all var(--transition);
}

.mission-tile:hover {
  transform: translateY(-2px);
}

.mission-tile.bg-navy {
  background: var(--navy);
}

.mission-tile.bg-navy h3,
.mission-tile.bg-navy p {
  color: var(--white);
}

.mission-tile.bg-navy p {
  color: rgba(255, 255, 255, 0.8);
}

.mission-tile.bg-orange {
  background: var(--orange);
}

.mission-tile.bg-orange h3,
.mission-tile.bg-orange p {
  color: var(--white);
}

.mission-tile.bg-white {
  background: var(--white);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-light);
}

/* ===== Text utilities ===== */
.text-center {
  text-align: center;
}

.text-white {
  color: var(--white) !important;
}

.mb-0 {
  margin-bottom: 0;
}

.mt-24 {
  margin-top: 24px;
}

.mt-40 {
  margin-top: 40px;
}

.mb-48 {
  margin-bottom: 48px;
}

/* ===== Responsive Design ===== */
@media (max-width: 1080px) {
  .process-chain {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px 0;
  }

  .process-chain::before {
    display: none;
  }

  .usp-tiles {
    grid-template-columns: repeat(3, 1fr);
  }

  .org-chart-modules {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .org-chart-modules::before {
    display: none;
  }

  .org-chart-module-line {
    display: none;
  }
}

@media (max-width: 960px) {
  .split {
    grid-template-columns: 1fr;
  }

  .usp-grid {
    grid-template-columns: 1fr;
  }

  .founder-grid {
    grid-template-columns: 1fr;
  }

  .org-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .org-details {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .card-grid.cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-grid.cols-2 {
    grid-template-columns: 1fr;
  }

  .mission-grid {
    grid-template-columns: 1fr;
  }

  .usp-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .usp-tiles {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .nav-inner {
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
  }

  .lang-switch {
    order: 1;
    margin-left: auto;
    width: 84px;
    height: 42px;
    padding: 3px;
    justify-content: space-between;
  }

  .lang-switch a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 34px;
    padding: 0 8px;
    font-size: 0.9rem;
  }

  .theme-toggle {
    order: 1;
    margin-left: 8px;
    width: 42px;
    min-width: 42px;
    height: 42px;
    padding: 0;
    font-size: 1rem;
  }

  .nav-toggle {
    display: flex;
    order: 2;
    margin-left: 8px;
    width: 84px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-light);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
    padding: 0;
  }

  .nav-toggle span {
    width: 20px;
    height: 2.5px;
    border-radius: 3px;
  }

  .nav-links {
    display: none;
    width: 100%;
    order: 3;
    flex-direction: column;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--border-light);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 8px 0;
  }

  .hero {
    min-height: 420px;
  }

  .hero .container {
    padding: 80px 0 60px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 320px;
  }

  .hero-badges {
    flex-direction: column;
    gap: 8px;
  }

  .section {
    padding: 56px 0;
  }

  .cta {
    padding: 36px 24px;
  }

  .card-grid.cols-3 {
    grid-template-columns: 1fr;
  }

  .org-stats {
    grid-template-columns: 1fr 1fr;
  }

  .founder-header {
    flex-direction: column;
    text-align: center;
  }

  .founder-body {
    padding: 24px;
  }

  .process-chain {
    grid-template-columns: repeat(2, 1fr);
  }

  .plan-3090-grid {
    grid-template-columns: 1fr;
  }

  .usp-tiles {
    grid-template-columns: 1fr;
  }

  .org-chart-modules {
    grid-template-columns: 1fr;
  }

  .form-row-2 {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 1.9rem;
  }
}

@media (max-width: 480px) {
  .org-stats {
    grid-template-columns: 1fr;
  }

  .target-grid {
    grid-template-columns: 1fr;
  }

  .process-chain {
    grid-template-columns: 1fr;
  }

  .plan-phase-card {
    padding: 22px;
  }
}

/* ===== Dark Mode ===== */
@media (prefers-color-scheme: dark) {
  body {
    color: #e6edf7;
    background-color: #0b1320;
    background-image:
      linear-gradient(125deg, transparent 38%, rgba(125, 151, 184, 0.06) 38.5%, rgba(125, 151, 184, 0.1) 39.5%, transparent 40%),
      linear-gradient(235deg, transparent 52%, rgba(116, 143, 176, 0.05) 52.5%, rgba(116, 143, 176, 0.08) 53.5%, transparent 54%),
      radial-gradient(ellipse at 15% 25%, rgba(90, 125, 168, 0.16) 0%, transparent 52%),
      radial-gradient(ellipse at 85% 15%, rgba(86, 118, 160, 0.12) 0%, transparent 48%),
      radial-gradient(ellipse at 50% 70%, rgba(98, 133, 176, 0.14) 0%, transparent 52%);
  }

  h1, h2, h3, h4, h5,
  .org-chart-hub,
  .tag,
  .founder-tag,
  .badge {
    color: #eaf1fb;
  }

  p,
  .note,
  .list li,
  .process-step p,
  .plan-phase-card p,
  .org-stat-label,
  .stat-label,
  .target-card p {
    color: #b8c7dd;
  }

  .nav {
    background: rgba(9, 16, 28, 0.92);
    border-bottom-color: rgba(255, 255, 255, 0.12);
  }

  .section.light {
    background: rgba(13, 23, 37, 0.78);
  }

  .card,
  .service-card,
  .usp-tile,
  .target-card,
  .org-stat,
  .org-detail-card,
  .ref-badge,
  .project-card,
  .plan-phase-card,
  .mission-tile.bg-white,
  .org-chart-module-card {
    background: #121d2f;
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  }

  .footer {
    background: rgba(9, 16, 28, 0.92);
    border-top-color: rgba(255, 255, 255, 0.12);
  }

  .nav-links a {
    color: #c2d0e3;
  }

  .nav-links a.active,
  .nav-links a:hover {
    color: #f3f7ff;
  }

  .lang-switch {
    background: rgba(18, 29, 47, 0.95);
    border-color: rgba(255, 255, 255, 0.18);
  }

  .lang-switch a {
    color: #c2d0e3;
  }

  .lang-switch a.active,
  .lang-switch a:hover {
    background: #f1f5fb;
    color: #0b1320;
  }

  .theme-toggle {
    background: #121d2f;
    color: #e9f0fb;
    border-color: rgba(255, 255, 255, 0.22);
  }

  .nav-toggle {
    background: #121d2f;
    border-color: rgba(255, 255, 255, 0.22);
  }

  .nav-toggle span {
    background: #d7e5f8;
  }

  .theme-toggle:hover {
    color: #ffb295;
    border-color: #ff8a57;
  }

  .result-metric {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
    color: #f0f5fd;
  }

  .tag,
  .founder-tag,
  .badge {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.12);
  }

  .org-chart-modules::before,
  .org-chart-connector,
  .org-chart-module-line {
    background: rgba(226, 236, 250, 0.65);
  }

  .hero-bg::after {
    background: linear-gradient(
      135deg,
      rgba(5, 10, 18, 0.88) 0%,
      rgba(5, 10, 18, 0.75) 50%,
      rgba(5, 10, 18, 0.62) 100%
    );
  }

  input,
  textarea,
  select {
    color: #e9f0fb;
    background: #0f1a2b;
    border-color: rgba(255, 255, 255, 0.22);
  }

  input::placeholder,
  textarea::placeholder {
    color: #92a5c0;
  }

  input:focus,
  textarea:focus {
    box-shadow: 0 0 0 3px rgba(255, 138, 87, 0.2);
  }
}

body.dark-mode {
  color: #e6edf7;
  background-color: #0b1320;
  background-image:
    linear-gradient(125deg, transparent 38%, rgba(125, 151, 184, 0.06) 38.5%, rgba(125, 151, 184, 0.1) 39.5%, transparent 40%),
    linear-gradient(235deg, transparent 52%, rgba(116, 143, 176, 0.05) 52.5%, rgba(116, 143, 176, 0.08) 53.5%, transparent 54%),
    radial-gradient(ellipse at 15% 25%, rgba(90, 125, 168, 0.16) 0%, transparent 52%),
    radial-gradient(ellipse at 85% 15%, rgba(86, 118, 160, 0.12) 0%, transparent 48%),
    radial-gradient(ellipse at 50% 70%, rgba(98, 133, 176, 0.14) 0%, transparent 52%);
}

body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5,
body.dark-mode .org-chart-hub,
body.dark-mode .tag,
body.dark-mode .founder-tag,
body.dark-mode .badge {
  color: #eaf1fb;
}

body.dark-mode p,
body.dark-mode .note,
body.dark-mode .list li,
body.dark-mode .process-step p,
body.dark-mode .org-stat-label,
body.dark-mode .stat-label,
body.dark-mode .target-card p {
  color: #b8c7dd;
}

body.dark-mode .nav {
  background: rgba(9, 16, 28, 0.92);
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

body.dark-mode .section.light {
  background: rgba(13, 23, 37, 0.78);
}

body.dark-mode .card,
body.dark-mode .service-card,
body.dark-mode .usp-tile,
body.dark-mode .target-card,
body.dark-mode .org-stat,
body.dark-mode .org-detail-card,
body.dark-mode .ref-badge,
body.dark-mode .project-card,
body.dark-mode .plan-phase-card,
body.dark-mode .mission-tile.bg-white,
body.dark-mode .org-chart-module-card {
  background: #121d2f;
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

body.dark-mode .footer {
  background: rgba(9, 16, 28, 0.92);
  border-top-color: rgba(255, 255, 255, 0.12);
}

body.dark-mode .nav-links a {
  color: #c2d0e3;
}

body.dark-mode .nav-links a.active,
body.dark-mode .nav-links a:hover {
  color: #f3f7ff;
}

body.dark-mode .process-step h4,
body.dark-mode .org-detail-card h4,
body.dark-mode .org-chart-module-card h5,
body.dark-mode .target-card h4,
body.dark-mode .ref-badge,
body.dark-mode .founder-section-title,
body.dark-mode .stat-value {
  color: #eaf1fb;
}

body.dark-mode .usp-list li,
body.dark-mode .usp-list li span,
body.dark-mode .usp-list li a {
  color: #f5f9ff !important;
}

body.dark-mode .usp-content p,
body.dark-mode .hero p,
body.dark-mode .cta p,
body.dark-mode .plan-phase-card p,
body.dark-mode .hero-badge,
body.dark-mode .footer-links,
body.dark-mode .footer-links a {
  color: #eaf1fb;
}

body.dark-mode .result-metric {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: #f0f5fd;
}

body.dark-mode .lang-switch {
  background: rgba(18, 29, 47, 0.95);
  border-color: rgba(255, 255, 255, 0.18);
}

body.dark-mode .lang-switch a {
  color: #c2d0e3;
}

body.dark-mode .lang-switch a.active,
body.dark-mode .lang-switch a:hover {
  background: #f1f5fb;
  color: #0b1320;
}

body.dark-mode .theme-toggle {
  background: #121d2f;
  color: #e9f0fb;
  border-color: rgba(255, 255, 255, 0.22);
}

body.dark-mode .theme-toggle:hover {
  color: #ffb295;
  border-color: #ff8a57;
}

body.dark-mode .nav-toggle {
  background: #121d2f;
  border-color: rgba(255, 255, 255, 0.22);
}

body.dark-mode .nav-toggle span {
  background: #d7e5f8;
}

body.dark-mode .tag,
body.dark-mode .founder-tag,
body.dark-mode .badge {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.12);
}

body.dark-mode .founder-body p {
  color: #2f3f53;
}

body.dark-mode .founder-section-title {
  color: #0a1c2e;
}

body.dark-mode .founder-tag {
  background: rgba(10, 28, 46, 0.08);
  color: #0a1c2e;
}

body.dark-mode .org-chart-modules::before,
body.dark-mode .org-chart-connector,
body.dark-mode .org-chart-module-line {
  background: rgba(226, 236, 250, 0.65);
}

body.dark-mode .hero-bg::after {
  background: linear-gradient(
    135deg,
    rgba(5, 10, 18, 0.88) 0%,
    rgba(5, 10, 18, 0.75) 50%,
    rgba(5, 10, 18, 0.62) 100%
  );
}

body.dark-mode input,
body.dark-mode textarea,
body.dark-mode select {
  color: #e9f0fb;
  background: #0f1a2b;
  border-color: rgba(255, 255, 255, 0.22);
}

body.dark-mode input::placeholder,
body.dark-mode textarea::placeholder {
  color: #92a5c0;
}

body.dark-mode input:focus,
body.dark-mode textarea:focus {
  box-shadow: 0 0 0 3px rgba(255, 138, 87, 0.2);
}

body.light-mode {
  color: var(--anthracite);
  background-color: #fafcff;
}

body.light-mode h1,
body.light-mode h2,
body.light-mode h3,
body.light-mode h4,
body.light-mode h5,
body.light-mode .process-step h4,
body.light-mode .org-detail-card h4,
body.light-mode .org-chart-module-card h5,
body.light-mode .target-card h4,
body.light-mode .ref-badge,
body.light-mode .founder-section-title,
body.light-mode .stat-value {
  color: var(--navy);
}

body.light-mode .nav {
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: var(--border-light);
}

body.light-mode .nav-links a {
  color: var(--text-secondary);
}

body.light-mode .nav-links a.active,
body.light-mode .nav-links a:hover {
  color: var(--navy);
}

body.light-mode .nav-toggle span {
  background: var(--navy);
}

body.light-mode .nav-toggle {
  background: rgba(255, 255, 255, 0.98);
  border-color: var(--border-light);
}

body.light-mode .nav-toggle span {
  background: #0a1c2e !important;
}

body.light-mode .section.light {
  background: rgba(247, 249, 252, 0.85);
}

body.light-mode .card,
body.light-mode .service-card,
body.light-mode .usp-tile,
body.light-mode .target-card,
body.light-mode .org-stat,
body.light-mode .org-detail-card,
body.light-mode .ref-badge,
body.light-mode .project-card,
body.light-mode .plan-phase-card,
body.light-mode .mission-tile.bg-white,
body.light-mode .org-chart-module-card,
body.light-mode input,
body.light-mode textarea,
body.light-mode select,
body.light-mode .theme-toggle {
  background: var(--white);
  border-color: var(--border-light);
  box-shadow: var(--shadow-card);
  color: var(--anthracite);
}

body.light-mode p,
body.light-mode .note,
body.light-mode .list li,
body.light-mode .process-step p,
body.light-mode .org-stat-label,
body.light-mode .stat-label,
body.light-mode .target-card p {
  color: var(--text-secondary);
}

body.light-mode .hero h1 {
  color: var(--white);
}

body.light-mode .hero p {
  color: rgba(255, 255, 255, 0.88);
}

body.light-mode .cta h3,
body.light-mode .cta p {
  color: #ffffff;
}

body.light-mode .usp-card h3,
body.light-mode .usp-card p,
body.light-mode .usp-card .stat-value,
body.light-mode .usp-card .stat-label {
  color: #ffffff;
}

body.light-mode .founder-card .founder-tag {
  color: #0a1c2e !important;
  background: rgba(10, 28, 46, 0.06) !important;
}

body.light-mode .org-detail-card h4 {
  color: #0a1c2e !important;
}

body.light-mode .org-detail-card .tag {
  color: #0a1c2e !important;
  background: rgba(10, 28, 46, 0.06) !important;
}

body.light-mode .badge {
  color: #0a1c2e !important;
  background: rgba(255, 107, 53, 0.1) !important;
}

body.light-mode .result-metric {
  background: rgba(255, 107, 53, 0.08) !important;
  border: 1px solid rgba(255, 107, 53, 0.3) !important;
  color: #0a1c2e !important;
}

body.dark-mode .org-detail-card h4 {
  color: #eaf1fb !important;
}

body.dark-mode .org-detail-card .tag {
  color: #eaf1fb !important;
  background: rgba(255, 255, 255, 0.1) !important;
}

body.dark-mode .badge {
  color: #eaf1fb !important;
  background: rgba(255, 255, 255, 0.1) !important;
}

body.light-mode .lang-switch {
  background: rgba(255, 255, 255, 0.92);
  border-color: var(--border-light);
}

body.light-mode .lang-switch a {
  color: var(--text-secondary);
}

body.light-mode .lang-switch a.active,
body.light-mode .lang-switch a:hover {
  color: var(--white);
  background: var(--navy);
}

body.light-mode .theme-toggle {
  background: linear-gradient(180deg, #ffffff 0%, #eef3fa 100%);
  color: #11273f;
  border-color: #d4deea;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 4px 10px rgba(10, 28, 46, 0.08);
  font-weight: 800;
}

body.light-mode .theme-toggle:hover {
  color: #0a1c2e;
  border-color: #becddd;
  background: linear-gradient(180deg, #ffffff 0%, #e6edf7 100%);
  transform: translateY(-1px);
}

body.light-mode .hero-bg::after {
  background: linear-gradient(
    135deg,
    rgba(10, 28, 46, 0.85) 0%,
    rgba(10, 28, 46, 0.70) 50%,
    rgba(10, 28, 46, 0.55) 100%
  );
}

body.light-mode input::placeholder,
body.light-mode textarea::placeholder {
  color: #7a8798;
}

.consent-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1200;
  max-width: 760px;
  margin: 0 auto;
  background: #ffffff;
  color: var(--anthracite);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: 0 14px 32px rgba(10, 28, 46, 0.18);
  padding: 16px;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.consent-banner.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.consent-banner h3 {
  margin: 0 0 6px;
  color: var(--navy);
  font-size: 1.05rem;
}

.consent-banner p {
  margin: 0;
  color: var(--text-secondary);
}

.consent-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.consent-banner .btn {
  min-height: 40px;
}

.consent-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.93rem;
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.dark-mode .consent-banner {
  background: #0f1b2e;
  color: #eaf1fb;
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.42);
}

body.dark-mode .consent-banner h3 {
  color: #f3f7fd;
}

body.dark-mode .consent-banner p,
body.dark-mode .consent-link {
  color: #d7e2f3;
}

@media (max-width: 700px) {
  .consent-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 14px;
  }

  .consent-actions .btn {
    flex: 1 1 auto;
  }
}

/* ===== Animations ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeInUp 0.6s ease forwards;
}

.reveal-up {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-up {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .back-to-top {
    transition: none;
  }
}
