:root {
  --ink: #080808;
  --paper: #f2efe8;
  --metal: #c0c0c0;
  --muted: #9b9b9b;
  --line: rgba(192, 192, 192, 0.16);
  --ember: #ff6a00;
  --ember2: #ff3d00;
  --font-display: "Cinzel", serif;
  --font-body: "Montserrat", sans-serif;
}

.brand {
  gap: 12px;
  font-size: 1.05rem;
  letter-spacing: 0.045em;
  text-transform: none;
}

.brand span b {
  color: var(--ember);
  font-weight: 600;
}

.site-header nav {
  order: 1;
  margin-left: auto;
}

.header-actions {
  order: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: 28px;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 5px;
  border: 1px solid rgba(192, 192, 192, 0.24);
  border-radius: 999px;
  white-space: nowrap;
  font-size: 0.68rem;
  line-height: 1;
}

.language-switch button {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: 600 0.68rem var(--font-body);
  letter-spacing: 0.05em;
  min-height: 30px;
  min-width: 32px;
  padding: 6px;
}

.language-switch button[aria-pressed="true"] {
  background: rgba(255, 106, 0, 0.18);
  color: var(--paper);
}

.language-switch button:hover,
.language-switch button:focus-visible {
  color: var(--paper);
  outline-color: var(--ember);
}

.language-switch > span {
  color: var(--muted);
}

.brand-mark {
  display: block;
  width: 44px;
  height: 52px;
  object-fit: contain;
  background: none;
  border-radius: 0;
  color: inherit;
}

.hero::before {
  background: radial-gradient(circle, rgba(255, 106, 0, 0.14), transparent 66%);
}

h1 {
  font-size: clamp(3.55rem, 7vw, 7.15rem);
  letter-spacing: -0.045em;
}

h1 em {
  background: linear-gradient(100deg, var(--ember), var(--ember2));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.button-primary {
  background: linear-gradient(115deg, var(--ember), var(--ember2));
  color: #090909;
}

.button-primary:hover {
  background: linear-gradient(115deg, #ff812b, var(--ember));
}

.system-card {
  border-color: rgba(192, 192, 192, 0.2);
  background: linear-gradient(145deg, rgba(192, 192, 192, 0.045), rgba(8, 8, 8, 0.88));
}

.core {
  width: 70px;
  height: 70px;
  border: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, #555 0%, #242424 24%, #111 58%, #050505 100%);
  box-shadow:
    0 0 18px rgba(255, 106, 0, 0.7),
    0 0 48px rgba(255, 61, 0, 0.38),
    inset -10px -12px 22px rgba(0, 0, 0, 0.72),
    inset 5px 5px 14px rgba(255, 255, 255, 0.08);
  position: relative;
  isolation: isolate;
}

.core img {
  width: 78%;
  height: 78%;
  object-fit: contain;
  filter:
    saturate(1.35)
    contrast(1.16)
    drop-shadow(0 0 5px rgba(255, 106, 0, 0.35));
  z-index: 1;
}

.core::after {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  background: radial-gradient(circle, transparent 56%, rgba(255, 106, 0, 0.12) 58%, transparent 64%);
  animation: core-pulse 3.2s ease-in-out infinite;
  z-index: -1;
}

@keyframes core-pulse {
  0%, 100% { transform: scale(0.92); opacity: 0.55; }
  50% { transform: scale(1.12); opacity: 1; }
}

.orbit-ring {
  border-color: rgba(192, 192, 192, 0.17);
}

.service-card.featured {
  background: linear-gradient(150deg, rgba(255, 106, 0, 0.16), rgba(255, 61, 0, 0.035) 58%, transparent);
}

.service-icon,
.text-link span,
.case-row b,
.process-steps li > span,
.faq summary span {
  color: var(--ember);
}

.contact-section {
  background: linear-gradient(125deg, var(--ember), var(--ember2));
}

.use-cases {
  background: #e8e7e3;
}

@media (max-width: 560px) {
  .header-actions {
    gap: 8px;
    margin-left: 12px;
  }

  .language-switch {
    gap: 2px;
  }

  .brand-mark {
    width: 38px;
    height: 44px;
  }

  .brand {
    font-size: 0.92rem;
  }

  h1 {
    font-size: 3.15rem;
  }

  .core {
    width: 62px;
    height: 62px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .core::after {
    animation: none;
  }
}
