:root {
  --bg: #060817;
  --bg-soft: #10173b;
  --panel: rgba(14, 20, 48, 0.76);
  --line: rgba(132, 214, 255, 0.2);
  --white: #eef4ff;
  --muted: #a9b7d9;
  --cyan: #2abef4;
  --cyan-deep: #13789a;
  --coral: #f55a71;
  --crimson: #c60f35;
  --silver: #d8dbe4;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--white);
  background:
    radial-gradient(circle at top, rgba(42, 190, 244, 0.18), transparent 32%),
    radial-gradient(circle at 15% 20%, rgba(245, 90, 113, 0.2), transparent 20%),
    linear-gradient(180deg, #070b1f 0%, #05070f 100%);
  font-family: "Bahnschrift", "Trebuchet MS", sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

body::before {
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.8) 0 1px, transparent 1.4px),
    radial-gradient(circle, rgba(42, 190, 244, 0.75) 0 1px, transparent 1.8px),
    radial-gradient(circle, rgba(255, 255, 255, 0.65) 0 1px, transparent 1.2px);
  background-size: 180px 180px, 240px 240px, 320px 320px;
  background-position: 0 0, 20px 60px, 90px 130px;
  opacity: 0.35;
  animation: star-drift 26s linear infinite;
}

body::after {
  display: none;
}

.site-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  position: relative;
  padding: 24px 0 48px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8, 12, 28, 0.75);
  backdrop-filter: blur(18px);
  position: sticky;
  top: 18px;
  z-index: 10;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  text-decoration: none;
  font-family: "Agency FB", "Bahnschrift", sans-serif;
  font-size: 1.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 22px;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.98rem;
}

.nav-links a:hover {
  color: var(--white);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 34px;
  align-items: center;
  min-height: calc(100vh - 140px);
}

.eyebrow {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.78rem;
  color: var(--cyan);
}

.hero-copy h1,
.section-heading h2,
.contact-copy h2 {
  margin: 0;
  font-family: "Agency FB", "Bahnschrift", sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 0.95;
}

.hero-copy h1 {
  font-size: clamp(3.8rem, 9vw, 6.8rem);
  max-width: 9ch;
}

.hero-text,
.section p,
.service-card p,
.timeline p,
.portfolio-card p,
.contact-copy p,
.metrics span {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.02rem;
}

.hero-text {
  max-width: 60ch;
  margin: 22px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--coral), var(--crimson));
  color: #fff;
  box-shadow: 0 18px 36px rgba(198, 15, 53, 0.35);
}

.button-secondary {
  border: 1px solid rgba(42, 190, 244, 0.4);
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
}

.hero-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.hero-points li {
  position: relative;
  padding-left: 20px;
  color: var(--silver);
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--coral));
  box-shadow: 0 0 14px rgba(42, 190, 244, 0.8);
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 620px;
}

.rocket-stage {
  position: relative;
  width: min(100%, 660px);
  min-height: 660px;
  display: grid;
  place-items: center;
  animation: rocket-flight 7.5s ease-in-out infinite;
}

.rocket-body {
  position: relative;
  width: min(100%, 640px);
  height: 640px;
  display: grid;
  place-items: center;
}

.visual-model {
  position: relative;
  z-index: 2;
  display: block;
  width: min(100%, 640px);
  height: 640px;
  background-color: transparent;
  --poster-color: transparent;
  transform: rotate(-49deg) translateY(-8px);
}

.rocket-heat {
  position: absolute;
  z-index: 1;
  left: 37%;
  top: 8%;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 240, 164, 0.16) 0%, rgba(255, 153, 89, 0.16) 36%, rgba(245, 90, 113, 0.12) 60%, rgba(245, 90, 113, 0) 78%);
  filter: blur(10px);
  mix-blend-mode: screen;
  animation: nose-heat 2s ease-in-out infinite alternate;
}

.rocket-flame {
  position: absolute;
  z-index: 1;
  left: 60%;
  top: 60%;
  width: 86px;
  height: 280px;
  transform: translate(-8%, 10%) rotate(-50deg);
  transform-origin: 50% 0;
  clip-path: polygon(50% 0%, 82% 16%, 96% 46%, 80% 80%, 50% 100%, 20% 80%, 4% 46%, 18% 16%);
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 245, 194, 0.98), rgba(255, 245, 194, 0) 38%),
    linear-gradient(180deg, rgba(255, 248, 214, 1) 0%, rgba(255, 180, 68, 0.98) 36%, rgba(255, 104, 45, 0.96) 68%, rgba(245, 90, 113, 0.72) 100%);
  filter: blur(0.8px) drop-shadow(0 0 34px rgba(255, 145, 69, 0.95));
  opacity: 1;
  animation: flame-flicker 0.6s ease-in-out infinite alternate;
}

.rocket-sparks {
  position: absolute;
  z-index: 1;
  left: 58%;
  top: 68%;
  width: 96px;
  height: 320px;
  transform: translate(-8%, 6%) rotate(-50deg);
  transform-origin: 50% 0;
  pointer-events: none;
}

.rocket-sparks::before,
.rocket-sparks::after {
  content: "";
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  mix-blend-mode: screen;
}

.rocket-sparks::before {
  background-image:
    radial-gradient(circle, rgba(255, 246, 212, 0.95) 0 1.5px, transparent 2px),
    radial-gradient(circle, rgba(255, 169, 88, 0.9) 0 1.3px, transparent 1.9px),
    radial-gradient(circle, rgba(255, 255, 255, 0.8) 0 1px, transparent 1.7px),
    radial-gradient(circle, rgba(255, 132, 63, 0.88) 0 1.4px, transparent 2px),
    radial-gradient(circle, rgba(163, 221, 255, 0.75) 0 1px, transparent 1.7px),
    radial-gradient(circle, rgba(255, 206, 112, 0.85) 0 1.2px, transparent 1.8px);
  background-size: 18px 18px, 22px 22px, 16px 16px, 20px 20px, 18px 18px, 18px 18px;
  background-position: 40px 18px, 58px 72px, 28px 132px, 62px 180px, 24px 236px, 54px 284px;
  filter: blur(0.3px);
  animation: spark-burst 0.95s linear infinite;
}

.rocket-sparks::after {
  background-image:
    radial-gradient(circle, rgba(255, 248, 204, 0.85) 0 1.2px, transparent 1.8px),
    radial-gradient(circle, rgba(255, 129, 80, 0.82) 0 1.1px, transparent 1.7px),
    radial-gradient(circle, rgba(170, 226, 255, 0.7) 0 0.9px, transparent 1.5px);
  background-size: 22px 22px, 20px 20px, 22px 22px;
  background-position: 50px 42px, 34px 164px, 60px 250px;
  opacity: 0.75;
  animation: spark-burst-alt 1.15s linear infinite;
}

.rocket-flame::before,
.rocket-flame::after {
  content: "";
  position: absolute;
  inset: auto;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
}

.rocket-flame::before {
  top: 18px;
  width: 42px;
  height: 184px;
  clip-path: polygon(50% 0%, 76% 18%, 88% 56%, 50% 100%, 12% 56%, 24% 18%);
  background: linear-gradient(180deg, rgba(255, 255, 240, 0.98), rgba(255, 214, 132, 0.95) 42%, rgba(255, 133, 44, 0.7) 100%);
  filter: blur(1px);
}

.rocket-flame::after {
  bottom: -20px;
  width: 170px;
  height: 96px;
  background: radial-gradient(circle, rgba(42, 190, 244, 0.48) 0%, rgba(42, 190, 244, 0) 72%);
  filter: blur(10px);
}

.orbital-ring {
  position: absolute;
  border: 1px solid rgba(42, 190, 244, 0.2);
  border-radius: 50%;
}

.orbital-ring-a {
  width: 540px;
  height: 540px;
  transform: rotate(18deg);
}

.orbital-ring-b {
  width: 660px;
  height: 420px;
  border-color: rgba(245, 90, 113, 0.16);
  transform: rotate(-14deg);
}

@keyframes flame-flicker {
  0% {
    transform: translate(-8%, 12%) rotate(-51deg) scale(0.98, 0.96);
  }

  100% {
    transform: translate(-7%, 8%) rotate(-49deg) scale(1.02, 1.05);
  }
}

@keyframes spark-burst {
  0% {
    opacity: 0.18;
    transform: translate3d(0, 0, 0) scale(0.92);
  }

  50% {
    opacity: 0.88;
    transform: translate3d(-3px, 14px, 0) scale(1);
  }

  100% {
    opacity: 0.1;
    transform: translate3d(4px, 34px, 0) scale(1.08);
  }
}

@keyframes spark-burst-alt {
  0% {
    opacity: 0.12;
    transform: translate3d(0, 0, 0) scale(0.9);
  }

  50% {
    opacity: 0.76;
    transform: translate3d(3px, 18px, 0) scale(1);
  }

  100% {
    opacity: 0.16;
    transform: translate3d(-3px, 38px, 0) scale(1.05);
  }
}

@keyframes nose-heat {
  0% {
    opacity: 0.42;
    transform: scale(0.94);
  }

  100% {
    opacity: 0.88;
    transform: scale(1.06);
  }
}

@keyframes rocket-flight {
  0% {
    transform: translate3d(-5px, 4px, 0);
  }

  35% {
    transform: translate3d(5px, -3px, 0);
  }

  65% {
    transform: translate3d(8px, -7px, 0);
  }

  100% {
    transform: translate3d(-5px, 4px, 0);
  }
}


@keyframes star-drift {
  0% {
    background-position: 0 0, 20px 60px, 90px 130px;
  }

  100% {
    background-position: -180px 140px, -220px 180px, -260px 240px;
  }
}

.section,
.metrics {
  margin-bottom: 32px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.metrics article,
.service-card,
.timeline article,
.portfolio-card,
.contact-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.metrics article {
  padding: 22px;
}

.metrics strong {
  display: block;
  margin-bottom: 10px;
  color: var(--white);
  font-size: 1.05rem;
}

.section {
  padding: 34px;
  border: 1px solid rgba(216, 219, 228, 0.1);
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(12, 18, 42, 0.75), rgba(8, 12, 28, 0.88));
}

.section-heading {
  margin-bottom: 24px;
  max-width: 760px;
}

.gallery-heading {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.gallery-flow {
  display: grid;
  gap: 18px;
}

.gallery-viewport {
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: rgba(42, 190, 244, 0.72) rgba(255, 255, 255, 0.08);
  padding: 6px 0 18px;
}

.gallery-viewport::-webkit-scrollbar {
  height: 14px;
}

.gallery-viewport::-webkit-scrollbar-thumb {
  background:
    linear-gradient(90deg, rgba(42, 190, 244, 0.95), rgba(245, 90, 113, 0.9));
  border: 3px solid rgba(8, 12, 28, 0.92);
  border-radius: 999px;
}

.gallery-viewport::-webkit-scrollbar-track {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.08));
  border-radius: 999px;
}

.gallery-track {
  display: flex;
  gap: 18px;
  width: max-content;
  padding-inline: 2px;
}

.gallery-slide {
  flex: 0 0 clamp(240px, 28vw, 320px);
  min-width: 0;
  scroll-snap-align: start;
}

.gallery-item {
  position: relative;
  width: 100%;
  min-height: 290px;
  padding: 18px;
  border: 1px solid rgba(216, 219, 228, 0.14);
  border-radius: 28px;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  color: var(--white);
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(4, 8, 20, 0.04) 0%, rgba(4, 8, 20, 0.78) 100%),
    linear-gradient(135deg, color-mix(in srgb, var(--gallery-a) 85%, white 15%), var(--gallery-b));
  box-shadow: var(--shadow);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.gallery-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 11, 31, 0.02) 0%, rgba(7, 11, 31, 0.8) 100%),
    var(--gallery-image) center center / cover no-repeat;
  opacity: 0.92;
  transform: scale(1.01);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 58%;
  background: linear-gradient(180deg, rgba(6, 8, 23, 0) 0%, rgba(6, 8, 23, 0.92) 75%);
}

.gallery-item:hover {
  transform: translateY(-2px);
  border-color: rgba(42, 190, 244, 0.38);
  box-shadow: 0 26px 64px rgba(0, 0, 0, 0.5);
}

.gallery-item-copy {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  min-height: 238px;
}

.gallery-item-copy strong {
  display: inline-block;
  max-width: 13ch;
  font-size: 1.08rem;
  line-height: 1.14;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.48);
}

.gallery-empty {
  margin: 0;
  padding: 26px;
  border: 1px dashed rgba(42, 190, 244, 0.32);
  border-radius: 22px;
  color: var(--muted);
  background: rgba(8, 12, 28, 0.42);
}

.section-heading h2,
.contact-copy h2 {
  font-size: clamp(2.3rem, 5vw, 4rem);
}

.service-grid,
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.service-card,
.portfolio-card {
  padding: 26px;
}

.service-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  margin-bottom: 18px;
  font-weight: 700;
  color: var(--white);
  background: linear-gradient(135deg, rgba(42, 190, 244, 0.24), rgba(245, 90, 113, 0.24));
}

.service-card h3,
.timeline h3,
.portfolio-card h3 {
  margin: 0 0 10px;
  font-size: 1.4rem;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.timeline article {
  padding: 24px;
}

.timeline span {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 0.92rem;
  letter-spacing: 0.2em;
  color: var(--cyan);
}

.accent-blue {
  background:
    linear-gradient(180deg, rgba(42, 190, 244, 0.12), rgba(14, 20, 48, 0.8)),
    var(--panel);
}

.accent-red {
  background:
    linear-gradient(180deg, rgba(245, 90, 113, 0.12), rgba(14, 20, 48, 0.8)),
    var(--panel);
}

.accent-silver {
  background:
    linear-gradient(180deg, rgba(216, 219, 228, 0.12), rgba(14, 20, 48, 0.8)),
    var(--panel);
}

.contact-section {
  display: grid;
  grid-template-columns: 1fr 0.94fr;
  gap: 22px;
  align-items: center;
  overflow: hidden;
}

.contact-copy {
  min-width: 0;
}

.contact-slogan {
  display: block;
  width: min(100%, 520px);
  height: auto;
  margin: 10px 0 22px;
  object-fit: contain;
}

.contact-text-small {
  max-width: 54ch;
}

.contact-card {
  padding: 26px;
  position: relative;
  z-index: 1;
}

.contact-block + .contact-block {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(216, 219, 228, 0.12);
}

.contact-label {
  display: block;
  margin-bottom: 8px;
  color: var(--cyan);
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-block a {
  color: var(--white);
  text-decoration: none;
  font-size: 1.12rem;
}

.contact-block a:hover {
  color: var(--coral);
}

.gallery-modal[hidden] {
  display: none;
}

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
}

.gallery-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(5, 7, 15, 0.78);
  backdrop-filter: blur(12px);
  cursor: pointer;
}

.gallery-modal-card {
  position: relative;
  width: min(960px, calc(100% - 32px));
  margin: min(8vh, 48px) auto;
  padding: 20px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: 20px;
  border: 1px solid rgba(216, 219, 228, 0.12);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(13, 19, 45, 0.96), rgba(7, 10, 23, 0.98));
  box-shadow: var(--shadow);
}

.gallery-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  font-size: 1.7rem;
  line-height: 1;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.gallery-modal-preview {
  min-height: min(72vh, 640px);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(7, 11, 31, 0.05) 0%, rgba(7, 11, 31, 0.48) 100%),
    var(--gallery-image) center center / contain no-repeat,
    linear-gradient(135deg, color-mix(in srgb, var(--gallery-a) 88%, white 12%), var(--gallery-b));
}

.gallery-modal-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 18px;
  padding: 12px 6px 8px;
}

.gallery-modal-copy h3 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1;
}

.scroll-top {
  position: fixed;
  right: 28px;
  bottom: 96px;
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 50%;
  color: var(--white);
  background:
    linear-gradient(rgba(8, 12, 28, 0.82), rgba(8, 12, 28, 0.82)) padding-box,
    linear-gradient(135deg, rgba(42, 190, 244, 0.95), rgba(245, 90, 113, 0.9)) border-box;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.32);
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px) scale(0.92);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease, box-shadow 180ms ease;
  z-index: 30;
}

.scroll-top.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.scroll-top:hover {
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.42);
  transform: translateY(-2px);
}

.scroll-top-rocket {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  line-height: 1;
  transform: rotate(-45deg);
}

.faq-assistant {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 29;
}

.faq-toggle {
  min-height: 52px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.02em;
  background:
    linear-gradient(rgba(8, 12, 28, 0.82), rgba(8, 12, 28, 0.82)) padding-box,
    linear-gradient(135deg, rgba(42, 190, 244, 0.95), rgba(245, 90, 113, 0.92)) border-box;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.faq-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.4);
}

.faq-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 14px);
  width: min(360px, calc(100vw - 32px));
  padding: 20px;
  border: 1px solid rgba(42, 190, 244, 0.18);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(13, 19, 45, 0.98), rgba(7, 10, 23, 0.98));
  box-shadow: var(--shadow);
}

.faq-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.faq-panel-header strong,
.faq-answer strong {
  color: var(--white);
  font-size: 1rem;
}

.faq-close {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  font-size: 1.4rem;
  line-height: 1;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.faq-panel-intro {
  margin: 0 0 14px;
  color: var(--muted);
}

.faq-questions {
  display: grid;
  gap: 10px;
}

.faq-question {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(216, 219, 228, 0.1);
  border-radius: 16px;
  color: var(--white);
  text-align: left;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.faq-question:hover {
  transform: translateY(-1px);
  border-color: rgba(42, 190, 244, 0.34);
  background: rgba(42, 190, 244, 0.08);
}

.faq-answer {
  margin-top: 14px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.faq-answer p {
  margin: 8px 0 0;
  color: var(--muted);
}

.footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 30px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  background:
    linear-gradient(180deg, rgba(5, 7, 15, 0) 0%, rgba(5, 7, 15, 0.14) 100%),
    url("assets/gradiente.png") center center / 100% 40px no-repeat;
}

.footer p,
.footer span {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .hero-grid,
  .contact-section,
  .timeline {
    grid-template-columns: 1fr;
  }

  .gallery-flow {
    gap: 16px;
  }

  .gallery-track {
    gap: 16px;
  }

  .gallery-modal-card {
    grid-template-columns: 1fr;
  }

  .gallery-modal-preview {
    min-height: 48vh;
  }

  .service-grid,
  .portfolio-grid,
  .metrics {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 18px;
  }

  .hero-grid {
    min-height: auto;
    padding: 34px 0 12px;
  }

  .hero-copy h1 {
    max-width: 12ch;
  }

  .hero-visual {
    min-height: 420px;
  }
}

@media (max-width: 720px) {
  .site-shell,
  .footer {
    width: min(100% - 20px, 1180px);
  }

  .gallery-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .gallery-viewport {
    padding-bottom: 14px;
  }

  .topbar {
    border-radius: 28px;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 14px;
  }

  .section,
  .contact-card {
    padding: 22px;
  }

  .gallery-item {
    min-height: 246px;
  }

  .gallery-item-copy {
    min-height: 206px;
  }

  .gallery-slide {
    flex-basis: min(82vw, 270px);
  }

  .faq-assistant {
    right: 18px;
    bottom: 18px;
  }

  .faq-panel {
    width: min(320px, calc(100vw - 24px));
    padding: 16px;
  }

  .scroll-top {
    right: 18px;
    bottom: 86px;
    width: 54px;
    height: 54px;
  }

  .contact-slogan {
    width: min(100%, 360px);
  }

  .gallery-modal-card {
    width: min(100% - 20px, 960px);
    margin: 20px auto;
    padding: 14px;
  }

  .rocket-stage {
    min-height: 380px;
  }

  .rocket-body {
    width: min(100%, 430px);
    height: 430px;
  }

  .visual-model {
    width: min(100%, 430px);
    height: 430px;
  }

  .rocket-flame {
    width: 62px;
    height: 210px;
    left: 58%;
    top: 44%;
    transform: translate(-8%, 82%) rotate(-49deg);
  }

  .rocket-heat {
    left: 39%;
    top: 10%;
    width: 82px;
    height: 82px;
  }

  .rocket-sparks {
    left: 57%;
    top: 58%;
    width: 70px;
    height: 210px;
  }

  .hero-copy h1 {
    font-size: clamp(3rem, 17vw, 4.8rem);
  }

  .orbital-ring-a {
    width: 340px;
    height: 340px;
  }

  .orbital-ring-b {
    width: 390px;
    height: 250px;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
