/* ===========================================================
   AUTOMIZED — Landing page
   Deep-space premium, toques alien sobre base limpa
   =========================================================== */

:root {
  /* Primary drives the whole purple system (overridable via Tweaks) */
  --primary: #8b5cf6;
  --primary-bright: color-mix(in oklch, var(--primary) 55%, white);
  --primary-deep:   color-mix(in oklch, var(--primary) 65%, black);
  --primary-soft:   color-mix(in oklch, var(--primary) 22%, transparent);
  --glow:           color-mix(in oklch, var(--primary) 45%, transparent);

  /* semantic accents (error / success in the UFO scene) */
  --err: oklch(0.63 0.21 25);
  --ok:  oklch(0.72 0.17 150);

  /* Space base */
  --bg:      oklch(0.155 0.026 286);
  --bg-2:    oklch(0.185 0.030 288);
  --surface: oklch(0.205 0.030 289);
  --surface-2: oklch(0.235 0.032 290);
  --border:  oklch(0.32 0.028 290);
  --border-soft: oklch(0.28 0.026 290 / 0.6);

  --text:   oklch(0.975 0.006 286);
  --muted:  oklch(0.74 0.022 288);
  --muted-2: oklch(0.6 0.022 288);

  /* Space-theme intensity (overridden by .space-* on body) */
  --star-opacity: 0.55;
  --glow-strength: 1;

  --maxw: 1200px;
  --radius: 18px;
  --radius-sm: 12px;

  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

/* space intensity variants */
body.space-sutil      { --star-opacity: 0.22; --glow-strength: 0.55; }
body.space-equilibrado{ --star-opacity: 0.55; --glow-strength: 1; }
body.space-imersivo   { --star-opacity: 0.9;  --glow-strength: 1.55; }

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* ---------- Cosmic background ---------- */
.cosmos {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.cosmos .nebula {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: calc(0.5 * var(--glow-strength));
}
.cosmos .nebula.a {
  width: 720px; height: 720px;
  top: -260px; left: -180px;
  background: radial-gradient(circle, var(--primary) 0%, transparent 68%);
}
.cosmos .nebula.b {
  width: 620px; height: 620px;
  bottom: -240px; right: -160px;
  background: radial-gradient(circle, color-mix(in oklch, var(--primary) 80%, #3aa0ff) 0%, transparent 70%);
  opacity: calc(0.32 * var(--glow-strength));
}
.cosmos .stars {
  position: absolute;
  inset: -10%;
  opacity: var(--star-opacity);
  background-image:
    radial-gradient(1px 1px at 12% 22%, #fff, transparent),
    radial-gradient(1px 1px at 28% 68%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 47% 14%, #fff, transparent),
    radial-gradient(1px 1px at 63% 52%, #fff, transparent),
    radial-gradient(1px 1px at 78% 28%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 88% 74%, #fff, transparent),
    radial-gradient(1px 1px at 8% 86%, #fff, transparent),
    radial-gradient(1px 1px at 38% 92%, #fff, transparent),
    radial-gradient(1px 1px at 56% 80%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 70% 8%, #fff, transparent),
    radial-gradient(1px 1px at 92% 44%, #fff, transparent),
    radial-gradient(1px 1px at 19% 48%, #fff, transparent);
  background-repeat: repeat;
  background-size: 100% 100%;
  animation: twinkle 6s ease-in-out infinite alternate;
}
@keyframes twinkle { from { opacity: calc(var(--star-opacity) * 0.6); } to { opacity: var(--star-opacity); } }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
main { position: relative; z-index: 1; }
section { position: relative; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary-bright);
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--primary-bright);
  box-shadow: 0 0 12px var(--primary-bright);
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; line-height: 1.06; }

.section-title { font-size: clamp(30px, 4vw, 48px); margin: 18px 0 0; }
.section-intro { color: var(--muted); font-size: clamp(16px, 1.4vw, 19px); max-width: 620px; margin-top: 18px; }

.mark-purple { color: var(--primary-bright); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  padding: 15px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .25s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(180deg, var(--primary-bright), var(--primary));
  color: #fff;
  box-shadow: 0 10px 30px -8px var(--glow), inset 0 1px 0 rgba(255,255,255,.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 42px -10px var(--glow), inset 0 1px 0 rgba(255,255,255,.4); }
.btn-ghost {
  background: color-mix(in oklch, var(--surface) 60%, transparent);
  color: var(--text);
  border-color: var(--border);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { border-color: var(--primary); transform: translateY(-2px); }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: color-mix(in oklch, var(--bg) 72%, transparent);
  border-bottom: 1px solid var(--border-soft);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--text); }
.brand .wordmark { font-family: var(--font-display); font-weight: 700; font-size: 21px; letter-spacing: -0.01em; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 600; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 14px; }

/* ---------- Hero ---------- */
.hero { padding: clamp(48px, 8vw, 96px) 0 clamp(60px, 9vw, 110px); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}
.hero h1 { font-size: clamp(38px, 6vw, 70px); margin: 22px 0 0; }
.hero p.lead { font-size: clamp(17px, 1.7vw, 21px); color: var(--muted); margin-top: 24px; max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 34px; color: var(--muted-2); font-size: 14px; font-weight: 600; }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust span::before { content: "✦"; color: var(--primary-bright); }

/* ---------- UFO scene ---------- */
.scene {
  position: relative;
  height: 460px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.scene-orbit {
  position: absolute;
  width: 380px; height: 380px;
  top: 40px;
  border-radius: 50%;
  border: 1px dashed color-mix(in oklch, var(--primary) 40%, transparent);
  opacity: calc(0.5 * var(--glow-strength));
}
.ufo-rig { position: relative; width: 320px; animation: bob 5.5s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }

/* beam */
.beam {
  position: absolute;
  top: 86px;
  left: 50%;
  transform: translateX(-50%);
  width: 230px;
  height: 320px;
  clip-path: polygon(34% 0, 66% 0, 100% 100%, 0 100%);
  background: linear-gradient(to bottom,
    color-mix(in oklch, var(--primary) 60%, transparent) 0%,
    color-mix(in oklch, var(--primary) 28%, transparent) 35%,
    transparent 92%);
  filter: blur(0.5px);
  animation: beampulse 3.2s ease-in-out infinite;
  z-index: 1;
}
@keyframes beampulse { 0%,100% { opacity: calc(0.85 * var(--glow-strength)); } 50% { opacity: calc(0.5 * var(--glow-strength)); } }
.beam-floor {
  position: absolute;
  bottom: -10px; left: 50%;
  transform: translateX(-50%);
  width: 230px; height: 46px;
  background: radial-gradient(ellipse at center, var(--glow) 0%, transparent 70%);
  filter: blur(4px);
}

/* ===== messy process going UP (errors / "o caos manual") ===== */
.doc {
  position: absolute;
  left: 50%;
  width: 56px; height: 70px;
  border-radius: 7px;
  background: linear-gradient(160deg, #ffffff, #ece8f3);
  box-shadow: 0 8px 24px -6px rgba(0,0,0,.4);
  z-index: 2;
}
/* uneven, scribbly lines = disorganized */
.doc::before, .doc::after {
  content: ""; position: absolute; left: 9px; height: 3.5px; border-radius: 2px;
  background: color-mix(in oklch, var(--err) 30%, #b9b2c8);
}
.doc::before { top: 15px; width: 32px; box-shadow: 0 9px 0 -1px #c3bccf, 0 18px 0 1px #c9c2d8; }
.doc::after  { top: 42px; width: 20px; }
.doc .err {
  position: absolute; right: -8px; top: -8px;
  width: 22px; height: 22px; border-radius: 50%;
  background: linear-gradient(180deg, oklch(0.68 0.2 25), oklch(0.55 0.21 25));
  border: 2px solid #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 12px oklch(0.6 0.21 25 / .65);
}
.doc .err svg { width: 11px; height: 11px; color: #fff; display: block; }

.doc.d1 { transform: translateX(-50%) rotate(-9deg); animation: rise1 6s ease-in-out infinite; }
.doc.d2 { width: 46px; height: 58px; transform: translateX(-50%) rotate(11deg); animation: rise2 6s ease-in-out infinite; }
.doc.d3 { width: 50px; height: 62px; transform: translateX(-50%) rotate(-3deg); animation: rise3 6s ease-in-out infinite; }
@keyframes rise1 {
  0%   { top: 300px; opacity: 0; transform: translateX(-20%) rotate(-9deg) scale(.8); }
  8%   { opacity: 1; }
  38%  { opacity: 1; }
  46%, 100% { top: 128px; opacity: 0; transform: translateX(-64%) rotate(-16deg) scale(1); }
}
@keyframes rise2 {
  0%   { top: 322px; opacity: 0; transform: translateX(-80%) rotate(11deg) scale(.7); }
  6%   { opacity: 1; }
  40%  { opacity: 1; }
  48%, 100% { top: 140px; opacity: 0; transform: translateX(-36%) rotate(18deg) scale(.95); }
}
@keyframes rise3 {
  0%   { top: 330px; opacity: 0; transform: translateX(-52%) rotate(-3deg) scale(.65); }
  12%  { opacity: 1; }
  42%  { opacity: 1; }
  50%, 100% { top: 134px; opacity: 0; transform: translateX(-54%) rotate(4deg) scale(.92); }
}

/* ===== resolved result delivered DOWN ("devolvido automatizado") ===== */
.doc-out {
  position: absolute;
  left: 50%;
  width: 76px; height: 92px;
  border-radius: 9px;
  background: linear-gradient(160deg, #ffffff, #f1eff8);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.5),
    0 0 24px -4px oklch(0.72 0.16 150 / .45),
    0 14px 34px -6px var(--glow);
  z-index: 3;
  animation: deliver 6s ease-in-out infinite;
}
.doc-out .bar {
  position: absolute; top: 12px; left: 11px;
  width: 38px; height: 5px; border-radius: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-bright));
}
.doc-out .task {
  position: absolute; left: 11px;
  display: flex; align-items: center; gap: 6px;
}
.doc-out .task::after {
  content: ""; width: 34px; height: 4px; border-radius: 2px;
  background: color-mix(in oklch, var(--primary) 22%, #d6d0e6);
}
.doc-out .task:nth-of-type(1) { top: 32px; }
.doc-out .task:nth-of-type(2) { top: 50px; }
.doc-out .task:nth-of-type(3) { top: 68px; }
.doc-out .tick {
  width: 15px; height: 15px; border-radius: 50%; flex: none;
  background: linear-gradient(180deg, oklch(0.79 0.16 150), oklch(0.65 0.17 150));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 8px oklch(0.72 0.17 150 / .5);
}
.doc-out .tick svg { width: 9px; height: 9px; color: #fff; display: block; }
.doc-out .seal {
  position: absolute; right: -11px; bottom: -11px;
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(180deg, var(--primary-bright), var(--primary));
  border: 2.5px solid #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 18px var(--glow);
  animation: seal-pop 6s ease-in-out infinite;
}
.doc-out .seal svg { width: 17px; height: 17px; color: #fff; display: block; }
@keyframes deliver {
  0%, 48%   { top: 120px; opacity: 0; transform: translateX(-50%) scale(.5) rotate(0deg); }
  57%       { top: 152px; opacity: 1; transform: translateX(-47%) scale(1) rotate(3deg); }
  90%       { opacity: 1; }
  100%      { top: 300px; opacity: 0; transform: translateX(-56%) scale(1) rotate(-3deg); }
}
@keyframes seal-pop {
  0%, 56%   { transform: scale(0) rotate(-50deg); }
  64%       { transform: scale(1.25) rotate(0deg); }
  70%, 100% { transform: scale(1) rotate(0deg); }
}

/* the saucer */
.ufo { position: relative; z-index: 4; width: 320px; height: 130px; margin: 0 auto; }
.dome {
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  width: 150px; height: 96px;
  border-radius: 75px 75px 14px 14px / 90px 90px 14px 14px;
  background:
    radial-gradient(ellipse 60% 50% at 38% 30%, rgba(255,255,255,.55), transparent 60%),
    linear-gradient(160deg, color-mix(in oklch, var(--primary-bright) 70%, white) 0%, var(--primary) 55%, var(--primary-deep) 100%);
  box-shadow: inset 0 -10px 22px -6px rgba(0,0,0,.4), 0 0 38px -6px var(--glow);
}
.body {
  position: absolute;
  top: 78px; left: 50%;
  transform: translateX(-50%);
  width: 320px; height: 78px;
  border-radius: 50%;
  background:
    linear-gradient(180deg, color-mix(in oklch, var(--primary-bright) 50%, white) 0%, var(--primary) 30%, var(--primary-deep) 78%, color-mix(in oklch, var(--primary-deep) 70%, black) 100%);
  box-shadow: 0 22px 48px -14px var(--glow), inset 0 3px 0 rgba(255,255,255,.35), inset 0 -12px 24px -8px rgba(0,0,0,.5);
}
.body .rim {
  position: absolute;
  top: 30px; left: 50%;
  transform: translateX(-50%);
  width: 300px; height: 26px;
  border-radius: 50%;
  background: linear-gradient(180deg, color-mix(in oklch, var(--primary-deep) 60%, black), color-mix(in oklch, var(--primary-deep) 90%, black));
}
.lights { position: absolute; top: 96px; left: 50%; transform: translateX(-50%); width: 250px; height: 28px; z-index: 5; }
.lights i {
  position: absolute;
  top: 0;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 12px 2px var(--primary-bright);
  animation: blink 1.6s ease-in-out infinite;
}
.lights i:nth-child(1) { left: 0%;   animation-delay: 0s; }
.lights i:nth-child(2) { left: 22%;  animation-delay: .2s; }
.lights i:nth-child(3) { left: 44.5%; animation-delay: .4s; }
.lights i:nth-child(4) { left: 67%;  animation-delay: .6s; }
.lights i:nth-child(5) { left: 89%;  animation-delay: .8s; }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: .25; } }

/* reduce-motion / tweak off */
body.no-ufo-anim .ufo-rig,
body.no-ufo-anim .beam,
body.no-ufo-anim .doc,
body.no-ufo-anim .doc-out,
body.no-ufo-anim .doc-out .seal,
body.no-ufo-anim .lights i,
body.no-ufo-anim .stars { animation: none !important; }
body.no-ufo-anim .doc.d2 { display: none; }
body.no-ufo-anim .doc.d1 { top: 170px; left: 34%; opacity: 1; transform: translateX(-54%) rotate(-13deg); }
body.no-ufo-anim .doc.d3 { top: 188px; left: 46%; opacity: 1; transform: translateX(-54%) rotate(6deg); }
body.no-ufo-anim .doc-out { top: 200px; left: 66%; opacity: 1; transform: translateX(-50%) rotate(3deg); }
body.no-ufo-anim .doc-out .seal { transform: scale(1); }

/* ---------- Why automate ---------- */
.why { padding: clamp(60px, 9vw, 110px) 0; }

/* connected step "trajectory" — no boxes */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin-top: 66px;
}
/* the flight path linking the nodes */
.steps::before {
  content: "";
  position: absolute;
  top: 29px;
  left: 16.667%;
  right: 16.667%;
  height: 2px;
  background: repeating-linear-gradient(90deg,
    color-mix(in oklch, var(--primary) 75%, transparent) 0 7px,
    transparent 7px 17px);
  opacity: calc(0.7 * var(--glow-strength));
}
.step { position: relative; text-align: center; }
.step-node {
  position: relative;
  z-index: 1;
  width: 58px; height: 58px;
  margin: 0 auto 26px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700; font-size: 21px;
  letter-spacing: -0.01em;
  color: var(--primary-bright);
  background: radial-gradient(circle at 50% 32%, color-mix(in oklch, var(--primary) 26%, var(--bg)), var(--bg) 78%);
  border: 1.5px solid color-mix(in oklch, var(--primary) 52%, transparent);
  box-shadow:
    inset 0 0 18px color-mix(in oklch, var(--primary) 28%, transparent),
    0 0 0 6px var(--bg),
    0 0 26px -4px var(--glow);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.step:hover .step-node {
  transform: translateY(-4px) scale(1.06);
  border-color: var(--primary-bright);
  box-shadow:
    inset 0 0 22px color-mix(in oklch, var(--primary) 38%, transparent),
    0 0 0 6px var(--bg),
    0 0 34px -2px var(--glow);
}
.step h3 { font-size: 23px; margin-bottom: 12px; transition: color .2s ease; }
.step:hover h3 { color: var(--primary-bright); }
.step p { color: var(--muted); font-size: 15.5px; max-width: 310px; margin: 0 auto; text-wrap: pretty; }

.why-quote {
  margin-top: 56px;
  border-left: 3px solid var(--primary);
  padding: 6px 0 6px 26px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  max-width: 860px;
}

/* ---------- Services ---------- */
.services { padding: clamp(60px, 9vw, 110px) 0; }
.services-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; }
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 52px; }
.svc {
  position: relative;
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 32px 30px 34px;
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.svc::after {
  content: "";
  position: absolute;
  top: -40px; right: -40px;
  width: 160px; height: 160px;
  background: radial-gradient(circle, var(--primary-soft), transparent 70%);
  opacity: 0; transition: opacity .3s ease;
}
.svc:hover { transform: translateY(-4px); border-color: var(--primary); box-shadow: 0 26px 54px -24px var(--glow); }
.svc:hover::after { opacity: calc(1 * var(--glow-strength)); }
.svc-icon {
  width: 52px; height: 52px;
  border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  background: color-mix(in oklch, var(--primary) 18%, var(--surface-2));
  border: 1px solid color-mix(in oklch, var(--primary) 35%, transparent);
  color: var(--primary-bright);
  margin-bottom: 22px;
}
.svc-icon svg { width: 26px; height: 26px; }
.svc h3 { font-size: 23px; margin-bottom: 11px; }
.svc p { color: var(--muted); font-size: 15.5px; position: relative; z-index: 1; }
.svc .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; position: relative; z-index: 1; }
.svc .tags span {
  font-size: 12.5px; font-weight: 600;
  color: var(--muted);
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: color-mix(in oklch, var(--bg) 50%, transparent);
}

/* ---------- Final CTA ---------- */
.cta { padding: clamp(40px, 6vw, 80px) 0 clamp(70px, 10vw, 120px); }
.cta-card {
  position: relative;
  border-radius: 28px;
  padding: clamp(44px, 6vw, 78px) clamp(28px, 5vw, 70px);
  text-align: center;
  background:
    radial-gradient(ellipse 80% 120% at 50% -20%, var(--primary-soft), transparent 60%),
    linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border);
  overflow: hidden;
}
.cta-card .mini-ufo {
  width: 86px; height: 40px; margin: 0 auto 26px;
  position: relative;
}
.cta-card .mini-ufo .md { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 40px; height: 26px; border-radius: 22px 22px 6px 6px; background: linear-gradient(160deg, var(--primary-bright), var(--primary-deep)); }
.cta-card .mini-ufo .mb { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 86px; height: 24px; border-radius: 50%; background: linear-gradient(180deg, var(--primary), var(--primary-deep)); box-shadow: 0 10px 26px -8px var(--glow); }
.cta-card h2 { font-size: clamp(30px, 4.4vw, 52px); }
.cta-card p { color: var(--muted); font-size: clamp(16px, 1.6vw, 20px); max-width: 560px; margin: 20px auto 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 38px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border-soft); padding: 46px 0 56px; position: relative; z-index: 1; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer .slogan { color: var(--muted); font-size: 14.5px; max-width: 380px; margin-top: 8px; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 14.5px; font-weight: 600; transition: color .2s; }
.footer-links a:hover { color: var(--primary-bright); }
.copyright { color: var(--muted-2); font-size: 13px; margin-top: 26px; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .scene { height: 380px; order: -1; margin-bottom: 10px; }
  .pillars { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 30px; }
  .steps::before { display: none; }
  .svc-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; justify-content: center; }
  .scene { transform: scale(.85); }
}

/* ---------- Reduced motion (accessibility) ---------- */
/* Mirrors the .no-ufo-anim resting state for users who request less motion. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ufo-rig,
  .beam,
  .doc,
  .doc-out,
  .doc-out .seal,
  .lights i,
  .stars { animation: none !important; }
  .doc.d2 { display: none; }
  .doc.d1 { top: 170px; left: 34%; opacity: 1; transform: translateX(-54%) rotate(-13deg); }
  .doc.d3 { top: 188px; left: 46%; opacity: 1; transform: translateX(-54%) rotate(6deg); }
  .doc-out { top: 200px; left: 66%; opacity: 1; transform: translateX(-50%) rotate(3deg); }
  .doc-out .seal { transform: scale(1); }
}
