:root {
  --ink: #10233f;
  --muted: #5c6f89;
  --blue: #1f78ff;
  --blue-strong: #0f5ed7;
  --cyan: #69d7ff;
  --mist: #eef6ff;
  --ice: #f8fbff;
  --white: #ffffff;
  --line: rgba(31, 120, 255, 0.16);
  --shadow: 0 24px 80px rgba(28, 83, 145, 0.16);
  --radius: 28px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 8% 2%, rgba(255, 255, 255, 0.98), transparent 24rem),
    radial-gradient(circle at 85% 15%, rgba(105, 215, 255, 0.22), transparent 22rem),
    linear-gradient(135deg, #fbfdff 0%, #eef6ff 48%, #ffffff 100%);
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  max-width: 100%;
}

.site-shell {
  min-height: 100vh;
  overflow: hidden;
  position: relative;
}

.site-shell::before {
  content: "";
  position: fixed;
  inset: -20% -10% auto auto;
  width: 58rem;
  height: 58rem;
  pointer-events: none;
  background: radial-gradient(circle, rgba(31, 120, 255, 0.12), transparent 66%);
  filter: blur(8px);
  z-index: -2;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(31, 120, 255, 0.12);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(22px);
}

.nav {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: var(--blue);
  background: linear-gradient(145deg, #ffffff, #dff2ff);
  box-shadow: inset 0 1px 0 #ffffff, 0 14px 34px rgba(31, 120, 255, 0.22);
}

.brand-text {
  display: grid;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand-text span:last-child {
  color: var(--blue);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px;
  border: 1px solid rgba(31, 120, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
}

.nav-links a {
  padding: 10px 14px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
  border-radius: 999px;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ink);
  background: rgba(31, 120, 255, 0.1);
  transform: translateY(-1px);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  background: var(--white);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 13px 20px;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  font-weight: 800;
  letter-spacing: -0.01em;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 16px 38px rgba(31, 120, 255, 0.3);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 48px rgba(31, 120, 255, 0.38);
  filter: saturate(1.05);
}

.btn.secondary {
  color: var(--blue-strong);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(31, 120, 255, 0.2);
  box-shadow: 0 14px 36px rgba(28, 83, 145, 0.12);
}

.btn.dark {
  background: linear-gradient(135deg, #142b4d, #255b96);
  box-shadow: 0 16px 38px rgba(16, 35, 63, 0.26);
}

.hero,
.page-hero {
  position: relative;
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 84px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 34px;
  align-items: center;
  padding: 74px 0 64px;
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 5% -14% auto auto;
  width: 58%;
  height: 78%;
  min-height: 480px;
  background:
    radial-gradient(circle at 70% 16%, rgba(255, 255, 255, 0.92), transparent 16rem),
    radial-gradient(circle at 52% 56%, rgba(31, 120, 255, 0.16), transparent 22rem),
    linear-gradient(135deg, rgba(234, 246, 255, 0.2), rgba(255, 255, 255, 0));
  border-radius: 48% 52% 46% 54%;
  filter: blur(2px);
  pointer-events: none;
  z-index: -1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  padding: 8px 13px;
  border: 1px solid rgba(31, 120, 255, 0.18);
  border-radius: 999px;
  color: var(--blue-strong);
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.83rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 0 7px rgba(105, 215, 255, 0.18);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: -0.055em;
}

h1 {
  font-size: clamp(3.15rem, 8vw, 6.8rem);
}

.page-hero h1 {
  font-size: clamp(2.75rem, 6vw, 5.3rem);
  max-width: 950px;
}

h2 {
  font-size: clamp(2.1rem, 4.8vw, 4.25rem);
}

h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
}

.gradient-text {
  background: linear-gradient(120deg, var(--blue-strong), var(--cyan) 70%, #91e4ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1.06rem, 1.7vw, 1.28rem);
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.trust-pill {
  padding: 16px;
  border: 1px solid rgba(31, 120, 255, 0.14);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 36px rgba(28, 83, 145, 0.08);
}

.trust-pill strong {
  display: block;
  font-size: 1.04rem;
  letter-spacing: -0.02em;
}

.trust-pill span {
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-art {
  position: relative;
  min-height: 660px;
  display: grid;
  place-items: center;
  perspective: 1200px;
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: 10% 4% 8% 4%;
  background:
    linear-gradient(90deg, transparent 49%, rgba(31, 120, 255, 0.16) 49% 50%, transparent 50%),
    linear-gradient(0deg, transparent 49%, rgba(31, 120, 255, 0.12) 49% 50%, transparent 50%);
  background-size: 96px 96px;
  border: 1px solid rgba(31, 120, 255, 0.08);
  border-radius: 42% 58% 52% 48%;
  transform: rotate(-11deg);
  opacity: 0.8;
  mask-image: radial-gradient(circle, #000 0 58%, transparent 78%);
}

.hero-art::after {
  content: "";
  position: absolute;
  inset: 8% 0;
  border: 1px solid rgba(31, 120, 255, 0.14);
  border-radius: 48%;
  transform: rotate(18deg);
  animation: orbit 15s linear infinite;
}

.key-fob {
  position: relative;
  width: min(92%, 560px);
  transform: rotate(-18deg) translateY(10px);
  filter: drop-shadow(0 34px 42px rgba(31, 120, 255, 0.24));
  animation: floatKey 6.5s ease-in-out infinite;
  z-index: 2;
}

.key-glow {
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(105, 215, 255, 0.32), transparent 66%);
  filter: blur(24px);
  animation: pulseGlow 4.4s ease-in-out infinite;
}

.data-pin {
  position: absolute;
  width: 1px;
  height: 92px;
  background: linear-gradient(to bottom, rgba(31, 120, 255, 0.34), transparent);
  transform-origin: top;
  animation: dataDrift 5s ease-in-out infinite;
}

.data-pin::before {
  content: "";
  position: absolute;
  top: -4px;
  left: -3px;
  width: 7px;
  height: 7px;
  border: 1px solid rgba(31, 120, 255, 0.42);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
}

.pin-1 { top: 16%; left: 18%; transform: rotate(24deg); }
.pin-2 { top: 8%; right: 22%; transform: rotate(-18deg); animation-delay: -1s; }
.pin-3 { bottom: 18%; left: 14%; transform: rotate(-32deg); animation-delay: -2s; }
.pin-4 { bottom: 12%; right: 18%; transform: rotate(20deg); animation-delay: -3s; }

.section {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 86px 0;
}

.section.compact {
  padding: 58px 0;
}

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

.section-heading p {
  max-width: 600px;
  margin: 0;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 20px;
}

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

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

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

.card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid rgba(31, 120, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 20px 60px rgba(28, 83, 145, 0.09);
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.88), transparent 34%, rgba(105, 215, 255, 0.09));
  opacity: 0.85;
}

.card > * {
  position: relative;
  z-index: 1;
}

.service-card {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(31, 120, 255, 0.28);
  box-shadow: var(--shadow);
}

.service-icon,
.mini-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 18px;
  color: var(--blue);
  background: linear-gradient(145deg, #ffffff, #e2f4ff);
  box-shadow: inset 0 1px 0 #ffffff, 0 12px 30px rgba(31, 120, 255, 0.16);
}

.mini-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
}

.service-card p,
.card p {
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  color: var(--blue-strong);
  font-weight: 800;
}

.process {
  counter-reset: steps;
}

.process .card {
  padding-top: 72px;
}

.process .card::before {
  counter-increment: steps;
  content: "0" counter(steps);
  position: absolute;
  top: 24px;
  left: 28px;
  z-index: 2;
  color: rgba(31, 120, 255, 0.22);
  font-size: 3.4rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.08em;
}

.banner {
  position: relative;
  overflow: hidden;
  border-radius: 36px;
  padding: clamp(32px, 6vw, 68px);
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.96), transparent 11rem),
    radial-gradient(circle at 70% 80%, rgba(105, 215, 255, 0.24), transparent 18rem),
    linear-gradient(135deg, #fafdff 0%, #eaf6ff 52%, #ffffff 100%);
  border: 1px solid rgba(31, 120, 255, 0.14);
  box-shadow: var(--shadow);
}

.banner::before {
  content: "";
  position: absolute;
  inset: -20% -10% -20% 48%;
  background-image: url("data:image/svg+xml,%3Csvg width='620' height='620' viewBox='0 0 620 620' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%231f78ff' stroke-opacity='.22'%3E%3Cellipse cx='310' cy='310' rx='230' ry='165' transform='rotate(-22 310 310)'/%3E%3Cellipse cx='310' cy='310' rx='180' ry='255' transform='rotate(28 310 310)'/%3E%3Cpath d='M140 250h120m100 0h125M180 374h90m120 0h95M310 80v120m0 215v130'/%3E%3Ccircle cx='140' cy='250' r='5'/%3E%3Ccircle cx='485' cy='250' r='5'/%3E%3Ccircle cx='180' cy='374' r='5'/%3E%3Ccircle cx='485' cy='374' r='5'/%3E%3C/g%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.75;
  animation: orbit 28s linear infinite;
}

.banner > * {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.locations {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.location-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid rgba(31, 120, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.68);
}

.location-item strong {
  letter-spacing: -0.02em;
}

.location-item span {
  color: var(--muted);
  text-align: right;
}

.page-hero {
  padding: 76px 0 46px;
}

.page-hero .lead {
  max-width: 860px;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.breadcrumb a {
  color: var(--blue-strong);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.55fr);
  gap: 26px;
  align-items: start;
}

.sticky-card {
  position: sticky;
  top: 112px;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--muted);
}

.check-list li::before {
  content: "";
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  background:
    linear-gradient(135deg, var(--blue), var(--cyan)),
    var(--blue);
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M9.2 16.6 4.9 12.3l1.4-1.4 2.9 2.9 8.5-8.5 1.4 1.4z'/%3E%3C/svg%3E") center / 76% no-repeat;
}

.blog-card {
  display: grid;
  min-height: 320px;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--blue-strong);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.contact-strip {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.contact-lines {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin-top: 16px;
  color: var(--muted);
  font-weight: 700;
}

.site-footer {
  margin-top: 48px;
  border-top: 1px solid rgba(31, 120, 255, 0.12);
  background: rgba(255, 255, 255, 0.68);
}

.footer-inner {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 38px 0;
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(140px, 0.6fr));
  gap: 24px;
}

.footer-inner h3 {
  margin-bottom: 12px;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.footer-inner p,
.footer-inner a {
  color: var(--muted);
}

.footer-inner a {
  display: block;
  margin: 8px 0;
}

.footer-bottom {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 18px 0 32px;
  color: var(--muted);
  font-size: 0.92rem;
}

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

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

@keyframes floatKey {
  0%, 100% { transform: rotate(-18deg) translateY(10px); }
  50% { transform: rotate(-15deg) translateY(-18px); }
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(0.95); opacity: 0.62; }
  50% { transform: scale(1.08); opacity: 1; }
}

@keyframes dataDrift {
  0%, 100% { opacity: 0.45; transform: translateY(0) rotate(var(--angle, 0deg)); }
  50% { opacity: 0.9; transform: translateY(-14px) rotate(var(--angle, 0deg)); }
}

@keyframes orbit {
  to { transform: rotate(378deg); }
}

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

@media (max-width: 1050px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 54px;
  }

  .hero-art {
    min-height: 520px;
    margin-top: -10px;
  }

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

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

@media (max-width: 860px) {
  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .nav-links {
    position: fixed;
    inset: 84px 16px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border-radius: 26px;
    padding: 14px;
    box-shadow: var(--shadow);
  }

  body.nav-open .nav-links {
    display: flex;
  }

  .nav-actions .btn.secondary {
    display: none;
  }

  .section-heading,
  .contact-strip,
  .split {
    grid-template-columns: 1fr;
    display: grid;
  }

  .grid.three,
  .grid.two {
    grid-template-columns: 1fr;
  }

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

  .sticky-card {
    position: relative;
    top: auto;
  }
}

@media (max-width: 640px) {
  .nav {
    width: min(100% - 24px, var(--max));
    min-height: 76px;
  }

  .brand-text {
    font-size: 0.9rem;
  }

  .hero,
  .page-hero,
  .section {
    width: min(100% - 24px, var(--max));
  }

  .hero {
    min-height: auto;
    padding: 42px 0 38px;
  }

  .hero-art {
    min-height: 390px;
  }

  .trust-row,
  .grid.four,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 22px;
  }

  .banner {
    border-radius: 26px;
  }
}
