:root {
  --dark: #020617;
  --black: #00040f;
  --white: #ffffff;
  --cyan: #00d9ff;
  --violet: #8b5cff;
  --pink: #ff5cf7;
  --green: #25d366;
  --green-dark: #0f9f49;
  --glass: rgba(255, 255, 255, 0.08);
  --glass-strong: rgba(255, 255, 255, 0.14);
  --border: rgba(255, 255, 255, 0.18);
  --text-soft: rgba(255, 255, 255, 0.74);
  --text-muted: rgba(255, 255, 255, 0.56);
}

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

html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  touch-action: pan-y;
}

body {
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  color: var(--white);
  background:
    linear-gradient(to bottom, rgba(2, 6, 23, 0.10), rgba(2, 6, 23, 0.96)),
    url("../img/space-bg.jpg") center center / cover fixed no-repeat;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -20;
  background:
    radial-gradient(circle at 22% 22%, rgba(0, 217, 255, 0.18), transparent 28%),
    radial-gradient(circle at 78% 38%, rgba(139, 92, 255, 0.20), transparent 34%),
    radial-gradient(circle at 50% 90%, rgba(255, 255, 255, 0.10), transparent 32%),
    linear-gradient(to bottom, rgba(2, 6, 23, 0.12), rgba(2, 6, 23, 0.95));
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -19;
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255, 255, 255, 0.04) 45%,
    transparent 62%
  );
  opacity: 0.36;
  mix-blend-mode: screen;
  pointer-events: none;
  animation: cosmicLight 9s ease-in-out infinite alternate;
}

@keyframes cosmicLight {
  from {
    transform: translateX(-6%);
    opacity: 0.18;
  }

  to {
    transform: translateX(6%);
    opacity: 0.42;
  }
}

img,
video,
canvas,
svg {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

a,
button,
.btn,
.mobile-nav a,
.whatsapp-header {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

input,
textarea,
select,
button {
  font-size: 16px;
}

main,
section,
.site-header,
.mobile-nav,
.final-box,
.content,
.content.wide {
  max-width: 100%;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 999;
  background:
    radial-gradient(circle at center, rgba(0, 217, 255, 0.16), transparent 36%),
    #020617;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 22px;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.preloader.hide {
  opacity: 0;
  visibility: hidden;
}

.preloader p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.loader-orbit {
  width: 86px;
  height: 86px;
  border: 1px solid rgba(0, 217, 255, 0.35);
  border-radius: 50%;
  position: relative;
  animation: rotateOrbit 1.4s linear infinite;
  box-shadow: 0 0 38px rgba(0, 217, 255, 0.25);
}

.loader-planet {
  position: absolute;
  width: 16px;
  height: 16px;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 24px rgba(0, 217, 255, 0.9);
}

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

.space-noise {
  position: fixed;
  inset: 0;
  z-index: -18;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.14) 1px, transparent 1px),
    radial-gradient(circle, rgba(0,217,255,0.14) 1px, transparent 1px);
  background-size: 4px 4px, 7px 7px;
  mix-blend-mode: screen;
}

.stars-layer {
  position: fixed;
  inset: 0;
  z-index: -17;
  pointer-events: none;
  background-repeat: repeat;
  mix-blend-mode: screen;
}

.stars-one {
  background-image: radial-gradient(circle, rgba(255,255,255,0.90) 1px, transparent 1.5px);
  background-size: 90px 90px;
  opacity: 0.28;
  animation: starsDrift 42s linear infinite;
}

.stars-two {
  background-image: radial-gradient(circle, rgba(0,217,255,0.80) 1px, transparent 1.6px);
  background-size: 150px 150px;
  opacity: 0.24;
  animation: starsDriftReverse 58s linear infinite;
}

.stars-three {
  background-image: radial-gradient(circle, rgba(139,92,255,0.85) 1px, transparent 1.6px);
  background-size: 230px 230px;
  opacity: 0.18;
  animation: starsDrift 80s linear infinite;
}

@keyframes starsDrift {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-120px, 180px, 0);
  }
}

@keyframes starsDriftReverse {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(130px, -160px, 0);
  }
}

.nebula-layer,
.nebula-extra {
  position: fixed;
  pointer-events: none;
  mix-blend-mode: screen;
  will-change: transform, opacity;
  max-width: none;
}

.nebula-main {
  width: min(120vw, 1650px);
  left: 50%;
  top: 52%;
  z-index: -16;
  opacity: 0.34;
  transform: translate(-50%, -50%);
}

.nebula-extra-one {
  width: min(130vw, 1800px);
  left: -12vw;
  top: 20vh;
  z-index: -15;
  opacity: 0.24;
}

.nebula-extra-two {
  width: min(140vw, 1900px);
  right: -22vw;
  bottom: 8vh;
  z-index: -15;
  opacity: 0.22;
}

.planet-big,
.planet-small,
.planet-saturn {
  position: fixed;
  pointer-events: none;
  will-change: transform, opacity;
  max-width: none;
}

.planet-big {
  width: clamp(380px, 44vw, 900px);
  right: -18vw;
  bottom: -24vw;
  z-index: -13;
  opacity: 0.88;
  filter: drop-shadow(0 0 70px rgba(0, 217, 255, 0.24));
}

.planet-small {
  width: clamp(130px, 15vw, 280px);
  left: 5vw;
  top: 18vh;
  z-index: -13;
  opacity: 0.72;
  filter: drop-shadow(0 0 45px rgba(139, 92, 255, 0.45));
}

.planet-saturn {
  width: clamp(300px, 42vw, 820px);
  left: 50%;
  top: 48%;
  z-index: -12;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.2);
  filter: drop-shadow(0 0 80px rgba(139, 92, 255, 0.44));
}

.ufo-scene {
  position: fixed;
  left: 56vw;
  top: 16vh;
  width: clamp(250px, 34vw, 580px);
  z-index: 12;
  pointer-events: none;
  transform-style: preserve-3d;
  will-change: transform, opacity;
  max-width: none;
  filter: drop-shadow(0 0 42px rgba(0, 217, 255, 0.48));
}

.ufo-main {
  position: relative;
  z-index: 2;
  width: 100%;
  display: block;
  animation: ufoIdle 4.2s ease-in-out infinite alternate;
}

.ufo-beam {
  position: absolute;
  z-index: 1;
  width: 42%;
  left: 29%;
  top: 58%;
  opacity: 0.64;
  transform-origin: top center;
  mix-blend-mode: screen;
  animation: beamPulse 2.8s ease-in-out infinite alternate;
}

.second-ufo {
  position: fixed;
  width: clamp(230px, 31vw, 540px);
  left: -35vw;
  top: 34vh;
  z-index: 11;
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
  max-width: none;
  filter: drop-shadow(0 0 42px rgba(139, 92, 255, 0.48));
}

@keyframes ufoIdle {
  from {
    transform: translateY(0) rotate(-1.2deg);
  }

  to {
    transform: translateY(18px) rotate(1.4deg);
  }
}

@keyframes beamPulse {
  from {
    opacity: 0.28;
    transform: scaleY(0.90) scaleX(0.96);
  }

  to {
    opacity: 0.82;
    transform: scaleY(1.08) scaleX(1.04);
  }
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100vw;
  z-index: 80;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 7vw;
  transition: 0.35s ease;
}

.site-header.scrolled {
  padding-top: 16px;
  padding-bottom: 16px;
  background: rgba(2, 6, 23, 0.72);
  border-bottom: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(16px);
}

.brand {
  color: var(--white);
  text-decoration: none;
  font-size: 1.08rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand span {
  color: var(--cyan);
  text-shadow: 0 0 20px rgba(0, 217, 255, 0.78);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.desktop-nav a {
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: 0.25s ease;
}

.desktop-nav a:hover {
  color: var(--cyan);
}

.whatsapp-header {
  min-height: 44px;
  padding: 0 18px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  box-shadow: 0 0 32px rgba(37, 211, 102, 0.34);
  transition: 0.3s ease;
}

.whatsapp-header:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 48px rgba(37, 211, 102, 0.62);
}

.whatsapp-icon {
  width: 19px;
  height: 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.whatsapp-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.mobile-nav {
  display: none;
}

main {
  position: relative;
  z-index: 20;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

.section {
  position: relative;
  width: 100%;
  max-width: 100vw;
  min-height: 100vh;
  padding: 130px 7vw;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.section-right {
  justify-content: flex-end;
}

.section-center {
  justify-content: center;
  text-align: center;
}

.final-section {
  justify-content: center;
}

.content {
  position: relative;
  z-index: 30;
  width: 100%;
  max-width: 760px;
}

.content.wide {
  max-width: 1180px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  margin-bottom: 24px;
  border: 1px solid rgba(0, 217, 255, 0.46);
  border-radius: 999px;
  color: #bff7ff;
  background: rgba(0, 217, 255, 0.08);
  box-shadow: 0 0 32px rgba(0, 217, 255, 0.14);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1 {
  max-width: 900px;
  margin-bottom: 28px;
  font-size: clamp(3.4rem, 8.4vw, 8.3rem);
  line-height: 0.88;
  letter-spacing: -0.085em;
  text-transform: uppercase;
  text-shadow: 0 0 54px rgba(0, 217, 255, 0.22);
}

h1 span,
h2 span {
  display: block;
  color: var(--cyan);
  text-shadow: 0 0 34px rgba(0, 217, 255, 0.74);
}

h2 {
  margin-bottom: 26px;
  font-size: clamp(2.35rem, 5.1vw, 5.8rem);
  line-height: 0.94;
  letter-spacing: -0.065em;
  text-transform: uppercase;
}

p {
  max-width: 650px;
  color: var(--text-soft);
  font-size: clamp(1.05rem, 1.45vw, 1.34rem);
  line-height: 1.65;
}

.hero-text {
  max-width: 680px;
  margin-bottom: 36px;
  color: rgba(255,255,255,0.88);
  font-size: clamp(1.22rem, 2vw, 1.68rem);
}

.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
  max-width: 100%;
}

.btn {
  min-height: 56px;
  padding: 0 30px;
  border-radius: 999px;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: 0.35s ease;
  position: relative;
  overflow: hidden;
  max-width: 100%;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-110%);
  background: linear-gradient(115deg, transparent, rgba(255,255,255,0.55), transparent);
  transition: 0.6s ease;
}

.btn:hover::before {
  transform: translateX(110%);
}

.btn-primary {
  color: #001018;
  background: linear-gradient(135deg, #ffffff, var(--cyan));
  box-shadow: 0 0 42px rgba(0, 217, 255, 0.44);
}

.btn-primary:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 0 66px rgba(0, 217, 255, 0.72);
}

.whatsapp-big {
  color: #ffffff;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  box-shadow: 0 0 42px rgba(37, 211, 102, 0.42);
}

.whatsapp-big:hover {
  box-shadow: 0 0 68px rgba(37, 211, 102, 0.68);
}

.btn-secondary {
  color: var(--white);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.24);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  color: var(--cyan);
  border-color: rgba(0, 217, 255, 0.76);
  transform: translateY(-5px);
}

.impact-line,
.big-sentence {
  margin-top: 36px;
  max-width: 900px;
  font-size: clamp(2rem, 4vw, 4.8rem);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.07em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
}

.feature-grid,
.mini-services,
.service-blocks {
  display: grid;
  gap: 18px;
  margin-top: 44px;
  width: 100%;
  max-width: 100%;
}

.feature-card,
.service-block,
.step,
.mini-services article {
  border: 1px solid var(--border);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.15), rgba(255,255,255,0.04)),
    radial-gradient(circle at 10% 0%, rgba(0, 217, 255, 0.13), transparent 38%);
  backdrop-filter: blur(18px);
  box-shadow: 0 26px 78px rgba(0,0,0,0.34);
}

.feature-card:hover,
.service-block:hover,
.mini-services article:hover {
  transform: translateY(-10px);
  border-color: rgba(0, 217, 255, 0.58);
  box-shadow:
    0 34px 90px rgba(0,0,0,0.42),
    0 0 50px rgba(0, 217, 255, 0.12);
}

.feature-card h3,
.service-block h3,
.mini-services h3 {
  margin-bottom: 14px;
  font-size: 1.32rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.feature-card p,
.service-block p,
.mini-services p {
  color: rgba(255,255,255,0.68);
  font-size: 0.98rem;
  line-height: 1.58;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 44px;
  width: 100%;
  max-width: 100%;
}

.step {
  padding: 30px;
  border-radius: 28px;
}

.step strong {
  display: block;
  margin-bottom: 14px;
  color: var(--cyan);
  font-size: 1.2rem;
  letter-spacing: 0.16em;
}

.step p {
  margin: 0 auto;
  font-size: 1rem;
}

.text-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 28px;
  width: 100%;
  max-width: 100%;
}

.text-grid > div {
  padding: 28px;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(14px);
}

.text-grid p {
  font-size: 1rem;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.pill-list span,
.service-tag,
.service-label {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 15px;
  border-radius: 999px;
  border: 1px solid rgba(0,217,255,0.32);
  color: #bff7ff;
  background: rgba(0,217,255,0.08);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-intro {
  max-width: 900px;
  margin-bottom: 10px;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.service-block,
.mini-services article {
  padding: 30px;
  border-radius: 30px;
  transition: 0.36s ease;
}

.mini-services {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-blocks {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-block {
  min-height: 320px;
}

.service-label {
  margin-bottom: 22px;
}

.service-tag {
  margin-top: 22px;
  color: rgba(255,255,255,0.78);
  border-color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
}

.final-box {
  width: 100%;
  max-width: 1120px;
  padding: clamp(24px, 4vw, 56px);
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  text-shadow: 0 4px 22px rgba(0,0,0,0.78), 0 1px 4px rgba(0,0,0,0.95);
}

.final-section .final-box h2,
.final-section .final-box h2 span,
.final-section .final-box p,
.final-section .final-box .eyebrow {
  text-shadow: 0 4px 22px rgba(0,0,0,0.78), 0 1px 4px rgba(0,0,0,0.95);
}

.final-section .final-box .eyebrow {
  background: rgba(2, 6, 23, 0.22);
  border-color: rgba(0, 217, 255, 0.48);
  box-shadow: 0 0 28px rgba(0, 217, 255, 0.10);
}

.scroll-hint {
  position: absolute;
  left: 7vw;
  bottom: 40px;
  color: rgba(255,255,255,0.55);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.scroll-hint::after {
  content: "";
  display: block;
  width: 1px;
  height: 58px;
  margin-top: 14px;
  background: linear-gradient(to bottom, var(--cyan), transparent);
  animation: scrollLine 1.6s ease-in-out infinite;
}

@keyframes scrollLine {
  0% {
    transform: scaleY(0.22);
    opacity: 0.3;
  }

  50% {
    transform: scaleY(1);
    opacity: 1;
  }

  100% {
    transform: scaleY(0.22);
    opacity: 0.3;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(44px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

footer {
  position: relative;
  z-index: 20;
  padding: 38px 7vw 44px;
  text-align: center;
  color: rgba(255,255,255,0.58);
  background: rgba(2, 6, 23, 0.72);
  border-top: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(14px);
}

footer p {
  max-width: none;
  font-size: 0.9rem;
}

@media (max-width: 1020px) {
  html,
  body {
    position: relative;
    overflow-x: hidden;
    max-width: 100vw;
  }

  body {
    background-attachment: scroll;
  }

  .desktop-nav,
  .whatsapp-header {
    display: none;
  }

  .site-header {
    width: 100%;
    max-width: 100vw;
  }

  .mobile-nav {
    position: fixed;
    left: 50%;
    bottom: 14px;
    z-index: 90;
    transform: translateX(-50%);
    width: min(94vw, 560px);
    max-width: 94vw;
    min-height: 66px;
    padding: 8px;
    display: grid;
    grid-template-columns: 0.95fr 1.25fr 1fr 1fr 1.15fr;
    gap: 6px;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 24px;
    background: rgba(2, 6, 23, 0.78);
    backdrop-filter: blur(18px);
    box-shadow: 0 24px 80px rgba(0,0,0,0.42);
    overflow: hidden;
  }

  .mobile-nav a {
    min-height: 48px;
    padding: 0 5px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    color: rgba(255,255,255,0.72);
    text-decoration: none;
    text-align: center;
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .mobile-nav a:hover {
    color: var(--cyan);
    background: rgba(0, 217, 255, 0.10);
  }

  .mobile-nav .mobile-whatsapp {
    color: #ffffff;
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    box-shadow: 0 0 28px rgba(37, 211, 102, 0.32);
  }

  .mobile-nav .mobile-whatsapp .whatsapp-icon {
    width: 18px;
    height: 18px;
    margin-bottom: 2px;
  }

  .section {
    width: 100%;
    max-width: 100vw;
    padding: 120px 5vw;
    overflow: hidden;
  }

  .hero-section {
    align-items: flex-end;
    padding-bottom: 130px;
  }

  .ufo-scene {
    width: 72vw;
    left: 22vw;
    top: 18vh;
    opacity: 0.82;
  }

  .second-ufo {
    width: 70vw;
  }

  .planet-big {
    width: 86vw;
    right: -36vw;
    bottom: -18vw;
    opacity: 0.55;
  }

  .planet-small {
    width: 180px;
    left: -48px;
    top: 16vh;
    opacity: 0.52;
  }

  .planet-saturn {
    width: 82vw;
    opacity: 0;
  }

  .nebula-main {
    width: 150vw;
    opacity: 0.31;
  }

  .feature-grid,
  .service-blocks,
  .text-grid {
    grid-template-columns: 1fr;
  }

  .mini-services {
    grid-template-columns: 1fr 1fr;
  }

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

  .final-box {
    width: 100%;
    max-width: 100%;
  }

  .scroll-hint {
    display: none;
  }

  footer {
    padding-bottom: 108px;
  }
}

@media (max-width: 680px) {
  html,
  body {
    min-width: 320px;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .site-header {
    padding: 18px 5vw;
  }

  .brand {
    font-size: 0.95rem;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(3.2rem, 18vw, 5.2rem);
  }

  h2 {
    max-width: 100%;
    font-size: clamp(2.35rem, 13vw, 4.6rem);
  }

  p {
    max-width: 100%;
  }

  .feature-grid,
  .mini-services,
  .service-blocks,
  .text-grid {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .service-block,
  .mini-services article {
    min-height: auto;
  }

  .buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .final-box {
    border-radius: 30px;
  }

  .ufo-scene {
    width: 84vw;
    left: 16vw;
    top: 18vh;
  }

  .mobile-nav {
    grid-template-columns: repeat(5, 1fr);
  }

  .mobile-nav a {
    font-size: 0.56rem;
    letter-spacing: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

/* ==========================================================
   LANZAWARE 3D HERO CAROUSEL
   ========================================================== */

.lw-hero {
  --lw-ease: cubic-bezier(0.4, 0, 0.2, 1);
  --lw-speed: 650ms;
  position: relative;
  z-index: 30;
  width: 100%;
  max-width: 100vw;
  min-height: 100vh;
  overflow: hidden;
  color: #ffffff;
  background: #f4845f;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  transition: background-color var(--lw-speed) var(--lw-ease);
  isolation: isolate;
}

.lw-hero,
.lw-hero * {
  box-sizing: border-box;
}

.lw-hero-stage {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
}

.lw-grain {
  position: absolute;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.08'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}

.lw-ghost-text {
  position: absolute;
  inset-inline: 0;
  top: 18%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-family: 'Anton', Impact, sans-serif;
  font-size: clamp(90px, 24vw, 360px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.lw-top-label {
  position: absolute;
  top: 24px;
  left: 16px;
  z-index: 60;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
  opacity: 0.9;
}

.lw-carousel {
  position: absolute;
  inset: 0;
  z-index: 3;
}

.lw-carousel-item {
  position: absolute;
  aspect-ratio: 0.6 / 1;
  transition:
    transform var(--lw-speed) var(--lw-ease),
    filter var(--lw-speed) var(--lw-ease),
    opacity var(--lw-speed) var(--lw-ease),
    left var(--lw-speed) var(--lw-ease),
    height var(--lw-speed) var(--lw-ease),
    bottom var(--lw-speed) var(--lw-ease);
  will-change: transform, filter, opacity;
}

.lw-carousel-item img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: bottom center;
  user-select: none;
  pointer-events: none;
}

.lw-carousel-item[data-role="center"] {
  left: 50%;
  bottom: 0;
  z-index: 20;
  height: 92%;
  opacity: 1;
  filter: blur(0);
  transform: translateX(-50%) scale(1.68);
}

.lw-carousel-item[data-role="left"] {
  left: 30%;
  bottom: 12%;
  z-index: 10;
  height: 28%;
  opacity: 0.85;
  filter: blur(2px);
  transform: translateX(-50%) scale(1);
}

.lw-carousel-item[data-role="right"] {
  left: 70%;
  bottom: 12%;
  z-index: 10;
  height: 28%;
  opacity: 0.85;
  filter: blur(2px);
  transform: translateX(-50%) scale(1);
}

.lw-carousel-item[data-role="back"] {
  left: 50%;
  bottom: 12%;
  z-index: 5;
  height: 22%;
  opacity: 1;
  filter: blur(4px);
  transform: translateX(-50%) scale(1);
}

.lw-hero-copy {
  position: absolute;
  left: 24px;
  bottom: 48px;
  z-index: 60;
  width: min(320px, calc(100vw - 48px));
}

.lw-kicker {
  margin: 0 0 12px;
  max-width: none;
  color: #ffffff;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  opacity: 0.95;
}

.lw-description {
  margin: 0 0 20px;
  max-width: 320px;
  color: #ffffff;
  font-size: 0.9rem;
  line-height: 1.6;
  opacity: 0.85;
}

.lw-nav-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lw-nav-button {
  width: 64px;
  height: 64px;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.95);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: transparent;
  cursor: pointer;
  transition: transform 150ms ease, background-color 150ms ease;
}

.lw-nav-button:hover,
.lw-nav-button:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  transform: scale(1.08);
}

.lw-nav-button:focus-visible,
.lw-hero-link:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: 4px;
}

.lw-nav-button svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lw-hero-link {
  position: absolute;
  right: 40px;
  bottom: 80px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-family: 'Anton', Impact, sans-serif;
  font-size: clamp(20px, 4vw, 56px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  text-decoration: none;
  text-transform: uppercase;
  opacity: 0.95;
  transition: opacity 200ms ease, transform 200ms ease;
}

.lw-hero-link:hover {
  opacity: 1;
  transform: translateX(2px);
}

.lw-hero-link svg {
  width: clamp(20px, 2.2vw, 32px);
  height: clamp(20px, 2.2vw, 32px);
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (min-width: 640px) {
  .lw-top-label {
    left: 32px;
  }

  .lw-hero-copy {
    left: 96px;
    bottom: 80px;
  }
}

@media (max-width: 1020px) {
  .lw-hero {
    z-index: 35;
  }
}

@media (max-width: 639px) {
  .lw-hero-stage {
    min-height: 620px;
  }

  .lw-ghost-text {
    top: 18%;
    font-size: clamp(76px, 25vw, 140px);
  }

  .lw-carousel-item[data-role="center"] {
    left: 50%;
    bottom: 22%;
    height: 60%;
    transform: translateX(-50%) scale(1.25);
  }

  .lw-carousel-item[data-role="left"] {
    left: 20%;
    bottom: 32%;
    height: 16%;
  }

  .lw-carousel-item[data-role="right"] {
    left: 80%;
    bottom: 32%;
    height: 16%;
  }

  .lw-carousel-item[data-role="back"] {
    left: 50%;
    bottom: 32%;
    height: 13%;
  }

  .lw-hero-copy {
    left: 16px;
    bottom: 96px;
    width: min(320px, calc(100vw - 32px));
  }

  .lw-kicker {
    margin-bottom: 10px;
    font-size: 1rem;
  }

  .lw-description {
    display: none;
  }

  .lw-nav-button {
    width: 48px;
    height: 48px;
  }

  .lw-hero-link {
    right: 16px;
    bottom: 100px;
    max-width: 45vw;
    text-align: right;
  }
}

/* ==========================================================
   LANZAWARE 3D VIDEO CARD CYLINDER, FINAL EXPERIMENT SECTION
   ========================================================== */

.lw-card-lab {
  position: relative;
  width: 100%;
  max-width: 100vw;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: transparent;
  color: #ffffff;
  isolation: isolate;
}

.lw-card-lab::before {
  content: none;
}

.lw-card-lab-camera {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  perspective: 1350px;
  transform-style: preserve-3d;
  user-select: none;
  -webkit-user-select: none;
  cursor: grab;
  touch-action: none;
}

.lw-card-lab.is-dragging .lw-card-lab-camera {
  cursor: grabbing;
}

.lw-card-lab-stage {
  position: absolute;
  width: var(--lw-card-w, 336px);
  height: var(--lw-card-h, 211px);
  transform-style: preserve-3d;
  pointer-events: none;
}

.lw-bank-card {
  position: absolute;
  inset: 0;
  width: var(--lw-card-w, 336px);
  height: var(--lw-card-h, 211px);
  transform-style: preserve-3d;
  backface-visibility: visible;
  will-change: transform;
}

.lw-card-slice,
.lw-card-face {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  pointer-events: none;
}

.lw-card-slice {
  border: 1px solid rgba(128,128,128,0.78);
  background: #808080;
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,0.16),
    inset 0 -1px 1px rgba(0,0,0,0.45);
}

.lw-card-face {
  border: 1px solid rgba(255,255,255,0.15);
  background: #0f0f0f;
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,0.16),
    0 24px 70px rgba(0,0,0,0.38);
}

.lw-card-face-front {
  backface-visibility: hidden;
}

.lw-card-face-back {
  backface-visibility: hidden;
}

.lw-card-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  max-width: none;
}

.lw-card-back-video-wrap {
  position: absolute;
  inset: 0;
  filter: blur(16px);
  transform: scale(1.15);
}

.lw-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  padding: clamp(16px, 1.55vw, 24px);
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(0,0,0,0.18), rgba(255,255,255,0.05)),
    radial-gradient(circle at 82% 28%, rgba(255,255,255,0.20), transparent 24%);
}

.lw-card-chip {
  position: absolute;
  left: clamp(18px, 1.8vw, 26px);
  top: 50%;
  width: clamp(26px, 2.3vw, 34px);
  height: clamp(26px, 2.3vw, 34px);
  transform: translateY(-50%);
  opacity: 0.95;
  filter: drop-shadow(0 5px 10px rgba(0,0,0,0.35));
}

.lw-card-brand {
  position: absolute;
  right: clamp(18px, 1.9vw, 26px);
  top: clamp(18px, 1.9vw, 26px);
  display: inline-flex;
  align-items: center;
  gap: 0.48em;
  color: #ffffff;
  font-family: 'Anton', Impact, sans-serif;
  font-size: clamp(20px, 2.4vw, 34px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  opacity: 0.96;
  text-shadow: 0 2px 18px rgba(0,0,0,0.45);
}

.lw-card-brand-mark {
  width: 0.62em;
  height: 0.62em;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(255,255,255,0.25));
  box-shadow: 0 0 16px rgba(255,255,255,0.42);
}

.lw-card-circles {
  position: absolute;
  right: clamp(18px, 1.9vw, 26px);
  bottom: clamp(18px, 1.9vw, 26px);
  display: flex;
  align-items: center;
  opacity: 0.92;
}

.lw-card-circle {
  width: clamp(22px, 2vw, 29px);
  height: clamp(22px, 2vw, 29px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  background: rgba(255,255,255,0.22);
  backdrop-filter: blur(2px);
}

.lw-card-circle + .lw-card-circle {
  margin-left: -12px;
  background: rgba(255,255,255,0.36);
}

.lw-card-stripe {
  position: absolute;
  left: 0;
  right: 0;
  top: clamp(16px, 1.8vw, 23px);
  z-index: 3;
  height: clamp(28px, 3vw, 40px);
  background: rgba(0,0,0,0.86);
  backdrop-filter: blur(8px);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.08),
    0 14px 28px rgba(0,0,0,0.28);
}

.lw-card-info {
  position: absolute;
  left: clamp(16px, 1.9vw, 26px);
  bottom: clamp(16px, 1.8vw, 24px);
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #ffffff;
  font-family: 'JetBrains Mono', Consolas, monospace;
  text-align: left;
  text-shadow: 0 2px 12px rgba(0,0,0,0.55);
}

.lw-card-number {
  font-size: clamp(9px, 0.84vw, 13px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.14em;
  white-space: nowrap;
}

.lw-card-meta {
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255,255,255,0.72);
  font-size: clamp(7px, 0.72vw, 9px);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.lw-card-meta-dot {
  color: rgba(255,255,255,0.42);
  font-weight: 300;
}

@media (max-width: 680px) {
  .lw-card-lab {
    min-height: 82vh;
    min-height: 82svh;
  }

  .lw-card-lab-camera {
    perspective: 1050px;
  }

  .lw-card-face,
  .lw-card-slice {
    border-radius: 14px;
  }

  .lw-card-brand {
    font-size: clamp(17px, 5vw, 24px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .lw-bank-card {
    transition: none !important;
  }
}

/* ==========================================================
   LANZAWARE FIXED MP4 BACKGROUND, DEFINITIVE PATCH
   ========================================================== */

/* The old body image was covering the MP4 in some browsers.
   This override removes the image completely and leaves only a dark fallback. */
html,
body {
  background: #020617 !important;
}

body {
  background-image: none !important;
  background-color: #020617 !important;
}

/* Fixed full-page MP4 background. It stays behind the real content,
   but in front of the body background, so it is always visible. */
.site-video-bg {
  position: fixed !important;
  inset: 0 !important;
  z-index: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100svh !important;
  overflow: hidden !important;
  pointer-events: none !important;
  background: #020617 url("../img/space-bg.jpg") center center / cover no-repeat !important;
  transform: translateZ(0) !important;
  will-change: transform !important;
}

.space-bg-video {
  position: absolute !important;
  inset: -8vh 0 0 0 !important;
  z-index: 1 !important;
  width: 100% !important;
  height: 116vh !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center center !important;
  opacity: 0.88 !important;
  filter: brightness(0.88) contrast(1.12) saturate(1.16) !important;
  transform: translate3d(0, 0, 0) scale(1.08) !important;
  transform-origin: center center !important;
  will-change: transform !important;
}

.site-video-bg::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
  pointer-events: none !important;
  background:
    radial-gradient(circle at 50% 40%, rgba(2, 6, 23, 0.02) 0%, rgba(2, 6, 23, 0.10) 46%, rgba(2, 6, 23, 0.42) 100%),
    linear-gradient(to bottom, rgba(2, 6, 23, 0.12), rgba(2, 6, 23, 0.32)) !important;
}

/* Remove the moving dotted grid/noise layer completely. */
.space-noise {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  background: none !important;
  animation: none !important;
}

/* Keep the real star fields, nebulas, planets and UFOs above the video. */
.stars-layer {
  z-index: 3 !important;
}

.nebula-layer,
.nebula-extra {
  z-index: 4 !important;
}

.planet-big,
.planet-small,
.planet-saturn {
  z-index: 5 !important;
}

body::before {
  z-index: 6 !important;
  opacity: 0.44 !important;
  background:
    radial-gradient(circle at 22% 22%, rgba(0, 217, 255, 0.10), transparent 28%),
    radial-gradient(circle at 78% 38%, rgba(139, 92, 255, 0.12), transparent 34%),
    linear-gradient(to bottom, rgba(2, 6, 23, 0.02), rgba(2, 6, 23, 0.24)) !important;
}

body::after {
  z-index: 7 !important;
  opacity: 0.14 !important;
}

.ufo-scene,
.second-ufo {
  z-index: 12 !important;
}

main,
footer {
  position: relative !important;
  z-index: 20 !important;
}

.site-header {
  z-index: 120 !important;
}

.mobile-nav {
  z-index: 130 !important;
}

/* Small continuous UFO flight. It stays behind all text/cards and the solid hero hides it on the opening screen. */
.small-ufo-flight {
  position: fixed;
  top: clamp(42vh, 56vh, 66vh);
  left: 0;
  z-index: 11 !important;
  width: clamp(84px, 9vw, 150px);
  pointer-events: none;
  opacity: 0;
  transform: translate3d(calc(-100% - 12vw), 0, 0);
  will-change: transform, opacity;
  animation: smallUfoCrossing 15s linear infinite;
}

.small-ufo-flight img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 14px rgba(0, 217, 255, 0.42));
  transform-origin: center;
  will-change: transform;
  animation: smallUfoFloating 2.4s ease-in-out infinite alternate;
}

@keyframes smallUfoCrossing {
  0% {
    opacity: 0;
    transform: translate3d(calc(-100% - 12vw), 0, 0);
  }

  1% {
    opacity: 0.9;
  }

  92% {
    opacity: 0.9;
    transform: translate3d(calc(100vw + 12vw), 0, 0);
  }

  93.333%,
  100% {
    opacity: 0;
    transform: translate3d(calc(100vw + 12vw), 0, 0);
  }
}

@keyframes smallUfoFloating {
  from {
    transform: translate3d(0, -7px, 0) rotate(-2deg);
  }

  to {
    transform: translate3d(0, 8px, 0) rotate(2deg);
  }
}

@media (max-width: 680px) {
  .small-ufo-flight {
    top: 61vh;
    width: clamp(72px, 22vw, 105px);
  }

  .small-ufo-flight img {
    filter: drop-shadow(0 0 10px rgba(0, 217, 255, 0.36));
  }
}

@media (prefers-reduced-motion: reduce) {
  .small-ufo-flight {
    display: none;
  }
}

/* The HERO remains as it is, with its own solid background. */
.lw-hero {
  z-index: 40 !important;
  isolation: isolate !important;
}

/* iPhone/mobile carousel correction:
   roles animate using GPU-friendly transforms instead of jumping with left/bottom/height. */
@media (max-width: 639px) {
  .lw-carousel {
    perspective: 1200px !important;
    transform-style: preserve-3d !important;
  }

  .lw-carousel-item {
    left: 50% !important;
    bottom: 18% !important;
    height: 60% !important;
    transform-origin: 50% 100% !important;
    transition:
      transform var(--lw-speed) var(--lw-ease),
      filter var(--lw-speed) var(--lw-ease),
      opacity var(--lw-speed) var(--lw-ease) !important;
    will-change: transform, filter, opacity !important;
    -webkit-transform-style: preserve-3d !important;
    transform-style: preserve-3d !important;
    backface-visibility: hidden !important;
    -webkit-backface-visibility: hidden !important;
  }

  .lw-carousel-item[data-role="center"] {
    z-index: 20 !important;
    opacity: 1 !important;
    filter: blur(0) !important;
    transform: translate3d(-50%, 0, 220px) scale(1.25) rotateY(0deg) !important;
  }

  .lw-carousel-item[data-role="left"] {
    z-index: 10 !important;
    opacity: 0.86 !important;
    filter: blur(1.8px) !important;
    transform: translate3d(calc(-50% - 32vw), -9vh, 0) scale(0.34) rotateY(18deg) !important;
  }

  .lw-carousel-item[data-role="right"] {
    z-index: 10 !important;
    opacity: 0.86 !important;
    filter: blur(1.8px) !important;
    transform: translate3d(calc(-50% + 32vw), -9vh, 0) scale(0.34) rotateY(-18deg) !important;
  }

  .lw-carousel-item[data-role="back"] {
    z-index: 5 !important;
    opacity: 0.72 !important;
    filter: blur(3.5px) !important;
    transform: translate3d(-50%, -11vh, -180px) scale(0.27) rotateY(0deg) !important;
  }
}

/* END LANZAWARE FIXED MP4 BACKGROUND */



/* ==========================================================
   LANZAWARE CONTENT UPDATE 2026-07-22
   ========================================================== */

/* Hero copy: black lettering with a bright white shadow for contrast. */
.lw-kicker,
.lw-description {
  color: #050505;
  opacity: 1;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.98),
    0 0 7px rgba(255, 255, 255, 0.92),
    0 3px 16px rgba(255, 255, 255, 0.72);
}

.merged-intro-section {
  min-height: 92vh;
}

.merged-intro-section .content {
  max-width: 940px;
}

.compact-impact {
  max-width: 900px;
  margin-top: 28px;
  font-size: clamp(1.45rem, 2.9vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.about-history-grid h3 {
  margin-bottom: 14px;
  color: #ffffff;
  font-size: 1.18rem;
  line-height: 1.2;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.about-history-grid > div:nth-child(1) {
  background: linear-gradient(145deg, rgba(0, 217, 255, 0.17), rgba(255, 255, 255, 0.045));
  border-color: rgba(0, 217, 255, 0.34);
}

.about-history-grid > div:nth-child(2) {
  background: linear-gradient(145deg, rgba(139, 92, 255, 0.18), rgba(255, 255, 255, 0.045));
  border-color: rgba(139, 92, 255, 0.38);
}

.about-history-grid > div:nth-child(3) {
  background: linear-gradient(145deg, rgba(37, 211, 102, 0.16), rgba(255, 255, 255, 0.045));
  border-color: rgba(37, 211, 102, 0.34);
}

/* Transparent coloured cards preserve the moving UFO and space background. */
.feature-card,
.mini-services article,
.service-block,
.tool-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.feature-card::before,
.mini-services article::before,
.service-block::before,
.tool-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: -1;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--card-accent, var(--cyan)), transparent);
  opacity: 0.92;
}

.feature-card:nth-child(1) {
  --card-accent: #00d9ff;
  background: linear-gradient(145deg, rgba(0, 217, 255, 0.18), rgba(2, 6, 23, 0.34));
  border-color: rgba(0, 217, 255, 0.40);
}

.feature-card:nth-child(2) {
  --card-accent: #b574ff;
  background: linear-gradient(145deg, rgba(139, 92, 255, 0.19), rgba(2, 6, 23, 0.34));
  border-color: rgba(181, 116, 255, 0.40);
}

.feature-card:nth-child(3) {
  --card-accent: #25d366;
  background: linear-gradient(145deg, rgba(37, 211, 102, 0.17), rgba(2, 6, 23, 0.34));
  border-color: rgba(37, 211, 102, 0.38);
}

.mini-services article:nth-child(1) {
  --card-accent: #00d9ff;
  background: linear-gradient(145deg, rgba(0, 217, 255, 0.19), rgba(2, 6, 23, 0.36));
  border-color: rgba(0, 217, 255, 0.40);
}

.mini-services article:nth-child(2) {
  --card-accent: #ff5cf7;
  background: linear-gradient(145deg, rgba(255, 92, 247, 0.18), rgba(2, 6, 23, 0.36));
  border-color: rgba(255, 92, 247, 0.38);
}

.mini-services article:nth-child(3) {
  --card-accent: #ffb84d;
  background: linear-gradient(145deg, rgba(255, 184, 77, 0.18), rgba(2, 6, 23, 0.36));
  border-color: rgba(255, 184, 77, 0.38);
}

.mini-services article:nth-child(4) {
  --card-accent: #25d366;
  background: linear-gradient(145deg, rgba(37, 211, 102, 0.17), rgba(2, 6, 23, 0.36));
  border-color: rgba(37, 211, 102, 0.38);
}

.service-block:nth-child(1) {
  --card-accent: #ffb84d;
  background: linear-gradient(145deg, rgba(255, 184, 77, 0.17), rgba(2, 6, 23, 0.36));
  border-color: rgba(255, 184, 77, 0.36);
}

.service-block:nth-child(2) {
  --card-accent: #ff5cf7;
  background: linear-gradient(145deg, rgba(255, 92, 247, 0.17), rgba(2, 6, 23, 0.36));
  border-color: rgba(255, 92, 247, 0.36);
}

.service-block:nth-child(3) {
  --card-accent: #00d9ff;
  background: linear-gradient(145deg, rgba(0, 217, 255, 0.17), rgba(2, 6, 23, 0.36));
  border-color: rgba(0, 217, 255, 0.36);
}

.service-block:nth-child(4) {
  --card-accent: #25d366;
  background: linear-gradient(145deg, rgba(37, 211, 102, 0.17), rgba(2, 6, 23, 0.36));
  border-color: rgba(37, 211, 102, 0.36);
}

.tools-section {
  min-height: auto;
  padding-top: 120px;
  padding-bottom: 120px;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
  margin-top: 44px;
}

.lw-tools-search-wrap {
  width: min(760px, 100%);
  margin-top: 34px;
}

.lw-tools-search {
  width: 100%;
  min-height: 58px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 13px;
  border: 1px solid rgba(0, 217, 255, 0.42);
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.52);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.28), 0 0 34px rgba(0, 217, 255, 0.10);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.lw-tools-search:focus-within {
  border-color: rgba(0, 217, 255, 0.82);
  background: rgba(2, 6, 23, 0.68);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.32), 0 0 42px rgba(0, 217, 255, 0.20);
}

.lw-tools-search svg {
  flex: 0 0 21px;
  width: 21px;
  height: 21px;
  fill: none;
  stroke: var(--cyan);
  stroke-width: 2;
  stroke-linecap: round;
}

.lw-tools-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: #ffffff;
  background: transparent;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  font-size: 1rem;
}

.lw-tools-search input::placeholder {
  color: rgba(255, 255, 255, 0.52);
}

.lw-tools-search input::-webkit-search-cancel-button {
  cursor: pointer;
}

.lw-tools-search-results {
  width: 100%;
  margin-top: 12px;
  border: 1px solid rgba(0, 217, 255, 0.24);
  border-radius: 22px;
  background: rgba(2, 6, 23, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 20px 58px rgba(0, 0, 0, 0.38);
  overflow: hidden;
}

.lw-tools-search-results[hidden] {
  display: none !important;
}

.lw-tools-search-list {
  display: grid;
}

.lw-tools-search-result {
  min-width: 0;
  padding: 15px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: #ffffff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.lw-tools-search-result:last-child {
  border-bottom: 0;
}

.lw-tools-search-result:hover,
.lw-tools-search-result:focus-visible {
  color: var(--cyan);
  background: rgba(0, 217, 255, 0.08);
  outline: none;
}

.lw-tools-search-result-text {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.lw-tools-search-result-text strong {
  font-size: 0.98rem;
  line-height: 1.25;
}

.lw-tools-search-result-text > span {
  display: block;
  max-width: 100%;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lw-tools-search-result-arrow {
  flex: 0 0 auto;
  color: var(--cyan);
  font-size: 1.2rem;
}

.lw-tools-search-message {
  max-width: none;
  margin: 0;
  padding: 15px 18px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
  line-height: 1.45;
}

.lw-tools-search-results.is-error .lw-tools-search-message {
  color: rgba(255, 255, 255, 0.72);
}

.lw-tools-search-wrap + .tools-grid {
  margin-top: 28px;
}

.tool-card {
  min-height: 360px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 30px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 26px 78px rgba(0, 0, 0, 0.34);
  transition: transform 0.36s ease, border-color 0.36s ease, box-shadow 0.36s ease;
}

.tool-card:nth-child(1) {
  --card-accent: #00d9ff;
  --card-border: rgba(0, 217, 255, 0.52);
  --card-soft: rgba(0, 217, 255, 0.12);
  --card-soft-hover: rgba(0, 217, 255, 0.22);
  --card-shadow: rgba(0, 217, 255, 0.22);
  background: linear-gradient(145deg, rgba(0, 217, 255, 0.20), rgba(2, 6, 23, 0.38));
  border-color: rgba(0, 217, 255, 0.42);
}

.tool-card:nth-child(2) {
  --card-accent: #ff5cf7;
  --card-border: rgba(255, 92, 247, 0.50);
  --card-soft: rgba(255, 92, 247, 0.12);
  --card-soft-hover: rgba(255, 92, 247, 0.22);
  --card-shadow: rgba(255, 92, 247, 0.21);
  background: linear-gradient(145deg, rgba(255, 92, 247, 0.19), rgba(2, 6, 23, 0.38));
  border-color: rgba(255, 92, 247, 0.40);
}

.tool-card:nth-child(3) {
  --card-accent: #b574ff;
  --card-border: rgba(181, 116, 255, 0.52);
  --card-soft: rgba(139, 92, 255, 0.13);
  --card-soft-hover: rgba(139, 92, 255, 0.23);
  --card-shadow: rgba(139, 92, 255, 0.22);
  background: linear-gradient(145deg, rgba(139, 92, 255, 0.21), rgba(2, 6, 23, 0.38));
  border-color: rgba(181, 116, 255, 0.42);
}

.tool-card:hover {
  transform: translateY(-10px);
  border-color: var(--card-accent);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42), 0 0 48px var(--card-shadow, rgba(0, 217, 255, 0.22));
}

.tool-number {
  margin-bottom: 34px;
  color: var(--card-accent);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.tool-card h3 {
  margin-bottom: 16px;
  font-size: clamp(1.45rem, 2.2vw, 2.1rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.tool-card p {
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  line-height: 1.62;
}

.tool-link {
  min-height: 48px;
  margin-top: auto;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--card-border, rgba(0, 217, 255, 0.52));
  border-radius: 999px;
  color: #ffffff;
  background: var(--card-soft, rgba(0, 217, 255, 0.12));
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.tool-link:hover {
  transform: translateX(3px);
  background: var(--card-soft-hover, rgba(0, 217, 255, 0.22));
}

.footer-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.68);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  transition: color 0.25s ease;
}

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

@media (max-width: 1020px) {
  .merged-intro-section {
    min-height: 88vh;
  }

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

  .tool-card {
    min-height: auto;
  }

  .footer-inner {
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .merged-intro-section {
    min-height: auto;
    padding-top: 150px;
    padding-bottom: 130px;
  }

  .compact-impact {
    font-size: clamp(1.25rem, 7vw, 2rem);
  }

  .tools-section {
    padding-top: 100px;
    padding-bottom: 100px;
  }

  .lw-tools-search-wrap {
    margin-top: 28px;
  }

  .lw-tools-search {
    min-height: 54px;
    padding: 0 17px;
  }

  .tool-card {
    padding: 26px;
    border-radius: 26px;
  }

  .feature-card,
  .mini-services article,
  .service-block,
  .tool-card,
  .text-grid > div {
    backdrop-filter: blur(11px);
    -webkit-backdrop-filter: blur(11px);
  }

  .footer-links {
    flex-direction: column;
  }
}

/* END LANZAWARE CONTENT UPDATE 2026-07-22 */

/* ==========================================================
   LANZAWARE REVIEWS, LOCATION AND MOBILE CAROUSEL UPDATE
   2026-07-22
   ========================================================== */

/* Lighter, GPU-friendly character transitions on phones. */
@media (max-width: 639px) {
  .lw-hero {
    --lw-speed: 520ms;
    --lw-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  }

  .lw-carousel {
    perspective: none !important;
  }

  .lw-carousel-item {
    contain: layout paint style;
    transition:
      transform var(--lw-speed) var(--lw-ease),
      opacity 320ms ease-out !important;
    filter: none !important;
    will-change: transform, opacity !important;
  }

  .lw-carousel-item img {
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
  }

  .lw-carousel-item[data-role="center"] {
    filter: none !important;
    transform: translate3d(-50%, 0, 0) scale(1.25) !important;
  }

  .lw-carousel-item[data-role="left"] {
    opacity: 0.82 !important;
    filter: none !important;
    transform: translate3d(calc(-50% - 30vw), -8vh, 0) scale(0.35) rotate(1deg) !important;
  }

  .lw-carousel-item[data-role="right"] {
    opacity: 0.82 !important;
    filter: none !important;
    transform: translate3d(calc(-50% + 30vw), -8vh, 0) scale(0.35) rotate(-1deg) !important;
  }

  .lw-carousel-item[data-role="back"] {
    opacity: 0.54 !important;
    filter: none !important;
    transform: translate3d(-50%, -10vh, 0) scale(0.27) !important;
  }

  .lw-nav-button {
    touch-action: manipulation;
  }
}

/* Four special Lanzaware areas. */
.tools-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tool-card:nth-child(3) {
  --card-accent: #ffb84d;
  --card-border: rgba(255, 184, 77, 0.52);
  --card-soft: rgba(255, 184, 77, 0.12);
  --card-soft-hover: rgba(255, 184, 77, 0.22);
  --card-shadow: rgba(255, 184, 77, 0.22);
  background: linear-gradient(145deg, rgba(255, 184, 77, 0.19), rgba(2, 6, 23, 0.38));
  border-color: rgba(255, 184, 77, 0.42);
}

.tool-card:nth-child(4) {
  --card-accent: #b574ff;
  --card-border: rgba(181, 116, 255, 0.52);
  --card-soft: rgba(139, 92, 255, 0.13);
  --card-soft-hover: rgba(139, 92, 255, 0.23);
  --card-shadow: rgba(139, 92, 255, 0.22);
  background: linear-gradient(145deg, rgba(139, 92, 255, 0.21), rgba(2, 6, 23, 0.38));
  border-color: rgba(181, 116, 255, 0.42);
}

/* Reviews remain transparent so Jupiter and the global space scene stay visible behind them. */
.reviews-section {
  min-height: auto;
  padding-top: 150px;
  padding-bottom: 150px;
  background: transparent;
  isolation: auto;
}

.reviews-section::before,
.reviews-section::after {
  content: none;
  display: none;
}

.reviews-content {
  position: relative;
  z-index: 2;
}

.reviews-intro {
  max-width: 760px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  width: 100%;
  margin-top: 46px;
}

.review-card {
  --review-accent: #00d9ff;
  min-height: 330px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  border: 1px solid color-mix(in srgb, var(--review-accent) 42%, transparent);
  border-radius: 30px;
  background: linear-gradient(145deg, color-mix(in srgb, var(--review-accent) 15%, transparent), rgba(2, 6, 23, 0.58));
  box-shadow: 0 26px 75px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: transform 0.32s ease, border-color 0.32s ease, box-shadow 0.32s ease;
}

.review-card:nth-child(2) {
  --review-accent: #ff5cf7;
}

.review-card:nth-child(3) {
  --review-accent: #ffb84d;
}

.review-card:nth-child(4) {
  --review-accent: #25d366;
}

.review-card:hover {
  transform: translateY(-8px);
  border-color: var(--review-accent);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.40), 0 0 44px color-mix(in srgb, var(--review-accent) 20%, transparent);
}

.review-stars {
  margin-bottom: 20px;
  color: #ffd166;
  font-size: 1.05rem;
  letter-spacing: 0.16em;
  text-shadow: 0 0 18px rgba(255, 209, 102, 0.32);
}

.review-card blockquote {
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1rem;
  line-height: 1.72;
}

.review-author {
  margin-top: auto;
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  color: #ffffff;
  text-decoration: none;
}

.review-author strong {
  font-size: 1.05rem;
}

.review-author span {
  color: var(--review-accent);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Location and embedded map. */
.location-section {
  min-height: auto;
  padding-top: 135px;
  padding-bottom: 135px;
}

.location-content {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: 52px;
}

.location-copy p:not(.eyebrow) {
  max-width: 610px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.04rem;
  line-height: 1.72;
}

.location-button {
  width: fit-content;
}

.map-frame {
  position: relative;
  min-height: 520px;
  padding: 10px;
  overflow: hidden;
  border: 1px solid rgba(0, 217, 255, 0.38);
  border-radius: 34px;
  background: linear-gradient(145deg, rgba(0, 217, 255, 0.17), rgba(139, 92, 255, 0.14));
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.40), 0 0 55px rgba(0, 217, 255, 0.14);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 500px;
  border: 0;
  border-radius: 25px;
  filter: saturate(0.92) contrast(1.03);
}

@media (max-width: 1100px) {
  .tools-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .location-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .tools-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .reviews-section,
  .location-section {
    padding-top: 105px;
    padding-bottom: 105px;
  }


  .review-card {
    min-height: auto;
    padding: 26px;
    border-radius: 26px;
    backdrop-filter: blur(11px);
    -webkit-backdrop-filter: blur(11px);
  }

  .location-content {
    gap: 36px;
  }

  .map-frame {
    min-height: 410px;
    padding: 7px;
    border-radius: 27px;
  }

  .map-frame iframe {
    height: 395px;
    border-radius: 21px;
  }
}

/* Fallback for browsers without color-mix support. */
@supports not (color: color-mix(in srgb, white 50%, black)) {
  .review-card {
    border-color: rgba(255, 255, 255, 0.22);
    background: linear-gradient(145deg, rgba(0, 217, 255, 0.14), rgba(2, 6, 23, 0.58));
  }
}

/* END LANZAWARE REVIEWS, LOCATION AND MOBILE CAROUSEL UPDATE */

