/* ==========================================================================
   PQueiroz — Hub
   Preto profundo, ciano e azul elétrico, órbitas inspiradas no logo.
   ========================================================================== */

:root {
  --bg: #030406;
  --bg-soft: #07090d;
  --card: rgba(255, 255, 255, 0.025);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #f4f7fb;
  --muted: #9aa3b2;
  --faint: #5d6573;
  --cyan: #00bffa;
  --blue: #2f7bff;
  --mint: #7fe7d9;
  --grad: linear-gradient(100deg, #ffffff 0%, #7fe7d9 30%, #00bffa 58%, #2f7bff 100%);
  --radius: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "DM Mono", ui-monospace, monospace;
  --wrap: min(1240px, calc(100% - 64px));
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

::selection {
  background: rgba(0, 191, 250, 0.3);
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 8px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--cyan);
  color: #001018;
  font: 500 13px var(--body);
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.2s;
}

.skip-link:focus {
  transform: none;
}

/* --- Fundo ------------------------------------------------------------------ */

.bg-aurora {
  position: fixed;
  inset: 0;
  z-index: -3;
  overflow: hidden;
  pointer-events: none;
}

.bg-aurora span {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  animation: drift 22s var(--ease) infinite alternate;
}

.bg-aurora span:nth-child(1) {
  width: 620px;
  height: 620px;
  top: -260px;
  right: -120px;
  background: radial-gradient(circle, rgba(0, 191, 250, 0.35), transparent 70%);
}

.bg-aurora span:nth-child(2) {
  width: 520px;
  height: 520px;
  top: 30%;
  left: -260px;
  background: radial-gradient(circle, rgba(47, 123, 255, 0.28), transparent 70%);
  animation-duration: 28s;
}

.bg-aurora span:nth-child(3) {
  width: 460px;
  height: 460px;
  bottom: -220px;
  right: 18%;
  background: radial-gradient(circle, rgba(127, 231, 217, 0.18), transparent 70%);
  animation-duration: 34s;
}

@keyframes drift {
  to {
    transform: translate3d(60px, 40px, 0) scale(1.12);
  }
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 60% at 70% 20%, #000 10%, transparent 75%);
}

.page-noise {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.side-type {
  position: fixed;
  z-index: 2;
  right: 18px;
  top: 50%;
  color: rgba(255, 255, 255, 0.22);
  font: 10px var(--mono);
  letter-spacing: 3px;
  writing-mode: vertical-rl;
  transform: translateY(-50%) rotate(180deg);
}

/* --- Logo (recorte do anel "PQ" do logo original) --------------------------- */

.logo-mark {
  --s: 38px;
  flex: none;
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  background: #0d0f12 url("assets/logo.jpg") no-repeat;
  background-size: calc(var(--s) * 2.56) auto;
  background-position: calc(var(--s) * -0.78) calc(var(--s) * -0.378);
  box-shadow:
    0 0 0 1px rgba(0, 191, 250, 0.35),
    0 0 22px rgba(0, 191, 250, 0.25);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font: 600 16px var(--display);
  letter-spacing: -0.02em;
}

/* --- Header ----------------------------------------------------------------- */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition:
    background 0.3s,
    border-color 0.3s,
    backdrop-filter 0.3s;
}

.header.scrolled {
  background: rgba(3, 4, 6, 0.72);
  border-color: var(--line);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
}

.header-inner {
  width: var(--wrap);
  height: 84px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header nav {
  display: flex;
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
}

.header nav a {
  padding: 8px 16px;
  border-radius: 999px;
  color: var(--muted);
  font: 500 12px var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition:
    color 0.2s,
    background 0.2s;
}

.header nav a:hover,
.header nav a.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font: 500 12px var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition:
    border-color 0.25s,
    box-shadow 0.25s,
    background 0.25s;
}

.header-cta:hover {
  border-color: rgba(0, 191, 250, 0.6);
  background: rgba(0, 191, 250, 0.06);
  box-shadow: 0 0 28px rgba(0, 191, 250, 0.18);
}

.header-cta i {
  color: var(--cyan);
  font-style: normal;
  font-size: 15px;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 0 rgba(127, 231, 217, 0.6);
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 8px rgba(127, 231, 217, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(127, 231, 217, 0);
  }
}

/* --- Botões ----------------------------------------------------------------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font: 500 15px var(--body);
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s,
    background 0.3s,
    border-color 0.3s;
}

.btn span {
  transition: transform 0.3s var(--ease);
}

.btn:hover span {
  transform: translate(3px, 0);
}

.btn-primary {
  color: #00111a;
  background: linear-gradient(120deg, #7fe7d9, #00bffa 45%, #2f7bff);
  box-shadow:
    0 10px 30px -10px rgba(0, 191, 250, 0.7),
    inset 0 1px rgba(255, 255, 255, 0.5);
  font-weight: 600;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 16px 40px -12px rgba(0, 191, 250, 0.9),
    inset 0 1px rgba(255, 255, 255, 0.6);
}

.btn-ghost {
  color: var(--text);
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
}

.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 191, 250, 0.5);
  background: rgba(0, 191, 250, 0.06);
}

.btn-lg {
  padding: 17px 28px;
  font-size: 16px;
}

/* --- Layout / tipografia -------------------------------------------------------- */

.site-wrap {
  width: var(--wrap);
  margin: auto;
}

.kicker,
.eyebrow {
  margin: 0;
  color: var(--cyan);
  font: 500 12px var(--mono);
  letter-spacing: 0.16em;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid rgba(0, 191, 250, 0.25);
  border-radius: 999px;
  background: rgba(0, 191, 250, 0.05);
}

.kicker span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
}

/* --- Hero ------------------------------------------------------------------- */

.hero {
  min-height: calc(100svh - 84px);
  max-height: 900px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: 40px;
  padding: 48px 0 72px;
}

.hero h1 {
  margin: 28px 0 24px;
  font: 400 clamp(56px, 8.4vw, 124px) / 0.92 var(--display);
  letter-spacing: -0.045em;
}

.hero h1 em {
  font-style: normal;
  font-weight: 700;
  background: var(--grad);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 8s ease-in-out infinite alternate;
}

@keyframes shine {
  to {
    background-position: 100% 0;
  }
}

.hero-lead {
  max-width: 440px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

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

.person {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  max-width: 440px;
}

.person .logo-mark {
  --s: 42px;
}

.person b,
.person small {
  display: block;
}

.person b {
  font: 600 15px var(--display);
}

.person small {
  color: var(--faint);
  font-size: 13px;
}

/* Órbitas: ecoam os anéis e o ponto do logo. */

.orbit {
  --size: min(460px, 38vw);
  position: relative;
  justify-self: center;
  width: var(--size);
  aspect-ratio: 1;
  translate: var(--px, 0) var(--py, 0);
  transition: translate 0.6s var(--ease);
}

.orbit-glow {
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 191, 250, 0.28), transparent 70%);
  filter: blur(30px);
}

.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(47, 123, 255, 0.35);
  animation: spin 40s linear infinite;
}

.ring-1 {
  inset: 0;
  border-color: rgba(47, 123, 255, 0.4);
  box-shadow:
    0 0 60px rgba(0, 191, 250, 0.06),
    inset 0 0 60px rgba(0, 191, 250, 0.05);
}

.ring-2 {
  inset: 13%;
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.1);
  animation-duration: 60s;
  animation-direction: reverse;
}

.ring-3 {
  inset: 26%;
  border-color: rgba(127, 231, 217, 0.45);
  animation-duration: 24s;
}

.planet {
  position: absolute;
  top: 50%;
  left: -7px;
  width: 14px;
  height: 14px;
  margin-top: -7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow:
    0 0 0 4px #0a0c10,
    0 0 20px 4px rgba(47, 123, 255, 0.8);
}

.ring-2 .planet {
  top: 0;
  left: 50%;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  background: #fff;
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.8);
}

.ring-3 .planet {
  top: auto;
  bottom: 6%;
  left: auto;
  right: 6%;
  width: 9px;
  height: 9px;
  background: var(--mint);
  box-shadow: 0 0 16px var(--mint);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.orbit-core {
  position: absolute;
  inset: 31%;
  border-radius: 50%;
  background: #0d0f12 url("assets/logo.jpg") no-repeat;
  /* O tamanho do núcleo é relativo à órbita: 38% de --size. */
  background-size: calc(var(--size) * 0.38 * 2.56) auto;
  background-position: calc(var(--size) * 0.38 * -0.78) calc(var(--size) * 0.38 * -0.378);
  box-shadow:
    0 0 0 1px rgba(127, 231, 217, 0.35),
    0 0 60px rgba(0, 191, 250, 0.35);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  50% {
    transform: translateY(-8px);
  }
}

.orbit-label {
  position: absolute;
  padding: 6px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(7, 9, 13, 0.8);
  backdrop-filter: blur(6px);
  color: var(--muted);
  font: 500 11px var(--mono);
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.label-web {
  top: 10%;
  right: -2%;
}

.label-sys {
  bottom: 12%;
  left: -6%;
}

.label-app {
  bottom: 22%;
  right: -8%;
}

/* --- Marquee ----------------------------------------------------------------- */

.marquee {
  position: relative;
  overflow: hidden;
  padding: 22px 0;
  border-block: 1px solid var(--line);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: marquee 36s linear infinite;
}

.marquee span {
  color: rgba(255, 255, 255, 0.78);
  font: 300 clamp(22px, 2.6vw, 34px) var(--display);
  letter-spacing: -0.02em;
}

.marquee i {
  color: var(--cyan);
  font-style: normal;
  font-size: 14px;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* --- Destinos ------------------------------------------------------------------ */

.destinations {
  padding: 120px 0 100px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}

.section-heading h2,
.contact-panel h2 {
  margin: 14px 0 0;
  font: 400 clamp(36px, 4.6vw, 64px) / 1 var(--display);
  letter-spacing: -0.04em;
}

.section-heading .count {
  color: var(--faint);
  font: 500 12px var(--mono);
  letter-spacing: 0.14em;
}

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

.project-card {
  --mx: 50%;
  --my: 0%;
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015) 40%);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.07);
  text-decoration: none;
  overflow: hidden;
  transition:
    transform 0.5s var(--ease),
    box-shadow 0.5s;
}

/* Borda em degradê que acende no hover. */
.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  padding: 1px;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(0, 191, 250, 0.8), transparent 45%), var(--line);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

/* Spotlight que segue o cursor. */
.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(600px circle at var(--mx) var(--my), rgba(0, 191, 250, 0.1), transparent 40%);
  opacity: 0;
  transition: opacity 0.4s;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 30px 80px -30px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(0, 191, 250, 0.08),
    inset 0 1px rgba(255, 255, 255, 0.1);
}

.project-card:hover::after {
  opacity: 1;
}

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--faint);
  font: 500 12px var(--mono);
  letter-spacing: 0.14em;
}

.card-head i {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--cyan);
  font-style: normal;
  font-size: 18px;
  transition:
    transform 0.4s var(--ease),
    background 0.3s,
    color 0.3s,
    border-color 0.3s;
}

.project-card:hover .card-head i {
  transform: rotate(45deg);
  background: var(--cyan);
  border-color: var(--cyan);
  color: #00111a;
}

.card-title {
  margin-top: 36px;
}

.card-title p {
  margin: 0 0 10px;
  color: var(--cyan);
  font: 500 12px var(--mono);
  letter-spacing: 0.16em;
}

.card-title h3 {
  margin: 0;
  font: 400 clamp(40px, 4.4vw, 58px) / 1 var(--display);
  letter-spacing: -0.045em;
}

.card-title h3::first-letter {
  font-weight: 700;
}

.browser {
  margin: 30px 0 0;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  overflow: hidden;
  background: #05070a;
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.9);
  transition: transform 0.6s var(--ease);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.browser-bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}

.browser-bar span {
  margin-left: 10px;
  padding: 3px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--faint);
  font: 11px var(--mono);
}

.browser img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top;
  filter: saturate(0.9);
  transition:
    transform 0.8s var(--ease),
    filter 0.4s;
}

.project-card:hover .browser {
  transform: translateY(-4px);
}

.project-card:hover .browser img {
  transform: scale(1.04);
  filter: saturate(1.05);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.tags li {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
}

.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 24px;
  color: var(--muted);
  font-size: 15px;
}

.tags + .card-foot {
  margin-top: 24px;
  border-top: 1px solid var(--line);
}

.card-foot b {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cyan);
  font: 500 12px var(--mono);
  letter-spacing: 0.14em;
  white-space: nowrap;
}

.card-foot b i {
  font-style: normal;
  transition: transform 0.3s var(--ease);
}

.project-card:hover .card-foot b i {
  transform: translateX(4px);
}

/* --- Contato ------------------------------------------------------------------ */

.contact-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-bottom: 80px;
  padding: clamp(48px, 7vw, 96px) clamp(24px, 6vw, 80px);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 8px);
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(47, 123, 255, 0.2), transparent 60%),
    radial-gradient(ellipse 50% 70% at 0% 100%, rgba(127, 231, 217, 0.1), transparent 60%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  text-align: center;
}

.contact-glow {
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 100%;
  width: 70%;
  height: 300px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(0, 191, 250, 0.35), transparent 70%);
  filter: blur(40px);
}

.contact-panel h2 {
  font-size: clamp(42px, 6.4vw, 92px);
  margin-top: 18px;
}

.contact-panel h2 em {
  font-style: normal;
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.contact-lead {
  max-width: 480px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 18px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}

/* --- Rodapé ------------------------------------------------------------------- */

.footer {
  border-top: 1px solid var(--line);
}

.footer-inner {
  width: var(--wrap);
  min-height: 104px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer .logo-mark {
  --s: 30px;
}

.copy {
  color: var(--faint);
  font: 12px var(--mono);
  letter-spacing: 0.14em;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.footer-links a {
  color: var(--muted);
  font: 500 13px var(--mono);
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--cyan);
}

.to-top {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
}

.to-top:hover {
  border-color: var(--cyan);
}

/* --- Entrada ao rolar (só com JS; sem JS tudo aparece) ------------------------------ */

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.9s var(--ease) var(--d, 0ms),
    transform 0.9s var(--ease) var(--d, 0ms);
}

.js .reveal.in {
  opacity: 1;
  transform: none;
}

/* O card tem transição própria no hover; depois de revelado, ela volta a valer. */
.js .project-card.reveal.in {
  transition:
    opacity 0.9s var(--ease) var(--d, 0ms),
    transform 0.5s var(--ease),
    box-shadow 0.5s;
}

/* --- Responsivo --------------------------------------------------------------------- */

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    max-height: none;
    padding-top: 40px;
  }

  .orbit {
    --size: min(360px, 78vw);
    order: -1;
    margin-bottom: 8px;
  }

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

@media (max-width: 700px) {
  :root {
    --wrap: calc(100% - 32px);
  }

  .side-type,
  .header nav {
    display: none;
  }

  .header-inner {
    height: 68px;
  }

  .header-cta {
    padding: 9px 14px;
    font-size: 11px;
  }

  .hero {
    padding: 24px 0 56px;
    gap: 16px;
  }

  .orbit {
    --size: min(280px, 72vw);
  }

  .orbit-label {
    font-size: 10px;
  }

  .label-web {
    right: -4%;
  }

  .label-sys {
    left: -4%;
  }

  .label-app {
    right: -4%;
  }

  .hero h1 {
    font-size: clamp(48px, 15vw, 72px);
    margin: 22px 0 18px;
  }

  .hero-lead,
  .contact-lead {
    font-size: 16px;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
    justify-content: center;
  }

  .destinations {
    padding: 80px 0 64px;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 10px;
  }

  .project-card {
    padding: 22px;
  }

  .card-title {
    margin-top: 26px;
  }

  .card-foot {
    font-size: 14px;
  }

  .contact-panel {
    margin-bottom: 48px;
    text-align: left;
  }

  .contact-lead {
    margin-left: 0;
  }

  .contact-actions {
    justify-content: flex-start;
  }

  .contact-actions .btn {
    flex: 1 1 100%;
    justify-content: center;
  }

  .footer-inner {
    flex-wrap: wrap;
    justify-content: center;
    padding: 28px 0;
    text-align: center;
  }

  .copy {
    order: 3;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
