:root {
  --bg: #070b14;
  --bg-deep: #10182a;
  --surface: rgba(10, 15, 27, 0.78);
  --surface-strong: rgba(14, 21, 38, 0.94);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #f5f7fb;
  --muted: #a5b2c8;
  --blue: #5f8fff;
  --blue-soft: #7aa6ff;
  --blue-deep: #2f5fdc;
  --gold: #f0c16d;
  --gold-soft: #ffd47c;
  --gold-deep: #c99639;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.45);
  --radius-xl: 36px;
  --radius-lg: 28px;
  --radius-md: 22px;
  --max-width: 1320px;
  --nav-height: 88px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Aptos", "Segoe UI Variable", "Trebuchet MS", sans-serif;
  font-size: 18px;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(240, 193, 109, 0.16), transparent 24%),
    radial-gradient(circle at bottom right, rgba(95, 143, 255, 0.18), transparent 30%),
    radial-gradient(circle at center, rgba(255, 255, 255, 0.03), transparent 42%),
    linear-gradient(135deg, var(--bg), var(--bg-deep));
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

body.scrolled .navbar {
  background: rgba(11, 16, 28, 0.94);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.28);
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.page-aura {
  position: fixed;
  width: 42vw;
  height: 42vw;
  border-radius: 999px;
  filter: blur(88px);
  opacity: 0.44;
  pointer-events: none;
  z-index: -3;
}

.aura-left {
  top: -12vw;
  left: -14vw;
  background: rgba(95, 143, 255, 0.2);
}

.aura-right {
  top: 18vh;
  right: -12vw;
  background: rgba(240, 193, 109, 0.18);
}

.grid-layer {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, black 30%, transparent 84%);
  opacity: 0.16;
  pointer-events: none;
  z-index: -4;
}

.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: 3px;
  background: rgba(110, 214, 255, 0.08);
}

.scroll-progress-bar {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--blue-soft), var(--gold-soft));
  box-shadow: 0 0 24px rgba(110, 214, 255, 0.42);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 18px 20px 0;
}

.navbar {
  position: relative;
  width: min(var(--max-width), calc(100vw - 40px));
  min-height: var(--nav-height);
  margin: 0 auto;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(11, 16, 28, 0.74);
  backdrop-filter: blur(18px);
  transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark {
  width: 58px;
  height: 58px;
  flex: none;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(95, 143, 255, 0.16), rgba(240, 193, 109, 0.14)),
    rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.brand-mark-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.18));
}

.brand-copy {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.brand-wordmark {
  width: clamp(124px, 12vw, 168px);
  height: auto;
}

.brand small {
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.nav-menu a {
  position: relative;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

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

.nav-menu a.active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--blue-soft), transparent);
}

.nav-cta {
  color: #ffffff !important;
  background: linear-gradient(135deg, var(--blue-deep), var(--blue)) !important;
  box-shadow: 0 16px 34px rgba(47, 95, 220, 0.28);
}

.nav-toggle {
  display: none;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(69, 145, 196, 0.2);
  border-radius: 16px;
  background: rgba(20, 148, 210, 0.06);
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-direction: column;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transition: transform 200ms ease;
}

body.menu-open .nav-toggle span:first-child {
  transform: translateY(4px) rotate(45deg);
}

body.menu-open .nav-toggle span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.section {
  padding: 44px 20px;
}

.section-shell {
  width: min(var(--max-width), 100%);
  margin: 0 auto;
}

main section[id] {
  scroll-margin-top: 120px;
}

.hero {
  padding-top: 16px;
}

.hero-shell {
  display: grid;
  gap: 42px;
  align-items: center;
  min-height: calc(100vh - 132px);
}

.hero-copy {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 24px 0 20px;
}

.eyebrow,
.footer-label,
.legal-inline {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--blue-soft);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.aux-title,
.notfound-card h1,
.legal-card h2 {
  font-family: "Bahnschrift", "Franklin Gothic Medium", "Arial Narrow", sans-serif;
  letter-spacing: 0.02em;
}

.hero h1 {
  margin: 10px 0 0;
  font-size: clamp(3.4rem, 6vw, 6.2rem);
  line-height: 0.9;
}

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

.section-heading h2 {
  margin: 18px 0 0;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1.04;
}

.hero-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.hero-actions {
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue-deep), var(--blue));
  box-shadow: 0 18px 34px rgba(47, 95, 220, 0.3);
}

.button-secondary {
  color: var(--text);
  background: linear-gradient(135deg, rgba(240, 193, 109, 0.18), rgba(201, 150, 57, 0.2));
  border-color: rgba(240, 193, 109, 0.18);
}

.section-alt {
  background: linear-gradient(180deg, rgba(20, 148, 210, 0.035), transparent 24%, transparent 76%, rgba(215, 161, 43, 0.035));
}

.contact-form {
  position: relative;
  overflow: hidden;
  height: 100%;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 44%),
    var(--surface-strong);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

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

.form-full {
  grid-column: 1 / -1;
}

.contact-form label {
  display: grid;
  gap: 9px;
}

.contact-form span {
  font-size: 0.94rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid rgba(69, 145, 196, 0.16);
  border-radius: 18px;
  background: rgba(6, 16, 25, 0.72);
  color: var(--text);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(110, 214, 255, 0.38);
  box-shadow: 0 0 0 4px rgba(110, 214, 255, 0.08);
  transform: translateY(-1px);
}

.contact-form textarea {
  min-height: 180px;
  resize: vertical;
}

.consent {
  display: flex !important;
  align-items: flex-start;
  gap: 12px;
  margin-top: 18px;
  color: var(--muted);
}

.consent input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--blue);
}

.form-legal-note {
  margin: 10px 0 0;
  color: rgba(165, 178, 200, 0.72);
  font-size: 0.76rem;
  line-height: 1.45;
}

.form-legal-note a {
  color: rgba(245, 247, 251, 0.9);
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.form-actions {
  margin-top: 22px;
  justify-content: space-between;
}

.form-status {
  margin: 0;
  max-width: 34ch;
  color: var(--muted);
}

.form-status.is-error {
  color: #ffc4bf;
}

.form-status.is-success {
  color: #aef4c3;
}

.map-card {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 44%),
    var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.map-card-feature {
  display: grid;
  gap: 18px;
  align-content: start;
}

.map-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.map-card-head-feature {
  gap: 18px;
}

.map-frame {
  position: relative;
  min-height: 280px;
  margin-top: 16px;
  overflow: hidden;
  border: 1px solid rgba(69, 145, 196, 0.14);
  border-radius: 24px;
  background:
    radial-gradient(circle at 20% 20%, rgba(20, 148, 210, 0.14), transparent 24%),
    radial-gradient(circle at 82% 18%, rgba(215, 161, 43, 0.14), transparent 18%),
    linear-gradient(180deg, rgba(8, 18, 29, 0.84), rgba(8, 18, 29, 0.92));
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  border: 0;
}

.site-footer {
  padding: 0 20px 30px;
}

.footer-shell {
  display: grid;
  grid-template-columns: minmax(220px, 0.92fr) minmax(0, 1.08fr);
  gap: 28px;
  padding: 26px 28px 22px;
  border: 1px solid rgba(69, 145, 196, 0.12);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 42%),
    rgba(8, 18, 29, 0.74);
  box-shadow: var(--shadow);
  color: var(--muted);
}

.footer-brand {
  display: grid;
  gap: 16px;
  align-content: start;
}

.footer-brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
}

.footer-brand-mark {
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border: 1px solid rgba(69, 145, 196, 0.16);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
}

.footer-brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-brand-name {
  width: clamp(150px, 18vw, 220px);
  height: auto;
}

.footer-tagline {
  margin: 0;
  max-width: 28ch;
  font-size: 1rem;
  line-height: 1.5;
}

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

.footer-column {
  display: grid;
  gap: 12px;
  align-content: start;
}

.footer-column a,
.footer-column p {
  margin: 0;
  color: var(--muted);
  transition: color 180ms ease, transform 180ms ease;
}

.footer-column a:hover {
  color: var(--text);
  transform: translateX(2px);
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 18px;
  border-top: 1px solid rgba(69, 145, 196, 0.12);
}

.footer-bottom p {
  margin: 0;
}

.aux-page {
  min-height: 100vh;
}

.aux-main {
  padding: 28px 20px 70px;
}

.aux-layout {
  display: grid;
  gap: 20px;
}

.legal-inline-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.aux-hero,
.legal-card,
.notfound-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 44%),
    var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.aux-hero,
.notfound-card {
  display: grid;
  gap: 20px;
  padding: 30px;
}

.aux-brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  width: fit-content;
  max-width: 100%;
  flex-wrap: wrap;
  padding: 14px 18px;
  border: 1px solid rgba(102, 156, 214, 0.16);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 55%),
    rgba(5, 12, 21, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 20px 44px rgba(3, 8, 15, 0.34);
  backdrop-filter: blur(14px);
}

.aux-brand-mark {
  width: 72px;
  height: 72px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  padding: 10px;
  border: 1px solid rgba(69, 145, 196, 0.18);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), transparent 58%),
    rgba(7, 17, 27, 0.88);
}

.aux-brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.aux-brand-name {
  width: min(280px, 100%);
  height: auto;
  flex: 0 1 280px;
  max-width: 100%;
  filter:
    drop-shadow(0 12px 26px rgba(0, 0, 0, 0.34))
    drop-shadow(0 0 18px rgba(89, 157, 246, 0.16));
}

.aux-title,
.notfound-card h1 {
  margin: 0;
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 1;
}

.aux-text,
.legal-card p,
.legal-card li,
.notfound-card p {
  color: var(--muted);
}

.aux-meta {
  margin: -4px 0 0;
  color: rgba(165, 178, 200, 0.82);
  font-size: 0.92rem;
}

.legal-card {
  padding: 24px 26px;
}

.legal-card h2 {
  margin: 0 0 14px;
  font-size: 1.72rem;
}

.legal-card p {
  margin: 0 0 10px;
}

.legal-card ul {
  margin: 0;
  padding-left: 20px;
}

.legal-card li + li {
  margin-top: 8px;
}

.notfound-card {
  justify-items: start;
}

.notfound-mark {
  width: 84px;
  height: 84px;
  padding: 12px;
  border: 1px solid rgba(69, 145, 196, 0.18);
  border-radius: 26px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), transparent 58%),
    rgba(7, 17, 27, 0.88);
}

.notfound-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(69, 145, 196, 0.2);
  border-radius: 18px;
  background: rgba(6, 16, 25, 0.84);
  color: var(--text);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 50px rgba(2, 9, 14, 0.32);
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity 180ms ease, transform 180ms ease, border-color 180ms ease;
  z-index: 45;
}

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

.back-to-top:hover,
.back-to-top:focus-visible {
  border-color: var(--line-strong);
  outline: none;
}

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

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

@media (max-width: 1080px) {
  .footer-shell,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .site-header {
    padding: 14px 14px 0;
  }

  .navbar {
    width: calc(100vw - 28px);
    min-height: 78px;
    padding: 14px 16px;
    border-radius: 28px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: grid;
    gap: 8px;
    padding: 14px;
    border: 1px solid rgba(69, 145, 196, 0.14);
    border-radius: 28px;
    background: rgba(6, 16, 25, 0.96);
    backdrop-filter: blur(18px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  body.menu-open .nav-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

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

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

@media (max-width: 560px) {
  body {
    font-size: 17px;
  }

  .section {
    padding: 34px 14px;
  }

  .brand small {
    display: none;
  }

  .brand-mark {
    width: 52px;
    height: 52px;
  }

  .contact-form,
  .map-card,
  .legal-card,
  .aux-hero,
  .notfound-card,
  .footer-shell {
    padding: 20px;
  }

  .map-frame {
    min-height: 240px;
  }

  .footer-brand-lockup {
    align-items: center;
  }

  .aux-brand {
    gap: 14px;
    padding: 12px 14px;
  }

  .aux-brand-mark {
    width: 64px;
    height: 64px;
    border-radius: 20px;
  }

  .aux-brand-name {
    flex-basis: min(240px, 100%);
  }

  .footer-brand-mark {
    width: 56px;
    height: 56px;
    border-radius: 18px;
  }

  .back-to-top {
    right: 16px;
    bottom: 16px;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
}
