:root {
  --navy: #061d48;
  --navy-soft: #314f77;
  --blue: #147bff;
  --blue-deep: #0053ba;
  --cyan: #08d4c8;
  --surface: #f3f8ff;
  --paper: #ffffff;
  --line: rgba(6, 29, 72, 0.13);
  --shadow: 0 36px 110px rgba(10, 73, 160, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--navy);
  background:
    radial-gradient(circle at 12% 8%, rgba(8, 212, 200, 0.12), transparent 30rem),
    linear-gradient(150deg, #fbfdff 0%, #eef6ff 52%, #f6fbff 100%);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

button,
input,
textarea {
  font: inherit;
}

.site-shell {
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: 100%;
  min-height: 100svh;
  padding: 0 5vw;
  overflow: hidden;
}

.site-shell > * {
  min-width: 0;
}

.site-header,
.site-footer {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header {
  min-height: 84px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  display: block;
  width: 144px;
  height: auto;
}

.nav-link,
.primary-link,
.site-footer a {
  position: relative;
  font-size: 0.76rem;
  font-weight: 760;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-link::after,
.site-footer a::after {
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.site-footer a:hover::after,
.site-footer a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(48px, 7vw, 110px);
  align-items: center;
  width: min(1280px, 100%);
  min-height: 710px;
  margin: 0 auto;
  padding: 8vh 0 10vh;
}

.hero-content,
.brand-panel {
  position: relative;
  z-index: 2;
}

.hero-content {
  min-width: 0;
  max-width: 720px;
}

.eyebrow {
  display: inline-flex;
  gap: 11px;
  align-items: center;
  margin: 0 0 28px;
  color: var(--blue-deep);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.21em;
  text-transform: none;
}

.eyebrow i {
  width: 8px;
  height: 8px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(8, 212, 200, 0.14);
}

h1,
h2,
p {
  margin-top: 0;
}

.hero h1 {
  max-width: 720px;
  margin-bottom: 28px;
  font-size: clamp(2.9rem, 5.5vw, 5.7rem);
  font-weight: 640;
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.contact-intro h1 {
  margin-bottom: 28px;
  font-size: clamp(3.2rem, 6.7vw, 6.8rem);
  font-weight: 640;
  line-height: 0.94;
  letter-spacing: -0.07em;
}

.hero-description {
  max-width: 620px;
  margin-bottom: 40px;
  color: var(--navy-soft);
  font-size: clamp(1rem, 1.7vw, 1.22rem);
  line-height: 1.72;
}

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

.primary-link {
  display: inline-flex;
  gap: 20px;
  align-items: center;
  min-height: 56px;
  padding: 0 25px;
  color: white;
  background: linear-gradient(120deg, var(--blue-deep), var(--blue));
  border-radius: 999px;
  box-shadow: 0 15px 34px rgba(20, 123, 255, 0.2);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.primary-link:hover,
.primary-link:focus-visible {
  box-shadow: 0 18px 42px rgba(20, 123, 255, 0.29);
  transform: translateY(-2px);
}

.primary-link span,
.submit-button span {
  transition: transform 180ms ease;
}

.primary-link:hover span,
.primary-link:focus-visible span,
.submit-button:hover span,
.submit-button:focus-visible span {
  transform: translate(3px, -3px);
}

.status {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  color: var(--navy-soft);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.status b {
  width: 7px;
  height: 7px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(8, 212, 200, 0.12);
}

.brand-panel {
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 510px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(242, 249, 255, 0.76)),
    radial-gradient(circle at 70% 20%, rgba(8, 212, 200, 0.22), transparent 54%);
  border: 1px solid rgba(255, 255, 255, 0.96);
  border-radius: 40px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.hero-visual {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center 55%;
}

.brand-panel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  padding: 0 28px;
  color: var(--navy-soft);
  border-top: 1px solid var(--line);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.orb {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.orb-one {
  top: 5%;
  right: -4%;
  width: 260px;
  height: 260px;
  background: linear-gradient(145deg, rgba(8, 212, 200, 0.28), rgba(20, 123, 255, 0.04));
  animation: drift 12s ease-in-out infinite alternate;
}

.orb-two {
  bottom: 4%;
  left: 34%;
  width: 170px;
  height: 170px;
  background: linear-gradient(145deg, rgba(20, 123, 255, 0.14), rgba(255, 255, 255, 0));
  animation: drift 15s ease-in-out infinite alternate-reverse;
}

.city-lines {
  position: absolute;
  right: -9vw;
  bottom: 0;
  left: -9vw;
  height: 34%;
  opacity: 0.36;
  background:
    linear-gradient(to top, rgba(221, 238, 255, 0.75), transparent 82%),
    repeating-linear-gradient(
      90deg,
      transparent 0 6%,
      rgba(84, 142, 205, 0.14) 6% 6.2%,
      transparent 6.2% 11%
    );
  mask-image: linear-gradient(to top, black, transparent);
  pointer-events: none;
}

.road-lines {
  position: absolute;
  bottom: -16%;
  left: 50%;
  width: 94%;
  height: 44%;
  opacity: 0.23;
  background:
    linear-gradient(72deg, transparent 49.6%, var(--blue) 49.9% 50.1%, transparent 50.4%),
    linear-gradient(108deg, transparent 49.6%, var(--cyan) 49.9% 50.1%, transparent 50.4%);
  transform: translateX(-50%);
  pointer-events: none;
}

.site-footer {
  min-height: 76px;
  color: var(--navy-soft);
  border-top: 1px solid var(--line);
  font-size: 0.74rem;
}

.site-footer a {
  font-size: 0.66rem;
}

.inner-shell {
  overflow: visible;
}

.contact-layout {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: clamp(70px, 10vw, 140px) 0;
}

.contact-intro {
  max-width: 900px;
  margin-bottom: clamp(54px, 8vw, 96px);
}

.contact-intro h1 {
  margin-bottom: 24px;
}

.contact-intro > p:last-child {
  max-width: 650px;
  color: var(--navy-soft);
  font-size: clamp(1rem, 2vw, 1.22rem);
  line-height: 1.75;
}

.form-card {
  padding: clamp(28px, 5vw, 62px);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.94);
  border-radius: 32px;
  box-shadow: 0 26px 80px rgba(7, 65, 142, 0.08);
  backdrop-filter: blur(18px);
}

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

.field {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
}

.field > span {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.field input,
.field textarea {
  width: 100%;
  color: var(--navy);
  background: rgba(243, 248, 255, 0.76);
  border: 1px solid var(--line);
  border-radius: 16px;
  outline: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.field input {
  min-height: 56px;
  padding: 0 18px;
}

.field textarea {
  min-height: 150px;
  padding: 17px 18px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  background: var(--paper);
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(20, 123, 255, 0.1);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #8394aa;
}

.consent {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
  max-width: 760px;
  margin: 6px 0 30px;
  color: var(--navy-soft);
  font-size: 0.82rem;
  line-height: 1.6;
}

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

.submit-button {
  display: inline-flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 24px;
  color: white;
  cursor: pointer;
  background: linear-gradient(120deg, var(--blue-deep), var(--blue));
  border: 0;
  border-radius: 999px;
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.submit-button:hover,
.submit-button:focus-visible {
  box-shadow: 0 12px 30px rgba(20, 123, 255, 0.24);
  transform: translateY(-2px);
}

.form-status {
  min-height: 24px;
  margin: 18px 0 0;
  color: var(--blue-deep);
  font-size: 0.84rem;
  font-weight: 700;
}

.privacy-link {
  padding: 2px 0 3px;
  color: var(--navy-soft);
  cursor: pointer;
  background: transparent;
  border: 0;
  border-bottom: 1px solid currentColor;
  font-size: 0.73rem;
  line-height: 1.4;
}

.privacy-dialog {
  width: min(610px, calc(100vw - 36px));
  max-height: calc(100svh - 36px);
  padding: 0;
  color: var(--navy);
  background: transparent;
  border: 0;
  border-radius: 30px;
  outline: none;
  box-shadow: 0 34px 110px rgba(6, 29, 72, 0.3);
}

.privacy-dialog::backdrop {
  background: rgba(6, 24, 56, 0.58);
  backdrop-filter: blur(8px);
}

.privacy-dialog-panel {
  padding: clamp(30px, 5vw, 54px);
  background:
    radial-gradient(circle at 96% 6%, rgba(8, 212, 200, 0.15), transparent 15rem),
    var(--paper);
  border-radius: inherit;
}

.privacy-dialog-header {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 30px;
}

.dialog-close {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0 0 4px;
  color: var(--navy);
  cursor: pointer;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 1.8rem;
  line-height: 1;
}

.section-index {
  display: block;
  margin-bottom: 12px;
  color: var(--cyan);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.privacy-dialog h2 {
  margin-bottom: 0;
  font-size: clamp(1.8rem, 3vw, 3rem);
  letter-spacing: -0.05em;
}

.privacy-copy {
  color: var(--navy-soft);
  font-size: 0.95rem;
  line-height: 1.8;
}

.privacy-copy p:last-child {
  margin-bottom: 0;
}

.dialog-confirm {
  min-height: 48px;
  margin-top: 30px;
  padding: 0 24px;
  color: white;
  cursor: pointer;
  background: var(--navy);
  border: 0;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.honeypot {
  position: absolute;
  left: -9999px;
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) rotate(-8deg);
  }
  to {
    transform: translate3d(-34px, 28px, 0) rotate(8deg);
  }
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    width: min(760px, 100%);
    padding: 72px 0 100px;
  }

  .hero-content {
    max-width: 680px;
  }

  .brand-panel {
    min-height: 420px;
  }
}

@media (max-width: 680px) {
  .site-shell {
    padding: 0 20px;
  }

  .site-header {
    min-height: 72px;
  }

  .brand img {
    width: 126px;
  }

  .hero {
    gap: 50px;
    padding: 58px 0 84px;
  }

  .hero h1 {
    font-size: clamp(2.75rem, 12vw, 4.5rem);
    line-height: 1.05;
  }

  .brand-panel {
    min-height: 330px;
    border-radius: 28px;
  }

  .hero-visual {
    object-position: center 55%;
  }

  .brand-panel-footer {
    min-height: 62px;
    padding: 0 20px;
  }

  .brand-panel-footer span:first-child {
    display: none;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    padding: 64px 0 90px;
  }

  .contact-intro h1 {
    font-size: clamp(3.6rem, 17vw, 6rem);
  }

  .form-card,
  .privacy-dialog {
    border-radius: 24px;
  }
}

@media (max-width: 420px) {
  .hero-actions {
    align-items: flex-start;
  }

  .brand-panel {
    min-height: 285px;
  }

  .site-footer {
    min-height: 72px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
