:root {
  --bg: #08111e;
  --bg-soft: #0d1a2d;
  --panel: rgba(12, 26, 46, 0.86);
  --panel-soft: rgba(255, 255, 255, 0.04);
  --line: rgba(136, 181, 248, 0.16);
  --text: #eef4ff;
  --muted: #9fb4d2;
  --blue: #1d9bf0;
  --cyan: #34d3ff;
  --red: #ff5148;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(52, 211, 255, 0.12), transparent 26%),
    radial-gradient(circle at 88% 12%, rgba(255, 81, 72, 0.12), transparent 20%),
    linear-gradient(180deg, #050d17 0%, #091320 48%, #0b1728 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.82), transparent 94%);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatVisual {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes glowShift {
  0%,
  100% {
    transform: scale(1) translateX(0);
    opacity: 0.28;
  }

  50% {
    transform: scale(1.05) translateX(10px);
    opacity: 0.5;
  }
}

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

.topbar {
  position: sticky;
  top: 16px;
  z-index: 10;
  gap: 12px;
  padding: 8px 10px 10px;
  background:
    linear-gradient(145deg, rgba(11, 31, 59, 0.98), rgba(15, 39, 71, 0.98));
  border: 1px solid rgba(94, 144, 214, 0.18);
  border-radius: 22px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  transition:
    transform 0.28s ease,
    top 0.28s ease,
    box-shadow 0.28s ease,
    border-radius 0.28s ease,
    background 0.28s ease;
  transform: translateY(0);
  will-change: transform, top;
}

.topbar.header-compact {
  top: 8px;
  transform: translateY(-4px) scale(0.985);
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
}

.topbar.header-hidden {
  transform: translateY(-140%);
}

.topbar-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 2px 6px;
}

.brand,
.footer-brand,
.footer-meta a,
.topbar-phone,
.hero-phone a,
.contact-phone-line a {
  color: var(--text);
  text-decoration: none;
}

.brand,
.topbar-phone {
  color: #f4f8ff;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand img,
.footer-brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  padding: 6px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
}

.brand-copy,
.footer-brand div {
  display: flex;
  flex-direction: column;
}

.brand-copy span,
.footer strong,
.hero-copy h1,
.hero-card h2,
.section-heading h2,
.about-card h2,
.contact-copy h2,
.service-card h3,
.about-points strong {
  font-family: "Space Grotesk", sans-serif;
}

.brand-copy span {
  font-size: 1rem;
  font-weight: 700;
}

.brand-copy small {
  color: #aac0dd;
  font-size: 0.74rem;
}

.nav,
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav a {
  color: #aac0dd;
  text-decoration: none;
}

.nav a.active {
  color: #f4f8ff;
}

.nav a,
.topbar-phone,
.nav-cta,
.button {
  transition: transform 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.nav a:hover,
.topbar-phone:hover,
.nav-cta:hover,
.button:hover {
  transform: translateY(-1px);
}

.topbar-phone,
.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 15px;
  border-radius: 999px;
  font-weight: 700;
}

.topbar-phone {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(146, 210, 255, 0.16);
}

.nav-cta {
  background: linear-gradient(135deg, #00a6ff, #34d3ff);
  color: #fff;
  text-decoration: none;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
  padding: 76px 0 42px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 8px;
  right: -120px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(52, 211, 255, 0.16), transparent 68%);
  filter: blur(12px);
  pointer-events: none;
  animation: glowShift 7s ease-in-out infinite;
}

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

.hero-copy h1,
.hero-card h2,
.section-heading h2,
.about-card h2,
.contact-copy h2 {
  margin: 0;
  line-height: 1.03;
}

.hero-copy h1 {
  max-width: 11ch;
  font-size: clamp(3rem, 7vw, 5.3rem);
  opacity: 0;
  animation: fadeUp 0.75s ease 0.1s forwards;
}

.hero-text,
.service-card p,
.about-card p,
.about-points span,
.contact-copy p,
.footer p,
.hero-phone,
.contact-phone-line {
  color: var(--muted);
  line-height: 1.75;
}

.hero-text {
  max-width: 58ch;
  margin: 22px 0 0;
  font-size: 1.05rem;
  opacity: 0;
  animation: fadeUp 0.75s ease 0.22s forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0 20px;
  opacity: 0;
  animation: fadeUp 0.75s ease 0.34s forwards;
}

.button {
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
}

.button.primary {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #05111b;
  box-shadow: 0 14px 34px rgba(52, 211, 255, 0.24);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.hero-panel,
.hero-list,
.about-points,
.service-grid,
.contact {
  display: grid;
  gap: 18px;
}

.hero-visual,
.page-image,
.feature-banner {
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-visual img,
.page-image img,
.feature-banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-visual {
  min-height: 320px;
  opacity: 0;
  animation:
    fadeUp 0.8s ease 0.28s forwards,
    floatVisual 6s ease-in-out 1.2s infinite;
}

.hero-card,
.service-card,
.about-card,
.about-points div,
.contact-form {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 30px;
  background:
    linear-gradient(145deg, rgba(29, 155, 240, 0.14), rgba(10, 23, 40, 0.96)),
    var(--panel);
  opacity: 0;
  animation: fadeUp 0.8s ease 0.42s forwards;
}

.card-label {
  margin: 0 0 12px;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
}

.hero-card h2 {
  margin-bottom: 20px;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
}

.hero-list div {
  padding: 18px;
  border-radius: 20px;
  background: var(--panel-soft);
  border: 1px solid var(--line);
  opacity: 0;
  animation: fadeUp 0.7s ease forwards;
}

.hero-list div:nth-child(1) {
  animation-delay: 0.55s;
}

.hero-list div:nth-child(2) {
  animation-delay: 0.67s;
}

.hero-list div:nth-child(3) {
  animation-delay: 0.79s;
}

.hero-list strong {
  display: block;
  margin-bottom: 8px;
  font-family: "Space Grotesk", sans-serif;
}

.hero-list span {
  color: var(--muted);
  line-height: 1.7;
}

.services,
.about,
.contact {
  padding: 44px 0;
}

.page-hero {
  padding: 72px 0 20px;
  max-width: 68ch;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -120px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(52, 211, 255, 0.14), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
  animation: glowShift 7s ease-in-out infinite;
}

.page-hero h1 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  line-height: 1.04;
  opacity: 0;
  animation: fadeUp 0.75s ease 0.12s forwards;
}

.page-intro {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.05rem;
  opacity: 0;
  animation: fadeUp 0.75s ease 0.26s forwards;
}

.page-image {
  margin-top: 10px;
  opacity: 0;
  animation:
    fadeUp 0.85s ease 0.35s forwards,
    floatVisual 6s ease-in-out 1.25s infinite;
}

.page-image img {
  max-height: 420px;
}

.section-heading {
  max-width: 50ch;
  margin-bottom: 28px;
}

.section-heading h2,
.about-card h2,
.contact-copy h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

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

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

.feature-banner {
  position: relative;
  margin-top: 26px;
  min-height: 280px;
}

.feature-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 17, 30, 0.82), rgba(5, 17, 30, 0.18));
}

.feature-banner-copy {
  position: absolute;
  left: 32px;
  bottom: 28px;
  z-index: 1;
  max-width: 34ch;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.2s forwards;
}

.feature-banner-copy h2 {
  margin: 10px 0 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.08;
}

.feature-copy {
  margin: 12px 0 0;
  max-width: 36ch;
  color: var(--muted);
  line-height: 1.75;
}

.feature-banner img {
  transform: scale(1.02);
  transition: transform 0.7s ease;
}

.feature-banner:hover img {
  transform: scale(1.07);
}

.hero-phone,
.eyebrow {
  opacity: 0;
  animation: fadeUp 0.7s ease forwards;
}

.eyebrow {
  animation-delay: 0.02s;
}

.hero-phone {
  animation-delay: 0.44s;
}

@media (prefers-reduced-motion: reduce) {
  .hero::before,
  .page-hero::before,
  .hero-copy h1,
  .hero-text,
  .hero-actions,
  .hero-phone,
  .eyebrow,
  .hero-visual,
  .hero-card,
  .hero-list div,
  .feature-banner-copy,
  .page-hero h1,
  .page-intro,
  .page-image {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .feature-banner img {
    transition: none;
    transform: none;
  }
}

.service-card {
  padding: 28px;
}

.service-card h3 {
  margin: 0 0 12px;
  font-size: 1.35rem;
}

.about {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
}

.about-card,
.about-points div {
  padding: 28px;
}

.about-points strong {
  display: block;
  margin-bottom: 8px;
}

.contact {
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
}

.contact-page {
  padding-top: 18px;
}

.trust-strip {
  padding-top: 0;
}

.text-link {
  display: inline-flex;
  margin-top: 14px;
  color: var(--cyan);
  text-decoration: none;
  font-weight: 700;
}

.contact-points {
  margin-top: 20px;
}

.contact-form {
  padding: 28px;
}

.contact-form label {
  display: block;
  margin-bottom: 18px;
  color: var(--text);
  font-weight: 600;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  margin-top: 10px;
  padding: 15px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #8ea3c0;
}

.submit-button {
  width: 100%;
  border: 0;
  margin-top: 8px;
}

.form-note {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--cyan);
}

.footer {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr;
  gap: 22px;
  padding: 34px;
  margin-top: 18px;
  border: 1px solid rgba(94, 144, 214, 0.18);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(11, 31, 59, 0.98), rgba(15, 39, 71, 0.98));
  box-shadow: var(--shadow);
}

.footer strong {
  display: block;
  margin-bottom: 4px;
  color: #f4f8ff;
}

.footer-tagline,
.footer-contact span {
  color: #aac0dd;
  line-height: 1.75;
}

.footer-tagline {
  margin: 18px 0 0;
  max-width: 42ch;
}

.footer-title {
  margin: 0 0 14px;
  color: #7fc7ff;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
  font-weight: 800;
}

.footer-links {
  display: grid;
  gap: 12px;
}

.footer-links a,
.footer-contact a {
  color: #f4f8ff;
  text-decoration: none;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-contact a {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 4px 0;
  color: #d6e4f5;
  font-size: 0.92rem;
}

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

  .topbar-main,
  .nav,
  .topbar-actions {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

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

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

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

  .topbar {
    top: 10px;
    padding: 10px;
    border-radius: 18px;
  }

  .topbar.header-compact {
    top: 6px;
    transform: translateY(-2px) scale(0.99);
  }

  .topbar-main {
    padding: 0;
  }

  .brand img,
  .footer-brand img {
    width: 42px;
    height: 42px;
  }

  .hero {
    padding-top: 54px;
  }

  .hero-copy h1 {
    max-width: none;
  }

  .footer {
    padding: 24px;
  }

  .hero-card,
  .hero-visual,
  .page-image,
  .feature-banner,
  .service-card,
  .about-card,
  .about-points div,
  .contact-form {
    border-radius: 22px;
  }

  .feature-banner-copy {
    left: 20px;
    right: 20px;
    bottom: 20px;
  }
}
