/* DDC — Refboard-inspired SaaS minimalist style */

:root {
  --bg: #ffffff;
  --bg-subtle: #f8f7fc;
  --bg-muted: #f0eef8;
  --orange: #8b5cf6;
  --orange-hover: #7c3aed;
  --dark: #1e1b4b;
  --text: #4a4568;
  --text-light: #6b6588;
  --border: #e4e0f5;
  --border-light: #ece9f8;
  --white: #ffffff;
  --radius: 10px;
  --radius-sm: 8px;
  --shadow-float: 0 8px 30px rgba(0, 0, 0, 0.08);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition: 0.25s ease;
  --frame-pad: clamp(20px, 3vw, 44px);
  --pad: clamp(24px, 4vw, 48px);
  --section-y: clamp(64px, 10vh, 96px);
  --section-y-lg: clamp(80px, 12vh, 120px);
  --inset-hero: clamp(40px, 6vw, 72px) clamp(28px, 4vw, 56px);
  --inset-panel: clamp(28px, 4vw, 48px);
  --inset-card: clamp(24px, 3vw, 36px);
  --inset-compact: clamp(18px, 2vw, 24px);
  --inset-list-y: clamp(20px, 3vh, 32px);
  --inset-list-x: clamp(16px, 2vw, 24px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg-subtle);
}

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

h1, h2, h3, h4, h5, h6 {
  color: var(--dark);
  font-weight: 700;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  line-height: 1.1;
  font-weight: 800;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.2;
  margin-bottom: 12px;
}

.section-padding { padding: 80px 0; }

.lead-text {
  font-size: 16px;
  color: var(--text);
  margin-bottom: 28px;
}

.section-intro {
  margin-bottom: 48px;
  max-width: 560px;
}

.section-intro p {
  color: var(--text);
  font-size: 16px;
}

.section-rule {
  border: none;
  border-top: 1px solid var(--border-light);
  margin: 0 0 48px;
}

/* ===== PAGE FRAME ===== */
.page-frame {
  position: relative;
  min-height: 100vh;
  margin: 16px;
  background: var(--bg);
  border: 1px solid var(--border);
}

.frame-mark {
  position: fixed;
  width: 16px;
  height: 16px;
  border-color: var(--border);
  border-style: solid;
  z-index: 1000;
  pointer-events: none;
}

.frame-mark.tl { top: 16px; left: 16px; border-width: 1px 0 0 1px; }
.frame-mark.tr { top: 16px; right: 16px; border-width: 1px 1px 0 0; }
.frame-mark.bl { bottom: 16px; left: 16px; border-width: 0 0 1px 1px; }
.frame-mark.br { bottom: 16px; right: 16px; border-width: 0 1px 1px 0; }

.frame-container {
  max-width: 1140px;
  padding-left: var(--frame-pad);
  padding-right: var(--frame-pad);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--orange-hover);
  color: var(--white);
}

.btn-secondary {
  background: var(--bg-muted);
  color: var(--dark);
}

.btn-secondary:hover {
  background: rgba(139, 92, 246, 0.12);
  color: var(--dark);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 13px;
}

/* ===== HEADER ===== */
.main-header {
  padding: 20px 0;
  position: sticky;
  top: 17px;
  z-index: 900;
  background: var(--bg);
}

.main-header.scrolled {
  box-shadow: 0 1px 0 var(--border-light);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--dark);
  flex-shrink: 0;
}

.logo-icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-text {
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  letter-spacing: -0.02em;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav li {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.main-nav a {
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  color: var(--text);
}

.main-nav a:hover {
  color: var(--dark);
}

.main-nav a.active {
  color: var(--orange);
  font-weight: 600;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
}

.lang-switch__btn {
  min-width: 30px;
  min-height: 26px;
  padding: 4px 6px;
  font-family: var(--font);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--text);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.lang-switch__btn.is-active,
.lang-switch__btn:hover {
  color: var(--dark);
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
}

.lang-switch__btn:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  transition: 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 ===== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  transform-style: preserve-3d;
  transition: transform 0.2s ease-out;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(105deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.88) 28%, rgba(255, 255, 255, 0.45) 48%, rgba(255, 255, 255, 0.08) 68%, transparent 85%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, transparent 30%, transparent 75%, rgba(255, 255, 255, 0.6) 100%);
  pointer-events: none;
}

.hero-art-glow {
  position: absolute;
  left: 50%;
  top: 42%;
  width: min(480px, 40vw);
  height: min(480px, 40vw);
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(139, 92, 246, 0.14) 0%, rgba(139, 92, 246, 0.04) 45%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  animation: glowBreath 4s ease-in-out infinite;
}

.hero-illustration {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: 140px 0 80px;
  flex: 1;
  display: flex;
  align-items: center;
}

.hero-copy {
  max-width: 540px;
}

.hero-copy h1 {
  text-shadow: 0 1px 40px rgba(255, 255, 255, 0.8);
}

.hero-copy p {
  font-size: 16px;
  color: var(--text);
  margin-bottom: 36px;
  line-height: 1.75;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero > .frame-container {
  position: relative;
  z-index: 3;
}

/* Hand reach animation */
.anim-hand-left {
  transform-origin: 350px 420px;
  animation: handReachLeft 5s ease-in-out infinite;
}

.anim-hand-right {
  transform-origin: 1090px 420px;
  animation: handReachRight 5s ease-in-out infinite;
}

/* Connection lines draw + pulse */
.connect-line {
  stroke-dasharray: 500;
  stroke-dashoffset: 500;
  animation: lineDraw 1.2s ease forwards, lineGlow 3s ease-in-out infinite;
  animation-delay: var(--line-delay), calc(var(--line-delay) + 1.2s);
}

/* Hub pulse rings */
.hub-pulse-1 { animation: hubGlow 2.5s ease-in-out infinite; transform-origin: 720px 300px; }
.hub-pulse-2 { animation: hubRing 2.5s ease-out infinite; transform-origin: 720px 300px; }
.hub-pulse-3 { animation: hubRing 2.5s ease-out infinite 0.8s; transform-origin: 720px 300px; }

.anim-cursor {
  transform-origin: 720px 305px;
  animation: cursorBob 2s ease-in-out infinite;
}

.anim-sparks line {
  animation: sparkFlash 2s ease-in-out infinite;
}

.anim-sparks line:nth-child(1) { animation-delay: 0s; }
.anim-sparks line:nth-child(2) { animation-delay: 0.3s; }
.anim-sparks line:nth-child(3) { animation-delay: 0.6s; }
.anim-sparks line:nth-child(4) { animation-delay: 0.9s; }

.data-dot {
  filter: drop-shadow(0 0 4px rgba(139, 92, 246, 0.5));
}

.float-card {
  position: absolute;
  left: 18%;
  top: 42%;
  width: 220px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.06);
  z-index: 3;
}

.anim-float-card {
  animation: floatCardBob 4s ease-in-out infinite;
}

.float-card-lines {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.typing-line {
  display: block;
  height: 8px;
  background: var(--bg-muted);
  border-radius: 4px;
  transform-origin: left;
  animation: typingPulse 2.4s ease-in-out infinite;
}

.typing-line.delay-1 { animation-delay: 0.4s; }
.typing-line.delay-2 { animation-delay: 0.8s; }
.typing-line.short { width: 60%; }

.anim-send-pulse {
  animation: sendPulse 2s ease-in-out infinite;
}

.float-card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.float-card-actions button {
  width: 32px;
  height: 32px;
  border: none;
  background: var(--bg-muted);
  border-radius: 6px;
  color: var(--text);
  cursor: pointer;
  font-size: 12px;
}

.float-card-send {
  width: 32px;
  height: 32px;
  background: var(--dark);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  margin-left: auto;
}

.float-card-send:hover {
  background: var(--orange);
  color: var(--white);
}

.partner-logos {
  position: absolute;
  right: 4%;
  top: 0;
  width: 42%;
  height: 100%;
  pointer-events: none;
  z-index: 3;
}

.partner-logo {
  position: absolute;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-light);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 6px;
  backdrop-filter: blur(4px);
}

.anim-partner {
  opacity: 0;
  animation: partnerReveal 0.8s ease forwards, partnerFloat 4s ease-in-out infinite;
  animation-delay: var(--partner-delay), calc(var(--partner-delay) + 0.8s);
}

.partner-logo:nth-child(1) { top: 10%; right: 18%; }
.partner-logo:nth-child(2) { top: 18%; right: 4%; }
.partner-logo:nth-child(3) { top: 28%; right: 22%; }
.partner-logo:nth-child(4) { top: 38%; right: 6%; }
.partner-logo:nth-child(5) { top: 48%; right: 20%; }
.partner-logo:nth-child(6) { top: 58%; right: 2%; }
.partner-logo:nth-child(7) { top: 68%; right: 16%; }
.partner-logo:nth-child(8) { top: 78%; right: 8%; }

.partner-logo:nth-child(odd) { animation-duration: 0.8s, 3.5s; }
.partner-logo:nth-child(even) { animation-duration: 0.8s, 4.2s; }

/* ===== HERO KEYFRAMES ===== */
@keyframes handReachLeft {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(28px, -10px); }
}

@keyframes handReachRight {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-28px, -10px); }
}

@keyframes lineDraw {
  to { stroke-dashoffset: 0; }
}

@keyframes lineGlow {
  0%, 100% { stroke: #a89fd4; opacity: 1; }
  50% { stroke: #c4b5fd; opacity: 0.85; }
}

@keyframes hubGlow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.3); }
}

@keyframes hubRing {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(5); opacity: 0; }
}

@keyframes cursorBob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-2px, -3px) scale(1.05); }
}

@keyframes sparkFlash {
  0%, 100% { opacity: 0.55; stroke: #b8aed8; }
  50% { opacity: 1; stroke: #c4b5fd; }
}

@keyframes glowBreath {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
  50% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}

@keyframes floatCardBob {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-10px) rotate(-1deg); }
  66% { transform: translateY(-5px) rotate(0.5deg); }
}

@keyframes typingPulse {
  0%, 100% { transform: scaleX(1); opacity: 0.5; }
  50% { transform: scaleX(0.85); opacity: 1; background: #2d2850; }
}

@keyframes sendPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(139, 92, 246, 0); }
  50% { box-shadow: 0 0 0 8px rgba(139, 92, 246, 0.15); }
}

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

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

@keyframes pageGridDrift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 96px 96px, 96px 96px; }
}

@keyframes heroGridDrift {
  from { background-position: 50% 0, 50% 0; }
  to { background-position: calc(50% + 86px) 86px, calc(50% + 86px) 86px; }
}

@keyframes lineFieldScan {
  0%, 100% {
    opacity: 0.5;
    transform: translateY(0);
  }
  45% {
    opacity: 0.82;
  }
  50% {
    transform: translateY(18px);
  }
}

@keyframes dataLineSweep {
  0%, 100% {
    opacity: 0.2;
    transform: translateX(-28px) scaleX(0.94);
  }
  50% {
    opacity: 0.72;
    transform: translateX(28px) scaleX(1);
  }
}

@keyframes backgroundDiagramFloat {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(0, -12px, 0) scale(1.015);
  }
}

@keyframes pageLineField {
  0%, 100% {
    transform: translate3d(0, 0, 0);
    opacity: 0.42;
  }
  50% {
    transform: translate3d(0, 34px, 0);
    opacity: 0.76;
  }
}

@keyframes pageDataPulse {
  0% {
    background-position: 0 0, -45vw 38%, 110vw 72%;
  }
  50% {
    opacity: 0.46;
  }
  100% {
    background-position: 34px 34px, 120vw 38%, -35vw 72%;
  }
}

@keyframes sectionSignal {
  0%, 100% {
    transform: translateX(-18%) scaleX(0.82);
    opacity: 0.18;
  }
  45%, 55% {
    opacity: 0.58;
  }
  50% {
    transform: translateX(18%) scaleX(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .anim-hand-left,
  .anim-hand-right,
  .connect-line,
  .hub-pulse,
  .anim-cursor,
  .anim-sparks line,
  .anim-float-card,
  .typing-line,
  .anim-send-pulse,
  .anim-partner,
  .hero-art-glow,
  .data-particles,
  .hero-bg,
  .hero,
  body::before,
  .hero::before,
  .hero .hero-content::before,
  .hero .hero-content::after,
  .page-frame::before,
  .page-frame::after,
  .section-padding::before,
  .counter-section::before,
  .main-footer::before { animation: none !important; transition: none !important; }

  .connect-line { stroke-dashoffset: 0; }
  .anim-partner { opacity: 1; }
}

/* ===== SERVICES ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.service-card {
  background: var(--white);
  padding: var(--inset-card);
  position: relative;
  transition: var(--transition);
}

.service-card:hover {
  background: var(--bg-subtle);
}

.service-num {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-light);
}

.service-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--dark);
  margin-bottom: 20px;
}

.service-card h4 {
  font-size: 16px;
  margin-bottom: 8px;
}

.service-card p {
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 1.6;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
}

.service-link:hover {
  color: var(--orange);
}

.service-link i {
  font-size: 11px;
  transition: var(--transition);
}

.service-link:hover i {
  transform: translateX(3px);
}

/* ===== ABOUT ===== */
.about-row {
  padding-top: 48px;
}

.about-visual {
  padding: 20px;
}

.about-dots-block {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-subtle);
}

.about-dots-block svg {
  width: 100%;
  height: auto;
  display: block;
}

.check-list {
  margin-bottom: 32px;
}

.check-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
  font-size: 15px;
  color: var(--dark);
}

.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--orange);
  border-radius: 50%;
}

.inline-stats {
  display: flex;
  gap: 40px;
  margin-bottom: 8px;
}

.inline-stats strong {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
}

.inline-stats span {
  font-size: 12px;
  color: var(--text-light);
  font-weight: 600;
}

.about-section .lead-text,
.about-section .check-list li {
  color: var(--text);
}

.about-section .check-list li::before {
  background: var(--dark);
}

.team-section {
  margin-top: 68px;
}

.team-heading {
  max-width: 640px;
  margin-bottom: 28px;
}

.team-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 5px 12px;
  margin-bottom: 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--dark);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.team-heading h3 {
  margin-bottom: 10px;
  font-size: clamp(1.6rem, 3vw, 2.65rem);
  line-height: 1.05;
  color: var(--dark);
}

.team-heading p {
  max-width: 480px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.55;
}

.team-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.9fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  border-radius: 28px;
  background: var(--border-light);
  box-shadow: 0 24px 85px rgba(0, 0, 0, 0.05);
}

.team-panel {
  background:
    linear-gradient(180deg, rgba(16, 16, 26, 0.88), rgba(11, 11, 20, 0.76)),
    radial-gradient(circle at 90% 0%, rgba(139, 92, 246, 0.08), transparent 34%);
  padding: clamp(22px, 3vw, 34px);
}

.team-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}

.team-panel-head span {
  color: var(--text-light);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
}

.team-panel-head h4 {
  margin: 0;
  color: var(--dark);
  font-size: 18px;
  font-weight: 600;
  text-align: right;
}

.team-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
}

.team-list li {
  display: grid;
  grid-template-columns: minmax(180px, 0.72fr) minmax(0, 1fr);
  gap: 20px;
  padding: 17px 0;
  border-bottom: 1px solid var(--border-light);
}

.team-list li:last-child {
  border-bottom: 0;
}

.team-list strong {
  color: var(--dark);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
}

.team-list span {
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
}

/* ===== TEAM PAGE ===== */
.team-page {
  min-height: 100vh;
}

.team-hero {
  padding-top: 120px;
  padding-bottom: 0;
}

.team-hero .section-intro {
  max-width: 720px;
}

.team-hero .team-kicker {
  margin-bottom: 18px;
}

.team-leadership {
  padding-top: 48px;
  padding-bottom: 48px;
}

.leader-card {
  position: relative;
  display: flex;
  gap: 28px;
  align-items: center;
  padding: 36px 40px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background:
    radial-gradient(circle at 85% 20%, rgba(139, 92, 246, 0.08), transparent 38%),
    var(--surface);
  box-shadow: 0 24px 85px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.leader-card-sm {
  margin-bottom: 1px;
}

.leader-num {
  flex-shrink: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 600;
  color: var(--orange);
  align-self: flex-start;
  padding-top: 4px;
}

.leader-photo {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-muted);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.leader-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.leader-role {
  display: block;
  margin-bottom: 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-light);
}

.leader-card h3 {
  margin-bottom: 10px;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  line-height: 1.15;
  color: var(--dark);
}

.leader-card p {
  margin: 0;
  max-width: 640px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
}

.team-board,
.team-management {
  padding-top: 48px;
}

.team-board .section-intro .team-kicker,
.team-management .section-intro .team-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 26px;
  padding: 5px 12px;
  margin-bottom: 16px;
  font-size: 11px;
}

.team-members-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 85px rgba(0, 0, 0, 0.05);
}

.team-member-card {
  position: relative;
  min-height: 240px;
  padding: 30px 28px;
  background: var(--surface);
  transition: var(--transition);
}

.member-photo {
  width: 80px;
  height: 80px;
  margin-bottom: 18px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-muted);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-member-card:hover {
  z-index: 1;
}

.member-num {
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 600;
  color: var(--orange);
}

.member-role {
  display: block;
  margin-bottom: 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-light);
}

.team-member-card h4 {
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.3;
  color: var(--dark);
}

.team-member-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
}

.team-management .leader-card-sm {
  border-radius: 28px 28px 0 0;
  border-bottom: 0;
}

.team-management .management-grid {
  border-radius: 0 0 28px 28px;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 85px rgba(0, 0, 0, 0.05);
}

.mission-card {
  position: relative;
  min-height: 180px;
  padding: var(--inset-card);
  background: var(--surface);
  transition: var(--transition);
}

.mission-card:hover {
  background: var(--surface-hover);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.07);
}

.mission-num {
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 600;
  color: var(--orange);
}

.mission-card h4 {
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
}

.mission-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
}

/* ===== MISSION PAGE ===== */
.mission-page {
  min-height: 100vh;
}

.mission-hero {
  padding-top: 120px;
  padding-bottom: 0;
}

.mission-hero .section-intro {
  max-width: 780px;
}

.mission-statement-section {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
}

.mission-statement {
  padding: var(--inset-panel);
  border: 1px solid var(--border);
  border-radius: 28px;
  background:
    radial-gradient(circle at 15% 20%, rgba(139, 92, 246, 0.06), transparent 38%),
    var(--surface);
  box-shadow: 0 24px 85px rgba(0, 0, 0, 0.05);
}

.mission-statement h3 {
  margin-bottom: 16px;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
  color: var(--dark);
}

.mission-points {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mission-points li {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-light);
}

.mission-points li:last-child {
  border-bottom: 0;
}

.mission-num-inline {
  flex-shrink: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 600;
  color: var(--orange);
  padding-top: 2px;
}

.mission-points h6 {
  margin-bottom: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
}

.mission-points p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
}

.mission-values-section,
.mission-goals-section {
  padding-top: 48px;
}

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

.mission-grid-lg .mission-card {
  min-height: 210px;
}

.mission-quote {
  padding: 32px 28px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
}

.mission-quote p {
  margin: 0 0 16px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--dark);
}

.mission-quote span {
  font-size: 13px;
  color: var(--text-light);
  font-weight: 500;
}

.mission-cta-section {
  padding-top: 48px;
}

.mission-teaser-block {
  padding: 40px 44px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: 0 24px 85px rgba(0, 0, 0, 0.05);
}

.mission-teaser .section-intro {
  margin-bottom: 0;
}

/* ===== CONTACT MAP ===== */
.contact-map {
  border: 1px solid var(--border);
  border-radius: 28px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 24px 85px rgba(0, 0, 0, 0.05);
}

.contact-map iframe {
  display: block;
  width: 100%;
  filter: invert(0.9) hue-rotate(180deg) grayscale(0.15) contrast(0.92);
  background: #12121d;
}

.contact-map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 20px;
}

/* ===== CONTACT FORM ===== */
.contact-form {
  max-width: 760px;
  padding: 40px 44px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: 0 24px 85px rgba(0, 0, 0, 0.05);
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-form-field {
  margin-bottom: 20px;
}

.contact-form-field label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
}

.contact-form-field input,
.contact-form-field select,
.contact-form-field textarea {
  width: 100%;
  padding: 13px 16px;
  font-family: var(--font);
  font-size: 15px;
  color: var(--dark);
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 12px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  appearance: none;
}

.contact-form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23e8e8f5' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}

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

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

.contact-form-field input:focus,
.contact-form-field select:focus,
.contact-form-field textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.12);
}

.contact-form-field input.invalid,
.contact-form-field textarea.invalid {
  border-color: #ff5c5c;
  box-shadow: 0 0 0 3px rgba(201, 48, 48, 0.1);
}

.contact-form-footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.contact-form-footer .btn i {
  margin-right: 6px;
}

.contact-form-note {
  margin: 0;
  font-size: 13px;
  color: var(--text);
}

.contact-form-note.error {
  color: #ff5c5c;
}

.contact-form-note.success {
  color: #4ade80;
}

.mission-teaser .service-link {
  margin-top: 20px;
}

/* ===== COUNTERS ===== */
.counter-section {
  padding: 0 0 80px;
}

.counter-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.counter-item {
  background: var(--white);
  padding: 32px 24px;
  text-align: center;
}

.counter-num,
.counter-phone {
  font-size: 36px;
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
  letter-spacing: -0.03em;
}

.counter-extra {
  font-size: 24px;
  font-weight: 700;
  color: var(--orange);
}

.counter-phone:hover { color: var(--orange); }

.counter-item p {
  margin-top: 8px;
  font-size: 13px;
  color: var(--text);
}

.counter-item p small {
  display: block;
  font-size: 11px;
  color: var(--text-light);
  margin-top: 2px;
}

/* ===== PROCESS ===== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.process-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--inset-card);
  background: var(--white);
  transition: var(--transition);
}

.process-card:hover {
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: var(--shadow-float);
}

.process-num {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 16px;
}

.process-card h5 {
  font-size: 15px;
  margin-bottom: 8px;
}

.process-card p {
  font-size: 13px;
  margin: 0;
  line-height: 1.6;
}

/* ===== WHY ===== */
.why-block {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--inset-panel);
  background: var(--bg-subtle);
}

.why-list {
  margin-top: 8px;
}

.why-list li {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-light);
}

.why-list li:last-child { border-bottom: none; }

.why-num {
  font-size: 12px;
  font-weight: 600;
  color: var(--orange);
  flex-shrink: 0;
}

.why-list h6 {
  font-size: 15px;
  margin-bottom: 4px;
}

.why-list p {
  font-size: 14px;
  margin: 0;
}

.why-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.why-stat {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--inset-card);
  background: var(--white);
  text-align: center;
}

.why-stat:first-child {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.why-stat.highlight {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}

.why-stat strong {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
  margin-bottom: 6px;
}

.why-stat.highlight strong,
.why-stat.highlight span {
  color: var(--white);
}

.why-stat span {
  font-size: 13px;
  color: var(--text);
}

/* ===== NEWS ===== */
.news-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  background: var(--white);
  height: 100%;
  transition: var(--transition);
}

.news-card:hover {
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: var(--shadow-float);
}

.news-card-meta {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 16px;
}

.news-card-meta span:last-child {
  color: var(--orange);
  font-weight: 600;
}

.news-card h4 {
  font-size: 17px;
  line-height: 1.4;
  margin-bottom: 10px;
}

.news-card p {
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 1.6;
}

/* ===== CTA ===== */
.cta-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding: var(--inset-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-subtle);
}

.cta-block p {
  color: var(--text);
  margin: 0;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ===== FOOTER ===== */
.main-footer {
  padding-bottom: 40px;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
  padding: 48px 0;
}

.footer-brand p {
  margin-top: 16px;
  font-size: 14px;
  color: var(--text);
  max-width: 420px;
  line-height: 1.7;
}

.footer-col ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px clamp(14px, 2vw, 28px);
}

.footer-col li {
  margin-bottom: 0;
}

.footer-col h5 {
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col a {
  font-size: 14px;
  color: var(--text);
  white-space: nowrap;
}

.footer-col a:hover { color: var(--orange); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
  font-size: 12px;
  color: var(--text);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  .hero {
    min-height: 80vh;
  }

  .hero-content {
    padding: 120px 0 60px;
  }

  .hero-copy {
    max-width: none;
  }

  .float-card {
    width: 180px;
    left: 10%;
    top: 50%;
  }

  .partner-logos {
    width: 50%;
    right: 2%;
  }

  .services-grid { grid-template-columns: 1fr 1fr; }
  .counter-strip { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .why-stats { grid-template-columns: 1fr; }
  .why-stat:first-child { grid-row: auto; }
  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .team-grid { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .page-frame { margin: 8px; }
  .frame-mark { display: none; }

  .main-header { top: 9px; }

  .section-padding { padding: 60px 0; }

  .services-grid,
  .counter-strip,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .cta-block {
    flex-direction: column;
    text-align: center;
    padding: var(--inset-panel);
  }

  .cta-actions { justify-content: center; }

  .why-block { padding: var(--inset-panel); }

  .team-section {
    margin-top: 48px;
  }

  .team-grid {
    border-radius: 22px;
  }

  .team-list li {
    grid-template-columns: 1fr;
    gap: 7px;
    padding: 16px 0;
  }

  .team-panel-head {
    align-items: flex-start;
  }

  .inline-stats {
    flex-wrap: wrap;
    gap: 24px;
  }

  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .footer-col ul {
    gap: 8px 16px;
  }
}

@media (max-width: 575px) {
  .hero {
    min-height: 70vh;
  }

  .hero-content {
    padding: 100px 0 48px;
  }

  .hero-bg-overlay {
    background:
      linear-gradient(180deg, rgba(11, 11, 20, 0.95) 0%, rgba(11, 11, 20, 0.75) 40%, rgba(11, 11, 20, 0.6) 100%);
  }

  .float-card {
    display: none;
  }

  .partner-logos {
    opacity: 0.5;
    transform: scale(0.85);
    transform-origin: top right;
  }

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

  .btn { width: 100%; }
}

/* ===== DARK AI RESTYLE ===== */
:root {
  color-scheme: dark;
  --bg: #0c0a14;
  --bg-subtle: #110f1e;
  --bg-muted: #1a1730;
  --orange: #8b5cf6;
  --orange-hover: #a78bfa;
  --accent-2: #38bdf8;
  --dark: #faf8ff;
  --text: #eeeafc;
  --text-light: #d8d4f0;
  --text-muted: #c2bddf;
  --border: rgba(167, 139, 250, 0.14);
  --border-light: rgba(167, 139, 250, 0.07);
  --white: #131225;
  --surface: #131225;
  --surface-hover: #1c1933;
  --radius: 8px;
  --radius-sm: 7px;
  --shadow-float: 0 22px 80px rgba(0, 0, 0, 0.45);
  --frame-pad: clamp(18px, 3vw, 44px);
  --pad: clamp(24px, 4vw, 48px);
  --section-y: clamp(64px, 10vh, 96px);
  --section-y-lg: clamp(80px, 12vh, 120px);
  --inset-hero: clamp(40px, 6vw, 72px) clamp(28px, 4vw, 56px);
  --inset-panel: clamp(28px, 4vw, 48px);
  --inset-card: clamp(24px, 3vw, 36px);
  --inset-compact: clamp(18px, 2vw, 24px);
  --inset-list-y: clamp(20px, 3vh, 32px);
  --inset-list-x: clamp(16px, 2vw, 24px);
  --mouse-x: 0.5;
  --mouse-y: 0.5;
}

body {
  background:
    radial-gradient(ellipse 70% 45% at 18% -5%, rgba(139, 92, 246, 0.16), transparent 60%),
    radial-gradient(ellipse 55% 40% at 88% 12%, rgba(56, 189, 248, 0.1), transparent 60%),
    radial-gradient(ellipse 60% 45% at 50% 105%, rgba(99, 102, 241, 0.12), transparent 62%),
    linear-gradient(180deg, #0c0a14 0%, #0a0812 100%);
  background-attachment: fixed;
  color: var(--text);
  font-size: 14px;
  overflow-x: hidden;
}

html {
  overflow-x: hidden;
}

body :where(h1, h2, h3, h4, h5, h6) {
  text-shadow: none;
  color: var(--dark);
}

body :where(p, li, span, small, label, td, th, dd, dt) {
  text-shadow: none;
  color: var(--text);
}

body :where(.hero-eyebrow, .section-head__index, .hero-footline, .section-label) {
  color: var(--text-light);
}

body :where(.lead-text) {
  color: var(--text);
}

.btn-primary,
.btn-primary *,
.why-stat.highlight,
.why-stat.highlight * {
  text-shadow: none;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    linear-gradient(rgba(167, 139, 250, 0.06) 1px, transparent 1px) 0 0 / 96px 96px,
    linear-gradient(90deg, rgba(167, 139, 250, 0.06) 1px, transparent 1px) 0 0 / 96px 96px;
  background-position:
    calc((var(--mouse-x) - 0.5) * -48px) calc((var(--mouse-y) - 0.5) * -48px),
    calc((var(--mouse-x) - 0.5) * -48px) calc((var(--mouse-y) - 0.5) * -48px);
  transition: background-position 0.12s ease-out;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 500;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.9rem, 6vw, 5rem);
  line-height: 0.95;
  font-weight: 700;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(2rem, 4.3vw, 4.25rem);
  line-height: 1.08;
  font-weight: 500;
  max-width: 820px;
  color: var(--dark);
}

.page-frame {
  margin: 0;
  border: 0;
  background: transparent;
}

.page-frame::before,
.page-frame::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.page-frame::before {
  background:
    linear-gradient(90deg, transparent 0 16%, rgba(255, 255, 255, 0.04) 16.05% 16.12%, transparent 16.18% 42%, rgba(139, 92, 246, 0.08) 42.05% 42.15%, transparent 42.2% 74%, rgba(255, 255, 255, 0.03) 74.05% 74.12%, transparent 74.18%),
    linear-gradient(180deg, transparent 0 28%, rgba(255, 255, 255, 0.03) 28.05% 28.12%, transparent 28.18% 63%, rgba(139, 92, 246, 0.06) 63.05% 63.15%, transparent 63.2%);
  opacity: 0.35;
  transform: translate(
    calc((var(--mouse-x) - 0.5) * 36px),
    calc((var(--mouse-y) - 0.5) * 28px)
  );
  transition: transform 0.15s ease-out;
}

.page-frame::after {
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.06) 1px, transparent 1.35px) 0 0 / 34px 34px,
    radial-gradient(circle at calc(var(--mouse-x) * 100%) calc(var(--mouse-y) * 100%), rgba(139, 92, 246, 0.14) 0, transparent 42%),
    linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.1), transparent) -45vw 38% / 34vw 1px no-repeat,
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.07), transparent) 110vw 72% / 28vw 1px no-repeat;
  opacity: 0.22;
  transform: translate(
    calc((var(--mouse-x) - 0.5) * -24px),
    calc((var(--mouse-y) - 0.5) * -20px)
  );
  transition: transform 0.18s ease-out, opacity 0.18s ease-out;
}

.page-frame > * {
  position: relative;
  z-index: 1;
}

.frame-mark { display: none; }

.main-header {
  top: 10px;
  padding: 0;
  background: transparent;
}

.header-inner {
  min-height: 58px;
  padding: 0 10px 0 18px;
  margin-top: 8px;
  background: rgba(14, 14, 24, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: flex;
  align-items: center;
}

.logo-icon {
  width: 30px;
  height: 30px;
  color: var(--dark);
}

.logo-icon svg {
  width: 100%;
  height: 100%;
  filter: contrast(1.8);
}

.logo-text {
  display: flex;
  align-items: center;
  font-size: 0;
  line-height: 1;
}

.logo-text::after {
  content: 'DDC';
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.1em;
  color: var(--dark);
}

.main-nav ul {
  gap: clamp(12px, 1.6vw, 28px);
}

@media (min-width: 992px) {
  .header-inner {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(12px, 2vw, 24px);
  }

  .logo,
  .main-nav,
  .header-right {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    align-self: center;
  }

  .main-nav {
    z-index: 1;
    width: auto;
    max-width: none;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
  }

  .main-nav ul {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: clamp(8px, 1.2vw, 22px);
    margin: 0;
    padding: 0;
  }

  .main-nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 2px;
    min-height: 0;
    line-height: 1;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: var(--text);
    white-space: nowrap;
    transition: color 0.2s ease;
  }

  .main-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 2px;
    border-radius: 2px;
    background: var(--orange);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
  }

  .main-nav a:hover {
    color: var(--dark);
  }

  .main-nav a:hover::after {
    transform: scaleX(1);
  }

  .main-nav a.active {
    color: var(--orange);
    font-weight: 600;
  }

  .main-nav a.active::after {
    transform: scaleX(1);
  }
}

@media (min-width: 992px) and (max-width: 1180px) {
  .main-nav ul {
    gap: clamp(6px, 0.9vw, 14px);
  }

  .main-nav a {
    font-size: 13px;
    padding: 0 1px;
    line-height: 1;
  }

  .header-right {
    gap: 8px;
  }

  .header-portal.btn-sm,
  .header-right .btn-primary.btn-sm {
    padding-left: 12px;
    padding-right: 12px;
    font-size: 12px;
  }
}

.header-portal {
  white-space: nowrap;
}

.btn {
  min-height: 43px;
  padding: 11px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  font-size: 13px;
  font-weight: 500;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary {
  background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 0 24px rgba(139, 92, 246, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary::before,
.btn-secondary::before {
  display: none;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #9d74f8 0%, #757af3 100%);
  box-shadow: 0 0 36px rgba(139, 92, 246, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-secondary {
  background: rgba(139, 92, 246, 0.08);
  color: var(--dark);
  border-color: rgba(167, 139, 250, 0.18);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(139, 92, 246, 0.14);
  color: #ffffff;
}

.hero {
  min-height: 1040px;
  justify-content: flex-start;
  isolation: isolate;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  background:
    radial-gradient(circle at calc(var(--mouse-x) * 100%) calc(var(--mouse-y) * 100%), rgba(139, 92, 246, 0.1) 0, transparent 38%),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px) 50% 0 / 86px 86px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px) 50% 0 / 86px 86px;
  background-position:
    center,
    calc(50% + (var(--mouse-x) - 0.5) * 72px) calc((var(--mouse-y) - 0.5) * 48px),
    calc(50% + (var(--mouse-x) - 0.5) * 72px) calc((var(--mouse-y) - 0.5) * 48px);
  transition: background-position 0.14s ease-out;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 72px 0 auto;
  height: 315px;
  pointer-events: none;
  z-index: 1;
  background:
    linear-gradient(90deg, transparent 0 8%, rgba(255, 255, 255, 0.06) 8% 8.08%, transparent 8.08% 35%, rgba(255, 255, 255, 0.08) 35% 35.08%, transparent 35.08% 65%, rgba(255, 255, 255, 0.08) 65% 65.08%, transparent 65.08% 92%, rgba(255, 255, 255, 0.06) 92% 92.08%, transparent 92.08%),
    linear-gradient(180deg, transparent 148px, rgba(255, 255, 255, 0.07) 149px, transparent 150px);
  opacity: 0.35;
  animation: lineFieldScan 7s ease-in-out infinite;
}

.hero .hero-content::before,
.hero .hero-content::after {
  content: '';
  position: absolute;
  left: 8%;
  right: 8%;
  height: 1px;
  pointer-events: none;
  z-index: -1;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18) 22%, transparent 22.3% 41%, rgba(139, 92, 246, 0.48) 41% 41.5%, transparent 41.5% 58%, rgba(255, 255, 255, 0.18) 58% 78%, transparent);
  transform-origin: center;
}

.hero .hero-content::before {
  top: 255px;
  animation: dataLineSweep 5.6s ease-in-out infinite;
}

.hero .hero-content::after {
  top: 405px;
  animation: dataLineSweep 6.8s ease-in-out infinite reverse;
}

.hero::after {
  content: '';
  position: absolute;
  top: 205px;
  left: 50%;
  width: clamp(150px, 18vw, 245px);
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 34px;
  z-index: 1;
  opacity: 0.55;
  background:
    linear-gradient(135deg, #8b5cf6, #38bdf8) 50% 30% / 34% 18% no-repeat,
    linear-gradient(135deg, #8b5cf6, #38bdf8) 50% 70% / 34% 18% no-repeat,
    linear-gradient(135deg, #8b5cf6, #38bdf8) 30% 50% / 18% 34% no-repeat,
    linear-gradient(135deg, #8b5cf6, #38bdf8) 70% 50% / 18% 34% no-repeat,
    rgba(18, 18, 32, 0.85);
  border: 26px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 80px rgba(139, 92, 246, 0.25), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.hero-bg {
  opacity: 0.55;
  overflow: hidden;
  transition: transform 0.14s ease-out;
  will-change: transform;
}

.hero-art-glow,
.float-card { display: none; }

.hero-illustration {
  inset: 235px 0 auto;
  height: 520px;
  opacity: 0.5;
  overflow: hidden;
}

.hero-bg-overlay {
  background:
    linear-gradient(180deg, rgba(11, 11, 20, 0.25) 0%, rgba(11, 11, 20, 0.88) 62%, rgba(11, 11, 20, 0.98) 100%),
    radial-gradient(circle at 50% 36%, transparent 0 190px, rgba(11, 11, 20, 0.55) 360px);
}

.hero-content {
  min-height: 690px;
  padding: 250px var(--frame-pad) 80px;
  align-items: flex-start;
  justify-content: center;
  max-width: none;
  text-align: center;
}

.hero-copy {
  max-width: 1000px;
  width: 100%;
  padding-top: 110px;
  margin: 0 auto;
  display: grid;
  justify-items: center;
  position: relative;
  z-index: 4;
}

.hero-copy h1 {
  max-width: 980px;
  margin-bottom: 26px;
  text-shadow: none;
  background: linear-gradient(115deg, #ffffff 25%, #c4b5fd 65%, #7dd3fc 95%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #ffffff;
}

.hero-copy p {
  max-width: 560px;
  margin-bottom: 28px;
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
}

.hero-actions {
  justify-content: center;
}

.partner-logos {
  inset: auto var(--frame-pad) 38px;
  width: auto;
  height: 154px;
  display: grid;
  grid-template-columns: 1.1fr 1.2fr 1fr 1.2fr;
  gap: 0;
  padding: 18px 24px;
  pointer-events: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.partner-logo {
  position: static;
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 0 26px;
  border: 0;
  border-right: 1px solid var(--border-light);
  border-radius: 0;
  background: transparent;
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(12px, 1.2vw, 15px);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.partner-logo:nth-child(n+5) { display: none; }
.partner-logo:nth-child(4) { border-right: 0; }

.partner-logo::before {
  content: '';
  width: 28px;
  height: 28px;
  margin-right: 12px;
  border-radius: 8px;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.7) 1px, transparent 1.2px) 0 0 / 6px 6px,
    linear-gradient(135deg, rgba(139, 92, 246, 0.55), rgba(56, 189, 248, 0.35));
  box-shadow: 0 0 14px rgba(139, 92, 246, 0.3);
  flex: 0 0 auto;
}

.services-section,
.about-section,
.mission-section,
.mission-teaser,
.mission-page,
.process-section,
.why-section,
.news-section,
.cta-section,
.team-page,
.main-footer {
  background: transparent;
}

.section-padding {
  padding: 92px 0;
  position: relative;
  overflow: hidden;
}

.section-padding::before,
.counter-section::before,
.main-footer::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 18%;
  height: 1px;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent 34% 48%, rgba(139, 92, 246, 0.12), transparent 68%);
  opacity: 0.22;
  animation: sectionSignal 8s ease-in-out infinite;
}

.section-padding:nth-of-type(even)::before {
  animation-delay: -3s;
  animation-direction: reverse;
}

.counter-section,
.main-footer {
  position: relative;
  overflow: hidden;
}

.section-rule {
  border-top-color: rgba(255, 255, 255, 0.14);
}

.section-intro {
  max-width: 780px;
  margin-bottom: 42px;
}

.section-intro p,
.lead-text {
  max-width: 520px;
  color: var(--text);
}

.service-card {
  min-height: 245px;
  padding: var(--inset-card);
}

.services-grid,
.counter-strip {
  border-radius: 28px;
  background: var(--border);
  border-color: var(--border);
  box-shadow: 0 24px 85px rgba(0, 0, 0, 0.05);
}

.service-card,
.counter-item,
.process-card,
.news-card,
.why-stat,
.team-member-card,
.leader-card {
  background: var(--surface);
  border-color: var(--border);
}

.service-card:hover,
.process-card:hover,
.news-card:hover,
.team-member-card:hover,
.leader-card:hover {
  background: var(--surface-hover);
  box-shadow: 0 0 0 1px rgba(139, 92, 246, 0.35), 0 18px 60px rgba(0, 0, 0, 0.4), 0 0 42px rgba(139, 92, 246, 0.12);
}

.service-icon {
  border-radius: 10px;
  color: #c4b5fd;
  border: 1px solid rgba(139, 92, 246, 0.3);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.18), rgba(56, 189, 248, 0.1));
  box-shadow: 0 0 18px rgba(139, 92, 246, 0.12);
}

.service-num,
.process-num,
.why-num,
.news-card-meta,
.member-num,
.leader-role,
.member-role {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--text-light);
}

.service-num,
.process-num,
.member-num {
  color: var(--orange);
}

.news-card-meta span:last-child {
  color: var(--orange);
  font-weight: 600;
}

.service-link {
  color: var(--dark);
}

.inline-stats strong,
.counter-num,
.counter-phone,
.why-stat strong {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 600;
  letter-spacing: 0;
}

.counter-num,
.counter-phone {
  color: var(--dark);
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
}

.counter-extra {
  color: var(--orange);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.process-grid {
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 28px;
  overflow: hidden;
}

.process-card {
  border-width: 0 1px 0 0;
  border-radius: 0;
  min-height: 210px;
}

.process-card:last-child {
  border-right: 0;
}

.why-block,
.cta-block {
  border-color: var(--border);
  border-radius: 28px;
  background:
    radial-gradient(circle at 75% 35%, rgba(139, 92, 246, 0.06), transparent 32%),
    var(--surface);
  box-shadow: 0 24px 85px rgba(0, 0, 0, 0.05);
}

.about-dots-block {
  border-radius: 28px;
  background: var(--surface);
  border-color: var(--border);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.38);
}

.team-members-grid {
  background: var(--border);
  border-color: var(--border);
}

.team-member-card p,
.leader-card p,
.service-card p,
.process-card p,
.news-card p,
.why-list p,
.counter-item p {
  color: var(--text);
}

.counter-item p small {
  color: var(--text-light);
}

.footer-col h5 {
  color: var(--dark);
}

.footer-col a {
  color: var(--text);
}

.footer-col a:hover {
  color: var(--orange);
}

.footer-bottom {
  color: var(--text);
}

.why-stat.highlight {
  background: linear-gradient(135deg, #8b5cf6 0%, #4f46e5 100%);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 0 40px rgba(139, 92, 246, 0.35);
}

.news-card {
  border-radius: 24px;
}

.service-card h4,
.process-card h5,
.news-card h4,
.team-member-card h4,
.why-list h6 {
  color: var(--dark);
  font-weight: 600;
}

.leader-card h3 {
  font-weight: 600;
}

.cta-block p {
  color: var(--text);
}

.why-stat span {
  color: var(--text);
}

.footer-bottom {
  border-top-color: rgba(255, 255, 255, 0.14);
}

@media (max-width: 991px) {
  .hero {
    min-height: 940px;
  }

  .hero::after {
    top: 190px;
  }

  .hero-content {
    min-height: 650px;
    padding-top: 230px;
  }

  .hero-copy {
    padding-top: 135px;
  }

  .main-header {
    z-index: 1000;
  }

  .header-inner {
    position: relative;
    z-index: 1002;
  }

  .nav-toggle {
    display: flex;
    position: relative;
    z-index: 1003;
  }

  .main-nav {
    position: fixed;
    inset: 0;
    z-index: 1001;
    display: flex;
    justify-content: flex-end;
    align-items: stretch;
    padding: 0;
    margin: 0;
    background: rgba(0, 0, 0, 0.42);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
  }

  .main-nav.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
    width: min(88vw, 360px);
    height: 100%;
    margin: 0;
    background: rgba(16, 16, 26, 0.98);
    border-left: 1px solid var(--border);
    box-shadow: -16px 0 48px rgba(0, 0, 0, 0.12);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateX(100%);
    transition: transform 0.28s ease;
  }

  .main-nav.open ul {
    transform: translateX(0);
  }

  .main-nav li {
    border-bottom: 1px solid var(--border-light);
  }

  .main-nav a {
    display: block;
    font-size: 18px;
    font-weight: 500;
    color: var(--dark);
    text-align: center;
    border-left: 0;
    border-bottom: 3px solid transparent;
  }

  .main-nav a::after {
    display: none;
  }

  .main-nav a:hover {
    color: var(--dark);
    background: rgba(255, 255, 255, 0.04);
  }

  .main-nav a.active {
    color: var(--orange);
    font-weight: 600;
    border-bottom-color: var(--orange);
    background: rgba(139, 92, 246, 0.08);
  }

  .header-portal {
    display: none;
  }

  .header-right .btn-primary.btn-sm {
    display: none;
  }

  .partner-logos {
    grid-template-columns: 1fr 1fr;
    height: auto;
    bottom: 28px;
    padding: 12px 18px;
  }

  .partner-logo {
    min-height: 58px;
    border-right: 0;
    border-bottom: 1px solid var(--border-light);
  }

  .partner-logo:nth-child(3),
  .partner-logo:nth-child(4) {
    border-bottom: 0;
  }

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

  .process-card:nth-child(2) {
    border-right: 0;
  }

  .process-card:nth-child(-n+2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

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

  .mission-grid,
  .mission-grid-lg {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  .header-inner {
    margin-top: 6px;
    padding-left: 14px;
  }

  .hero {
    min-height: 820px;
  }

  .hero::before {
    top: 64px;
    opacity: 0.5;
  }

  .hero::after {
    top: 165px;
    border-width: 18px;
    border-radius: 26px;
  }

  .hero-content {
    min-height: 570px;
    padding-top: 190px;
  }

  .hero-copy {
    padding-top: 128px;
  }

  .hero-copy h1 {
    font-size: clamp(2.35rem, 13vw, 4.2rem);
  }

  .partner-logos {
    inset-inline: 12px;
    border-radius: 20px;
  }

  .partner-logo {
    padding: 0 8px;
    font-size: 11px;
  }

  .services-grid,
  .counter-strip,
  .process-grid {
    border-radius: 22px;
  }

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

  .process-card,
  .process-card:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .process-card:last-child {
    border-bottom: 0;
  }

  .why-block,
  .cta-block {
    border-radius: 22px;
  }

  .team-hero {
    padding-top: 100px;
  }

  .leader-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: var(--inset-panel);
    border-radius: 22px;
  }

  .leader-photo {
    width: 100%;
    max-width: 160px;
    height: auto;
    aspect-ratio: 1;
  }

  .team-members-grid {
    grid-template-columns: 1fr;
    border-radius: 22px;
  }

  .team-management .leader-card-sm {
    border-radius: 22px 22px 0 0;
  }

  .team-management .management-grid {
    border-radius: 0 0 22px 22px;
  }

  .mission-grid,
  .mission-grid-lg {
    grid-template-columns: 1fr;
    border-radius: 22px;
  }

  .mission-statement {
    padding: var(--inset-panel);
    border-radius: 22px;
  }

  .mission-teaser-block {
    padding: var(--inset-panel);
    border-radius: 22px;
  }

  .mission-hero {
    padding-top: 100px;
  }

  .contact-map {
    border-radius: 22px;
  }

  .contact-map iframe {
    height: 320px;
  }

  .contact-form {
    padding: var(--inset-panel);
    border-radius: 22px;
  }

  .contact-form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (max-width: 575px) {
  .hero {
    min-height: 760px;
  }

  .hero-content {
    padding-top: 170px;
  }

  .partner-logos {
    grid-template-columns: 1fr;
    max-height: 180px;
    overflow: hidden;
  }

  .partner-logo {
    min-height: 45px;
  }

  .partner-logo:nth-child(3),
  .partner-logo:nth-child(4) {
    display: none;
  }
}

/* ===== BLOCK LAYOUT (template-1 structure, current palette) ===== */
.content-frame {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}

.frame-rulers {
  display: none !important;
}

.ruler {
  position: relative;
  text-align: center;
  padding-top: 4px;
}

.ruler i {
  position: absolute;
  top: 14px;
  left: 8px;
  right: 8px;
  height: 1px;
  background: var(--border);
  font-style: normal;
}

.ruler i::before,
.ruler i::after {
  content: "";
  position: absolute;
  top: -3px;
  width: 1px;
  height: 7px;
  background: var(--border);
}

.ruler i::before { left: 0; }
.ruler i::after { right: 0; }

.hero-home {
  padding-top: 32px;
}

.hero-home .content-frame {
  margin-top: 34px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  min-height: 480px;
}

.hero-grid__copy {
  padding: var(--inset-panel);
  border-right: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-grid__visual {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  background: var(--bg-subtle);
}

.hero-bg--compact {
  position: absolute;
  inset: 0;
  margin: 0;
  width: 100%;
  transform-style: preserve-3d;
  transition: transform 0.2s ease-out;
}

.hero-bg--compact .hero-bg-overlay {
  background:
    linear-gradient(105deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.55) 35%, transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.25) 0%, transparent 40%);
}

.hero-bg--compact .float-card,
.hero-bg--compact .partner-logos {
  display: none;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text);
  margin-bottom: 20px;
}

.hero-tick {
  width: 32px;
  height: 1px;
  background: var(--text-light);
  flex-shrink: 0;
}

.hero-footline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px clamp(16px, 4vw, 40px);
  padding: 16px clamp(28px, 4vw, 56px);
  border-top: 1px solid var(--border-light);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-light);
}

.section-head {
  margin-bottom: clamp(36px, 5vh, 56px);
}

.section-head__index {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 14px;
}

.section-head__index::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--border);
}

.section-head__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.15;
  max-width: 640px;
}

.services-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}

.board-service {
  position: relative;
  padding: var(--inset-card);
  border-right: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  min-height: 280px;
  transition: background var(--transition);
}

.board-service:last-child {
  border-right: 0;
}

.board-service:hover {
  background: var(--bg-subtle);
}

.board-service::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.board-service:hover::after {
  transform: scaleX(1);
}

.board-service__num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--text-light);
  margin-bottom: 36px;
}

.board-service__title {
  font-size: 17px;
  margin-bottom: 12px;
}

.board-service__text {
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 0;
}

.board-service .service-link {
  margin-top: auto;
  padding-top: 20px;
}

.about-board {
  position: relative;
  display: grid;
  grid-template-columns: 1fr minmax(240px, 360px) 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

.about-board__rings {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(720px, 90vw);
  height: min(720px, 90vw);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid var(--border-light);
  pointer-events: none;
}

.about-board__rings::before,
.about-board__rings::after {
  content: "";
  position: absolute;
  inset: 100px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
}

.about-board__rings::after {
  inset: 200px;
}

.about-board__statement {
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  line-height: 1.3;
  margin-bottom: 20px;
}

.about-board__note {
  font-size: 14px;
  line-height: 1.75;
  max-width: 300px;
}

.about-board__note em {
  font-style: italic;
  color: var(--dark);
}

.about-board__col--right {
  display: flex;
  justify-content: flex-end;
  align-self: end;
}

.about-board__visual {
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at 35% 30%, rgba(139, 92, 246, 0.2), transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(139, 92, 246, 0.08), transparent 50%),
    var(--bg-subtle);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-float);
}

.about-board__visual svg {
  width: 52%;
  height: auto;
  color: var(--orange);
  opacity: 0.85;
}

.metrics-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
}

.metric-cell {
  padding: var(--inset-card);
  border-right: 1px solid var(--border-light);
}

.metric-cell:last-child {
  border-right: 0;
}

.metric-cell .counter-num,
.metric-cell .counter-phone {
  display: block;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}

.metric-cell .counter-extra {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--dark);
}

.metric-cell p {
  font-size: 12px;
  line-height: 1.55;
  color: var(--text);
  margin: 0;
}

.metric-cell p small {
  display: block;
  margin-top: 4px;
  color: var(--text-light);
}

.news-board {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}

.news-row {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: clamp(16px, 3vw, 40px);
  align-items: center;
  padding: var(--inset-list-y) var(--inset-list-x);
  border-bottom: 1px solid var(--border-light);
  color: inherit;
  transition: padding-left var(--transition), background var(--transition);
}

.news-row:hover {
  padding-left: calc(var(--inset-list-x) + 4px);
  background: var(--bg-subtle);
}

.news-row__tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
}

.news-row__title {
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  line-height: 1.35;
  margin: 0;
}

.news-row__meta {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-light);
  white-space: nowrap;
}

.news-row__meta i {
  font-style: normal;
  margin-left: 4px;
  transition: transform var(--transition);
}

.news-row:hover .news-row__meta i {
  transform: translateX(4px);
}

.cta-panel__inner {
  text-align: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-subtle);
  padding: clamp(40px, 7vh, 72px) var(--pad);
}

.cta-panel__inner h2 {
  margin-bottom: 12px;
}

.cta-panel__inner p {
  max-width: 480px;
  margin: 0 auto 28px;
}

.cta-panel__phone {
  display: block;
  margin-top: 20px;
  font-size: 13px;
  color: var(--text);
}

.cta-panel__phone b {
  color: var(--orange);
  font-size: 1.1em;
}

.page-hero {
  padding-top: 24px;
}

.page-frame .page-hero.section-padding {
  padding-top: 24px;
  padding-bottom: 0;
}

.page-frame .page-hero.hero--page.section-padding {
  padding-bottom: clamp(40px, 6vh, 70px);
}

.page-frame .mission-statement-section.section-padding,
.page-frame .mission-values-section.section-padding,
.page-frame .mission-goals-section.section-padding,
.page-frame .news-section.section-padding {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
}

.page-hero .content-frame {
  margin-top: 0;
}

.page-hero__body {
  padding: var(--inset-hero);
}

.page-hero__title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.15;
  max-width: 900px;
  margin-bottom: 16px;
}

.page-hero__sub {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  max-width: 640px;
}

.page-hero__stroke {
  color: var(--orange);
}

.values-board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.values-list {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.value-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: var(--inset-list-y) var(--inset-list-x);
  border-bottom: 1px solid var(--border-light);
}

.value-row:last-child {
  border-bottom: 0;
}

.value-row__num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-light);
  min-width: 36px;
}

.value-row__name {
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
}

.vision-block {
  padding: var(--inset-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-subtle);
}

.vision-block__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}

.vision-block__text {
  font-size: 15px;
  line-height: 1.75;
  margin: 0;
}

.contacts-board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 40px);
}

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

  .hero-grid__copy {
    border-right: 0;
    border-bottom: 1px solid var(--border-light);
  }

  .hero-grid__visual {
    min-height: 280px;
  }

  .services-board {
    grid-template-columns: 1fr 1fr;
  }

  .board-service:nth-child(2) {
    border-right: 0;
  }

  .board-service:nth-child(1),
  .board-service:nth-child(2) {
    border-bottom: 1px solid var(--border-light);
  }

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

  .about-board__col--right {
    justify-content: flex-start;
  }

  .about-board__rings {
    display: none;
  }

  .metrics-board {
    grid-template-columns: 1fr 1fr;
  }

  .metric-cell:nth-child(2) {
    border-right: 0;
  }

  .metric-cell:nth-child(1),
  .metric-cell:nth-child(2) {
    border-bottom: 1px solid var(--border-light);
  }

  .news-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .values-board,
  .contacts-board {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  .services-board,
  .metrics-board {
    grid-template-columns: 1fr;
  }

  .board-service,
  .metric-cell {
    border-right: 0;
    border-bottom: 1px solid var(--border-light);
  }

  .board-service:last-child,
  .metric-cell:last-child {
    border-bottom: 0;
  }

  .frame-rulers {
    display: none;
  }

  .hero-home .content-frame,
  .page-hero .content-frame {
    margin-top: 0;
  }
}

/* ===== Readability: brighter text, no washed-out grays ===== */
.person-card__role,
.person-card__num,
.mission__sub,
.page-hero__sub,
.contact-form__sub,
.contact-form__consent,
.contact-card__note,
.service__text,
.timeline__text,
.svc-panel__lead,
.svc-foot__dept p,
.svc-sla__item span,
.vision__text,
.cta__text,
.footer-brand p,
.news-article__body :where(p, span, li, td, th) {
  color: var(--text) !important;
}

.hero-footline,
.section-head__index,
.hero-eyebrow,
.service__num,
.news-card__meta,
.contact-card__label,
.field__label,
.value-row__num,
.svc-tab__num,
.timeline__year,
.member-role,
.leader-role,
.news-card-meta {
  color: var(--text-light) !important;
}

.field__input::placeholder {
  color: var(--text-light);
  opacity: 0.92;
}

.field__input:invalid {
  color: var(--text);
}
