/* A.S Service: Schwarz, Silber, Layout */

:root {
  --bg-deep: #020203;
  --bg: #08080a;
  --bg-elevated: #0e0e12;
  --bg-card: rgba(16, 17, 22, 0.78);
  --border: rgba(255, 255, 255, 0.065);
  --border-glow: rgba(230, 236, 246, 0.14);
  --silver: #aeb6c4;
  --silver-bright: #f4f6fa;
  --muted: #6a7280;
  --accent: linear-gradient(125deg, #fafbfe 0%, #a4adb8 38%, #e2e6ee 100%);
  --accent-dim: rgba(200, 210, 225, 0.12);
  --accent-hot: rgba(255, 255, 255, 0.55);
  --radius: 22px;
  --radius-sm: 12px;
  --font: "Manrope", system-ui, -apple-system, sans-serif;
  --font-display: "Syne", var(--font);
  --header-h: 78px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

::selection {
  background: rgba(220, 228, 240, 0.25);
  color: var(--silver-bright);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--silver);
  background-color: var(--bg-deep);
  background-image: radial-gradient(ellipse 120% 80% at 50% -30%, rgba(55, 65, 85, 0.22), transparent 52%),
    radial-gradient(ellipse 70% 50% at 100% 0%, rgba(40, 45, 58, 0.35), transparent 45%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

/* Film grain overlay */
.grain {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grainShift 8s steps(10) infinite;
}

@keyframes grainShift {
  0%,
  100% {
    transform: translate(0, 0);
  }
  10% {
    transform: translate(-2%, -4%);
  }
  30% {
    transform: translate(4%, -2%);
  }
  50% {
    transform: translate(-3%, 3%);
  }
  70% {
    transform: translate(2%, 2%);
  }
  90% {
    transform: translate(-1%, -1%);
  }
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  z-index: 10000;
  padding: 0.75rem 1rem;
  background: var(--silver-bright);
  color: var(--bg-deep);
  font-weight: 600;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg-deep) 88%, transparent);
  backdrop-filter: blur(18px) saturate(1.35);
  transition: border-color 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}

.site-header.is-scrolled {
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.55), 0 1px 0 rgba(255, 255, 255, 0.06) inset;
  background: color-mix(in srgb, var(--bg-deep) 94%, transparent);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.site-header.is-scrolled::after {
  opacity: 1;
}

@supports not (backdrop-filter: blur(1px)) {
  .site-header {
    background: rgba(3, 3, 4, 0.96);
  }
}

.header-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 1.5rem);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.brand-logo {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--border-glow);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.4);
  flex-shrink: 0;
  transition: box-shadow 0.35s ease, transform 0.35s ease, border-color 0.25s ease;
}

.brand:hover .brand-logo {
  border-color: rgba(230, 236, 246, 0.35);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.4), 0 0 28px rgba(200, 210, 230, 0.18);
  transform: scale(1.03);
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  color: var(--silver-bright);
}

.brand-tagline {
  font-size: 0.7rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav {
  display: none;
  gap: 2rem;
}

.nav a {
  position: relative;
  color: var(--silver);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.25s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(220, 228, 240, 0.15), rgba(240, 244, 250, 0.85), rgba(220, 228, 240, 0.15));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav a:hover {
  color: var(--silver-bright);
}

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

@media (min-width: 768px) {
  .nav {
    display: flex;
  }
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.2rem;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.15s, box-shadow 0.25s, border-color 0.2s, background 0.2s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-header {
  flex-shrink: 0;
  background: linear-gradient(165deg, rgba(38, 40, 48, 0.95) 0%, rgba(18, 19, 24, 0.9) 100%);
  color: var(--silver-bright);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset;
}

.btn-header:hover {
  background: linear-gradient(165deg, rgba(48, 50, 58, 0.98) 0%, rgba(22, 23, 30, 0.95) 100%);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset, 0 12px 32px rgba(0, 0, 0, 0.35);
}

.btn-header::after,
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  left: -40%;
  background: linear-gradient(
    100deg,
    transparent 0%,
    transparent 40%,
    rgba(255, 255, 255, 0.22) 50%,
    transparent 60%,
    transparent 100%
  );
  transform: translateX(-100%) skewX(-12deg);
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.btn-header:hover::after,
.btn-primary:hover::after {
  transform: translateX(220%) skewX(-12deg);
}

.btn-primary {
  background: var(--accent);
  color: #0c0d10;
  border-color: rgba(255, 255, 255, 0.32);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.55) inset, 0 -1px 0 rgba(0, 0, 0, 0.08) inset, 0 10px 36px rgba(0, 0, 0, 0.42);
  letter-spacing: 0.02em;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.65) inset, 0 -1px 0 rgba(0, 0, 0, 0.06) inset, 0 16px 48px rgba(140, 160, 190, 0.28);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  color: var(--silver-bright);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2) inset;
}

.btn-ghost::after {
  content: "";
  position: absolute;
  inset: 0;
  left: -35%;
  background: linear-gradient(
    105deg,
    transparent 35%,
    rgba(255, 255, 255, 0.08) 50%,
    transparent 65%
  );
  transform: translateX(-100%) skewX(-10deg);
  transition: transform 0.7s var(--ease-out);
  pointer-events: none;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
}

.btn-ghost:hover::after {
  transform: translateX(200%) skewX(-10deg);
}

.btn-large {
  padding: 1rem 1.35rem;
  font-size: 0.95rem;
  word-break: break-all;
}

@media (min-width: 420px) {
  .btn-large {
    word-break: normal;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: min(90vh, 760px);
  display: flex;
  align-items: center;
  padding: clamp(2.5rem, 8vw, 4rem) clamp(1rem, 4vw, 1.5rem) clamp(3.5rem, 10vw, 5rem);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 100% 80% at 50% -30%, rgba(190, 200, 218, 0.14), transparent 50%),
    radial-gradient(ellipse 50% 60% at 0% 40%, rgba(120, 130, 150, 0.08), transparent 45%),
    radial-gradient(ellipse 45% 50% at 100% 60%, rgba(100, 110, 130, 0.06), transparent 40%),
    linear-gradient(180deg, #0a0a0d 0%, var(--bg-deep) 100%);
  pointer-events: none;
  animation: heroBgPulse 14s ease-in-out infinite alternate;
}

@keyframes heroBgPulse {
  0% {
    filter: brightness(1) saturate(1);
  }
  100% {
    filter: brightness(1.06) saturate(1.08);
  }
}

.hero-aurora {
  position: absolute;
  inset: -20% -30%;
  background: conic-gradient(
    from 200deg at 50% 45%,
    transparent 0deg,
    rgba(140, 155, 185, 0.07) 60deg,
    transparent 120deg,
    rgba(180, 195, 220, 0.06) 200deg,
    transparent 280deg,
    rgba(120, 135, 165, 0.05) 320deg,
    transparent 360deg
  );
  animation: auroraSpin 28s linear infinite;
  pointer-events: none;
  opacity: 0.85;
}

@keyframes auroraSpin {
  from {
    transform: rotate(0deg) scale(1);
  }
  to {
    transform: rotate(360deg) scale(1.05);
  }
}

.hero-glow {
  position: absolute;
  width: min(90vw, 520px);
  height: min(90vw, 520px);
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(200, 210, 230, 0.08) 0%, transparent 68%);
  pointer-events: none;
  animation: glowFloat 9s ease-in-out infinite;
}

.hero-glow--2 {
  width: min(70vw, 380px);
  height: min(70vw, 380px);
  left: 62%;
  top: 58%;
  opacity: 0.55;
  transform: translate(-50%, -50%);
  animation-delay: -4s;
  animation-duration: 11s;
}

@keyframes glowFloat {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  50% {
    transform: translate(-48%, -54%) scale(1.08);
    opacity: 0.75;
  }
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 100% 56px;
  mask-image: linear-gradient(180deg, transparent 0%, black 25%, black 78%, transparent 100%);
  opacity: 0.55;
}

.hero-inner {
  position: relative;
  width: min(100%, 720px);
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  z-index: 1;
}

.hero-panel {
  padding: clamp(2rem, 5vw, 2.85rem) clamp(1.35rem, 4vw, 2.5rem) clamp(1.75rem, 4vw, 2.25rem);
  border-radius: clamp(20px, 3vw, 28px);
  background: linear-gradient(165deg, rgba(22, 24, 30, 0.55) 0%, rgba(8, 9, 12, 0.42) 100%);
  backdrop-filter: blur(22px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.45) inset, 0 32px 80px rgba(0, 0, 0, 0.42), 0 0 100px rgba(120, 140, 175, 0.06);
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22) 0%, transparent 38%, transparent 62%, rgba(255, 255, 255, 0.06) 100%);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  pointer-events: none;
  opacity: 0.75;
}

@keyframes heroLineIn {
  from {
    opacity: 0;
    transform: translateY(26px);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.hero-inner > * {
  opacity: 0;
  animation: heroLineIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(var(--hero-i, 0) * 85ms);
}

.eyebrow {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(200, 208, 220, 0.88);
  margin: 0 0 1.35rem;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 24px rgba(100, 120, 150, 0.08);
}

.hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.65rem, 8vw, 4.1rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.98;
  background: linear-gradient(185deg, #ffffff 0%, #e4e9f1 38%, #9aa4b4 72%, #d8dee8 100%);
  background-size: 100% 140%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 48px rgba(160, 180, 210, 0.12)) drop-shadow(0 4px 24px rgba(0, 0, 0, 0.45));
  text-wrap: balance;
}

.hero-slogan {
  margin: 1rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.6vw, 1.42rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, #a8b0be 0%, #eef2f8 50%, #a8b0be 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: sloganSheen 10s ease-in-out infinite;
}

@keyframes sloganSheen {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.hero-lead {
  margin: 1.75rem auto 0;
  font-size: clamp(0.98rem, 2.1vw, 1.12rem);
  color: rgba(150, 158, 172, 0.95);
  max-width: 38rem;
  line-height: 1.75;
  text-wrap: pretty;
}

.hero-actions {
  margin-top: 2.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.95rem;
  justify-content: center;
}

.hero-trust {
  list-style: none;
  margin: 2rem 0 0;
  padding: 1.1rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.35rem;
  justify-content: center;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(140, 148, 162, 0.95);
}

.hero-trust-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(240, 244, 250, 0.9), rgba(120, 132, 150, 0.5));
  box-shadow: 0 0 10px rgba(220, 228, 240, 0.35);
}

/* Sections */
.section {
  position: relative;
  padding: clamp(3.25rem, 8vw, 5.25rem) clamp(1rem, 4vw, 1.5rem);
  border-top: 1px solid transparent;
  background-clip: padding-box;
}

.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(92%, 720px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(220, 230, 245, 0.18), rgba(255, 255, 255, 0.06), rgba(220, 230, 245, 0.18), transparent);
  pointer-events: none;
}

.section-alt {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
}

.section-inner {
  max-width: 1140px;
  margin: 0 auto;
}

.section-inner--narrow {
  max-width: 680px;
}

.section-head {
  margin-bottom: clamp(2rem, 5vw, 2.85rem);
  max-width: 52rem;
  padding-bottom: 0.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03);
}

.section-head h2 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.3vw, 2.1rem);
  font-weight: 700;
  color: var(--silver-bright);
  letter-spacing: -0.035em;
  line-height: 1.12;
  text-wrap: balance;
  position: relative;
  display: inline-block;
}

.section-head h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.55rem;
  width: 3rem;
  height: 3px;
  border-radius: 3px;
  background: var(--accent);
  opacity: 0.85;
  box-shadow: 0 0 16px rgba(230, 236, 246, 0.25);
}

.section-intro {
  margin: 1.15rem 0 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.68;
  max-width: 40rem;
}

/* Service grid */
.service-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 560px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.1rem;
  }
}

@media (min-width: 900px) {
  .service-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.15rem;
  }

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

.service-card {
  position: relative;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.45rem 1.35rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.14) 0%, transparent 42%, transparent 100%);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  pointer-events: none;
  opacity: 0.55;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(100% 85% at 50% 0%, rgba(255, 255, 255, 0.09), transparent 52%);
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
  pointer-events: none;
}

.service-card.is-revealed:hover::after {
  opacity: 1;
}

.service-card.is-revealed:hover {
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.48), 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.service-card--highlight {
  background: linear-gradient(165deg, rgba(28, 30, 38, 0.92) 0%, rgba(14, 15, 20, 0.82) 100%);
  border-color: rgba(200, 210, 230, 0.1);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
}

.service-icon {
  position: relative;
  z-index: 1;
  display: flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.15rem;
  color: #d0d8e4;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
  transition: transform 0.35s var(--ease-out), border-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.service-card.is-revealed:hover .service-icon {
  transform: scale(1.06) rotate(-3deg);
  border-color: rgba(230, 236, 246, 0.28);
  box-shadow: 0 0 24px rgba(180, 195, 215, 0.12);
  color: var(--silver-bright);
}

.service-icon svg {
  width: 22px;
  height: 22px;
}

.service-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 0.45rem;
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--silver-bright);
  letter-spacing: -0.025em;
}

.service-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 0.91rem;
  color: var(--muted);
  line-height: 1.62;
}

.note {
  margin: 2.25rem 0 0;
  font-size: 0.95rem;
  color: var(--muted);
  text-align: center;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}

/* Legal */
.section-legal {
  padding-top: clamp(2rem, 5vw, 3rem);
  padding-bottom: clamp(2rem, 5vw, 3rem);
}

.legal-box {
  position: relative;
  background: linear-gradient(165deg, rgba(20, 21, 28, 0.92) 0%, rgba(10, 10, 14, 0.88) 100%);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 1.75rem 1.55rem 1.75rem 1.75rem;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(0, 0, 0, 0.35) inset;
}

.legal-box::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.25rem;
  bottom: 1.25rem;
  width: 3px;
  border-radius: 999px;
  background: var(--accent);
  opacity: 0.65;
  box-shadow: 0 0 18px rgba(220, 228, 240, 0.25);
}

.legal-box.is-revealed::before {
  animation: legalBarGlow 2.4s ease-in-out infinite alternate;
}

@keyframes legalBarGlow {
  from {
    box-shadow: 0 0 12px rgba(220, 228, 240, 0.15);
    opacity: 0.55;
  }
  to {
    box-shadow: 0 0 26px rgba(230, 238, 250, 0.35);
    opacity: 0.85;
  }
}

.legal-title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--silver-bright);
  letter-spacing: -0.02em;
}

.legal-box p {
  margin: 0 0 0.9rem;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
  padding-left: 0.35rem;
}

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

.legal-box strong {
  color: var(--silver);
  font-weight: 600;
}

/* CTA */
.section-cta {
  text-align: center;
  padding: clamp(3.5rem, 10vw, 5rem) clamp(1rem, 4vw, 1.5rem);
  border-top: 1px solid var(--border);
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(180, 192, 210, 0.08), transparent 55%),
    var(--bg-deep);
}

.section-inner--cta {
  max-width: 560px;
}

.cta-panel {
  position: relative;
  padding: clamp(2rem, 5vw, 2.75rem) clamp(1.35rem, 4vw, 2.25rem);
  border-radius: clamp(18px, 2.5vw, 26px);
  background: linear-gradient(170deg, rgba(22, 24, 30, 0.65) 0%, rgba(6, 7, 10, 0.55) 100%);
  backdrop-filter: blur(18px) saturate(1.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.4) inset, 0 36px 72px rgba(0, 0, 0, 0.38), 0 0 80px rgba(130, 150, 185, 0.07);
}

.cta-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.18) 0%, transparent 45%, rgba(255, 255, 255, 0.05) 100%);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  pointer-events: none;
  opacity: 0.65;
}

.section-inner--cta {
  position: relative;
}

.section-cta h2 {
  position: relative;
  z-index: 1;
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3.4vw, 1.95rem);
  font-weight: 700;
  color: var(--silver-bright);
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.cta-text {
  position: relative;
  z-index: 1;
  margin: 0 0 1.9rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.68;
}

.cta-panel .btn {
  position: relative;
  z-index: 1;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem clamp(1rem, 4vw, 1.5rem);
  background: var(--bg-deep);
}

.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  text-align: center;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.footer-nav a {
  color: var(--silver);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
}

.footer-nav a:hover {
  color: var(--silver-bright);
}

@media (min-width: 768px) {
  .footer-nav {
    display: none;
  }
}

.footer-inner p {
  margin: 0.3rem 0;
  font-size: 0.875rem;
  color: var(--muted);
}

.footer-inner strong {
  color: var(--silver-bright);
}

.footer-meta {
  font-size: 0.78rem;
  opacity: 0.8;
}

/* Scroll reveal */
.js-reveal:not(.service-card) {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.js-reveal:not(.service-card).is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.service-card.js-reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.98);
  transition:
    opacity 0.58s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms),
    transform 0.58s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms),
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.service-card.js-reveal.is-revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition:
    opacity 0.58s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.service-card.js-reveal.is-revealed:hover {
  transform: translateY(-4px) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .grain {
    animation: none;
    opacity: 0.03;
  }

  .hero-bg,
  .hero-aurora,
  .hero-glow,
  .hero-slogan,
  .legal-box.is-revealed::before {
    animation: none !important;
  }

  .hero-slogan {
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    color: var(--silver);
  }

  .hero-inner > * {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  .btn-header::after,
  .btn-primary::after {
    display: none;
  }

  .js-reveal {
    transition: none !important;
  }

  .js-reveal:not(.service-card),
  .service-card.js-reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
