:root {
  --blue: #1e4a7b;
  --blue-dark: #12365f;
  --blue-soft: #e8f1fa;
  --ink: #172334;
  --muted: #66758a;
  --line: #dbe4ee;
  --paper: #ffffff;
  --bg: #f6f8fb;
  --shadow: 0 22px 60px rgba(18, 54, 95, .14);
  --font-sans: "Montserrat", Arial, Helvetica, sans-serif;
  --font-display: "Montserrat", Arial, Helvetica, sans-serif;
  --wave-blue: rgba(30, 74, 123, .13);
  --wave-blue-soft: rgba(108, 169, 216, .18);
  --wave-white: rgba(255, 255, 255, .88);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 78px;
}

body {
  position: relative;
  margin: 0;
  min-width: 320px;
  font-family: var(--font-sans);
  color: var(--ink);
  background:
    linear-gradient(180deg, #fff 0%, #f7fbff 46%, #e9f4fb 100%),
    var(--bg);
  line-height: 1.55;
  font-weight: 500;
  letter-spacing: .01em;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(166deg, transparent 0 56%, rgba(255, 255, 255, .78) 56% 64%, transparent 64% 100%),
    linear-gradient(154deg, transparent 0 62%, rgba(108, 169, 216, .22) 62% 76%, transparent 76% 100%),
    linear-gradient(142deg, transparent 0 70%, rgba(30, 74, 123, .12) 70% 86%, transparent 86% 100%);
}

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

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

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 70;
  width: var(--scroll-progress, 0%);
  height: 3px;
  background: linear-gradient(90deg, #1e4a7b, #74b9ea);
  box-shadow: 0 8px 18px rgba(30, 74, 123, .24);
  pointer-events: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 78px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, .88);
  border-bottom: 1px solid rgba(219, 228, 238, .8);
  backdrop-filter: blur(18px);
  transition: min-height .25s ease, background .25s ease, box-shadow .25s ease;
}

.site-header.is-scrolled {
  min-height: 66px;
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 12px 32px rgba(18, 54, 95, .10);
}

.brand img {
  width: 180px;
  height: auto;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.nav a,
.header-action {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  transition: background .25s ease, transform .25s ease, color .25s ease;
}

.nav a:hover,
.nav a.is-active,
.header-action:hover {
  color: #fff;
  background: var(--blue);
  transform: translateY(-2px);
}

.header-action {
  border: 1px solid var(--blue);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(360px, 1.06fr);
  align-items: center;
  box-sizing: border-box;
  gap: clamp(26px, 4vw, 64px);
  min-height: calc(100vh - 78px);
  padding: clamp(26px, 4vw, 50px) clamp(24px, 6vw, 86px) clamp(30px, 4.4vw, 54px);
  overflow: hidden;
  background:
    linear-gradient(164deg, transparent 0 58%, rgba(255, 255, 255, .82) 58% 67%, transparent 67% 100%),
    linear-gradient(152deg, transparent 0 64%, rgba(108, 169, 216, .24) 64% 78%, transparent 78% 100%),
    linear-gradient(142deg, transparent 0 72%, rgba(30, 74, 123, .13) 72% 88%, transparent 88% 100%),
    linear-gradient(180deg, #fff 0%, #f5faff 54%, #e8f3fb 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-bg::before,
.hero-bg::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(30, 74, 123, .12);
  border-radius: 50%;
}

.hero-bg::before {
  width: 620px;
  height: 620px;
  right: -170px;
  top: -220px;
  animation: slow-orbit 18s ease-in-out infinite alternate;
}

.hero-bg::after {
  width: 440px;
  height: 440px;
  left: -180px;
  bottom: -180px;
  animation: slow-orbit 22s ease-in-out infinite alternate-reverse;
}

.hero-content,
.badge-panel {
  position: relative;
}

.hero-content {
  max-width: 700px;
  padding-top: 0;
  text-align: left;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 18px;
  color: var(--blue);
  font-family: var(--font-sans);
  font-size: clamp(38px, 4.45vw, 68px);
  font-weight: 800;
  line-height: .98;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 12px 28px rgba(18, 54, 95, .10);
}

h2 {
  margin-bottom: 14px;
  color: var(--blue);
  font-family: var(--font-display);
  font-size: clamp(28px, 2.75vw, 40px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 9px;
  color: var(--blue-dark);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.26;
}

.lead {
  max-width: 650px;
  margin-bottom: 20px;
  color: #3e4e64;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 16px;
}

.hero-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 8px;
  margin-top: 16px;
}

.hero-strip > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 7px 11px 7px 8px;
  border: 1px solid rgba(30, 74, 123, .14);
  border-radius: 999px;
  color: var(--blue-dark);
  background: rgba(255, 255, 255, .72);
  font-size: 13px;
  font-weight: 700;
}

.hero-strip svg {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  padding: 4px;
  border-radius: 50%;
  color: var(--blue);
  background: var(--blue-soft);
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 600;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.button::after,
.check-card::after {
  content: "";
  position: absolute;
  left: var(--ripple-x, 50%);
  top: var(--ripple-y, 50%);
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, 0) 66%);
  opacity: 0;
  transform: translate(-50%, -50%) scale(.16);
  pointer-events: none;
}

.button.is-rippling::after,
.check-card.is-rippling::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  transition: transform .5s ease, opacity .55s ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button.primary {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 14px 34px rgba(30, 74, 123, .24);
}

.button.primary:hover {
  background: var(--blue-dark);
  box-shadow: 0 18px 40px rgba(18, 54, 95, .28);
}

.button.secondary {
  color: var(--blue);
  background: #fff;
  border: 1px solid var(--line);
}

.badge-panel {
  display: grid;
  place-items: center;
  min-height: 380px;
  padding-top: 0;
}

.badge-panel img {
  position: relative;
  z-index: 2;
  width: min(350px, 82vw);
  filter: drop-shadow(0 34px 34px rgba(18, 54, 95, .18));
  transition: transform .45s ease;
}

.team-panel {
  align-self: stretch;
  min-height: clamp(380px, 44vw, 560px);
}

.team-panel img {
  width: min(660px, 88vw);
  max-height: 88%;
  object-fit: contain;
  object-position: center bottom;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 72%, rgba(0, 0, 0, .78) 84%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 72%, rgba(0, 0, 0, .78) 84%, transparent 100%);
}

.badge-panel:hover img {
  transform: translateY(-10px) rotate(1.2deg);
}

.badge-glow {
  position: absolute;
  width: min(500px, 90vw);
  height: min(500px, 90vw);
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(30, 74, 123, .16), rgba(255, 255, 255, .8));
  box-shadow: inset 0 0 0 1px rgba(30, 74, 123, .12);
  animation: wave-pulse 6s ease-in-out infinite;
}

.section {
  min-height: calc(100svh - 78px);
  box-sizing: border-box;
  padding: clamp(34px, 5vw, 64px) clamp(20px, 5.4vw, 72px);
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.section:not(.split):not(.checklist):not(.contact-section) {
  display: grid;
  align-content: center;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, .92fr);
  gap: clamp(20px, 4vw, 54px);
  align-items: center;
  background: rgba(255, 255, 255, .92);
}

.section-copy p {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.5;
}

.section-copy,
.contact-copy,
.info-card,
.contact-preview {
  text-align: left;
}

.info-card,
.number-card,
.step,
.check-card,
.final-cta {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(219, 228, 238, .95);
  border-radius: 8px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 12px 34px rgba(18, 54, 95, .08);
}

.info-card {
  position: relative;
  padding: clamp(20px, 3vw, 32px);
}

.card-mark {
  display: inline-flex;
  margin-bottom: 34px;
  color: rgba(30, 74, 123, .18);
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 500;
  line-height: .8;
}

.info-card p,
.step p,
.check-card span,
.final-cta p,
.document-card p,
.topic-panel p,
.faq p,
.contact-copy p {
  color: var(--muted);
}

.about-points {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.about-point {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 12px;
  border: 1px solid rgba(219, 228, 238, .95);
  border-radius: 8px;
  background: rgba(246, 248, 251, .72);
}

.about-point > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  color: var(--blue-dark);
  background: var(--blue-soft);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

.about-point h4 {
  margin: 0 0 4px;
  color: var(--blue-dark);
  font-size: 16px;
  font-weight: 700;
}

.about-point p {
  margin: 0;
  font-size: 14px;
  line-height: 1.42;
}

.mini-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.mini-metrics span {
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--blue-dark);
  background: var(--blue-soft);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
}

.numbers {
  background:
    linear-gradient(158deg, transparent 0 60%, rgba(108, 169, 216, .16) 60% 78%, transparent 78% 100%),
    rgba(246, 248, 251, .9);
}

.section-heading {
  max-width: 820px;
  margin: 0 auto 26px;
  text-align: center;
}

.section-heading.left {
  margin-left: 0;
  text-align: left;
}

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

.number-card {
  min-height: 190px;
  padding: clamp(22px, 3vw, 30px);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.number-card::before,
.step::before,
.check-card::before,
.info-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--shine-x, 50%) var(--shine-y, 0%), rgba(116, 185, 234, .18), transparent 42%);
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}

.number-card:hover::before,
.step:hover::before,
.check-card:hover::before,
.info-card:hover::before {
  opacity: 1;
}

.number-card:hover,
.step:hover,
.check-card:hover {
  transform: translateY(-7px);
  border-color: rgba(30, 74, 123, .25);
  box-shadow: var(--shadow);
}

.number-card.is-tilting,
.step.is-tilting,
.check-card.is-tilting,
.badge-panel.is-tilting {
  transform: perspective(900px) rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg)) translateY(-7px);
}

.number-card strong {
  display: block;
  margin-bottom: 14px;
  color: var(--blue);
  font-family: var(--font-sans);
  font-size: clamp(40px, 4.8vw, 62px);
  font-weight: 700;
  line-height: .98;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.number-card span {
  color: var(--blue-dark);
  font-size: 18px;
}

.process {
  background: rgba(255, 255, 255, .9);
}

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

.step {
  position: relative;
  min-height: 230px;
  padding: 24px;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.step::after {
  content: "";
  position: absolute;
  inset: auto -40px -70px auto;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--blue-soft);
  transition: transform .35s ease;
}

.step:hover::after {
  transform: scale(1.25);
}

.step span {
  display: block;
  margin-bottom: 20px;
  color: rgba(30, 74, 123, .2);
  font-size: 44px;
  font-weight: 500;
  line-height: .8;
}

.checklist {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(320px, 1.2fr);
  gap: clamp(20px, 4vw, 54px);
  align-items: center;
  background:
    linear-gradient(156deg, transparent 0 58%, rgba(255, 255, 255, .76) 58% 68%, transparent 68% 100%),
    linear-gradient(144deg, transparent 0 66%, rgba(108, 169, 216, .20) 66% 82%, transparent 82% 100%),
    linear-gradient(180deg, #f6f8fb, #eaf2f9);
}

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

.check-card {
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  gap: 16px;
  min-height: 96px;
  padding: 14px;
  text-align: left;
  cursor: pointer;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.check-card img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.check-card span {
  font-size: 15px;
}

.control-map {
  background:
    linear-gradient(150deg, rgba(255, 255, 255, .82) 0 56%, rgba(108, 169, 216, .14) 56% 72%, transparent 72%),
    rgba(255, 255, 255, .94);
}

.map-layout {
  display: grid;
  grid-template-columns: minmax(320px, 1.1fr) minmax(300px, .9fr);
  gap: clamp(20px, 4vw, 54px);
  align-items: center;
}

.map-board {
  position: relative;
  min-height: 340px;
  border: 1px solid rgba(219, 228, 238, .95);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .88), rgba(232, 241, 250, .86)),
    radial-gradient(circle at 30% 20%, rgba(116, 185, 234, .22), transparent 38%);
  box-shadow: var(--shadow);
}

.map-board::before,
.map-board::after {
  content: "";
  position: absolute;
  inset: auto -12% 18% -12%;
  height: 70px;
  background: rgba(30, 74, 123, .10);
  transform: rotate(-12deg);
}

.map-board::after {
  bottom: 34%;
  background: rgba(108, 169, 216, .16);
  transform: rotate(10deg);
}

.map-house {
  position: absolute;
  left: 50%;
  top: 52%;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  width: min(260px, 58%);
  aspect-ratio: 1 / .82;
  padding: 28px;
  border: 2px solid rgba(30, 74, 123, .42);
  border-radius: 8px;
  background: rgba(255, 255, 255, .74);
  box-shadow: 0 22px 60px rgba(18, 54, 95, .14);
  transform: translate(-50%, -50%);
}

.map-house span {
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(30, 74, 123, .18), rgba(255, 255, 255, .75));
}

.map-point {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 4;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  box-shadow: 0 12px 28px rgba(18, 54, 95, .25);
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.map-point::after {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1px solid rgba(30, 74, 123, .24);
  border-radius: 50%;
  animation: ring-pulse 2.2s ease-in-out infinite;
}

.map-point:hover,
.map-point.is-active {
  background: #2f7eb8;
  box-shadow: 0 18px 38px rgba(30, 74, 123, .34);
  transform: translate(-50%, -50%) scale(1.08);
}

.topic-panel,
.contact-form,
.document-card,
.faq-list {
  border: 1px solid rgba(219, 228, 238, .95);
  border-radius: 8px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 12px 34px rgba(18, 54, 95, .08);
}

.topic-panel {
  padding: clamp(20px, 3vw, 30px);
  text-align: left;
}

.topic-list {
  display: grid;
  gap: 10px;
  max-width: 520px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.topic-list li {
  padding: 10px 12px;
  border-left: 3px solid var(--blue);
  border-radius: 8px;
  color: var(--blue-dark);
  background: var(--blue-soft);
  font-weight: 700;
}

.documents {
  background:
    linear-gradient(160deg, transparent 0 62%, rgba(108, 169, 216, .15) 62% 80%, transparent 80%),
    rgba(246, 248, 251, .92);
}

.document-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.document-card {
  min-height: 190px;
  padding: 24px;
  transition: transform .3s ease, box-shadow .3s ease;
}

.document-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
}

.document-card span {
  display: inline-flex;
  margin-bottom: 18px;
  color: rgba(30, 74, 123, .22);
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 500;
  line-height: 1;
}

.faq {
  background: rgba(255, 255, 255, .92);
}

.faq-list {
  max-width: 980px;
  overflow: hidden;
}

.faq details {
  padding: 0 22px;
  border-bottom: 1px solid var(--line);
}

.faq details:last-child {
  border-bottom: 0;
}

.faq summary {
  padding: 16px 0;
  color: var(--blue-dark);
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
}

.faq summary::marker {
  color: var(--blue);
}

.faq p {
  margin-bottom: 16px;
  font-size: 16px;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(340px, 1.18fr);
  gap: clamp(20px, 4vw, 54px);
  align-items: center;
  background:
    linear-gradient(148deg, transparent 0 58%, rgba(255, 255, 255, .74) 58% 68%, transparent 68%),
    linear-gradient(180deg, #f6f8fb, #eaf3fb);
}

.contact-teaser {
  align-items: center;
}

.contact-preview {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(219, 228, 238, .95);
  border-radius: 8px;
  padding: clamp(22px, 3vw, 34px);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, .92), rgba(232, 241, 250, .86)),
    #fff;
  box-shadow: var(--shadow);
}

.contact-preview .card-mark {
  margin-bottom: 28px;
}

.contact-preview p {
  max-width: 560px;
  color: var(--muted);
}

.contact-note {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.contact-note span {
  padding: 12px 14px;
  border-radius: 8px;
  color: var(--blue-dark);
  background: rgba(255, 255, 255, .72);
  font-weight: 500;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
  padding: clamp(16px, 2.2vw, 22px) clamp(18px, 2.6vw, 26px) clamp(18px, 2.6vw, 24px);
}

.form-trap,
.contact-form label:nth-of-type(3),
.contact-form label:nth-of-type(4),
.captcha-row,
.form-submit,
.form-status {
  grid-column: 1 / -1;
}

.contact-form label {
  display: grid;
  gap: 5px;
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 500;
}

.contact-form label span {
  opacity: .82;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 13px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(30, 74, 123, .55);
  box-shadow: 0 0 0 4px rgba(30, 74, 123, .10);
}

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

.form-trap {
  position: absolute;
  left: -9999px;
}

.captcha-row {
  display: grid;
  grid-template-columns: 1fr 42px;
  gap: 8px;
  align-items: end;
}

.captcha-refresh {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--blue);
  background: #fff;
  font-size: 22px;
  cursor: pointer;
  transition: transform .25s ease, border-color .25s ease;
}

.captcha-refresh:hover {
  border-color: rgba(30, 74, 123, .35);
  transform: rotate(25deg);
}

.form-submit {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.form-status {
  min-height: 18px;
  margin: 0;
  color: var(--blue-dark);
  font-weight: 500;
}

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

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

.modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}

.modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 35, 52, .46);
  backdrop-filter: blur(12px);
}

.modal-dialog {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
  max-height: calc(100vh - 32px);
  overflow: visible;
  border: 1px solid rgba(219, 228, 238, .95);
  border-radius: 8px;
  background:
    linear-gradient(156deg, transparent 0 60%, rgba(108, 169, 216, .14) 60% 80%, transparent 80%),
    #fff;
  box-shadow: 0 34px 90px rgba(18, 54, 95, .28);
  transform: translateY(16px) scale(.98);
  transition: transform .25s ease;
}

.modal.is-open .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-heading {
  padding: clamp(16px, 2.4vw, 22px) clamp(18px, 2.6vw, 26px) 0;
}

.modal-heading .eyebrow {
  margin-bottom: 6px;
  font-size: 12px;
}

.modal-heading h2 {
  margin-bottom: 6px;
  font-size: clamp(23px, 2.6vw, 30px);
  line-height: 1.12;
}

.modal-heading p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.36;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--blue);
  background: rgba(255, 255, 255, .88);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}

.modal-close:hover {
  background: #fff;
  transform: rotate(90deg);
}

body.modal-open {
  overflow: hidden;
}

@media (min-width: 900px) and (min-height: 680px) {
  html {
    scroll-snap-type: y mandatory;
  }

  .hero {
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  main > section {
    min-height: calc(100svh - 78px);
  }
}

.final-cta {
  margin: clamp(42px, 7vw, 86px) clamp(20px, 6vw, 80px);
  padding: clamp(36px, 6vw, 70px);
  text-align: center;
  background:
    linear-gradient(154deg, transparent 0 54%, rgba(108, 169, 216, .18) 54% 74%, transparent 74% 100%),
    #fff;
}

.final-cta p {
  max-width: 760px;
  margin: 0 auto 28px;
  font-size: 19px;
}

.footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 18px;
  padding: 28px clamp(20px, 6vw, 80px);
  color: var(--blue-dark);
  background: #fff;
  border-top: 1px solid var(--line);
}

.footer img {
  width: 160px;
}

.footer a {
  color: var(--blue);
  font-weight: 500;
}

.photo-credit {
  grid-column: 1 / -1;
  color: rgba(102, 117, 138, .72);
  font-size: 11px;
  line-height: 1.35;
}

.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  box-shadow: 0 12px 30px rgba(18, 54, 95, .22);
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease;
}

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

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .65s ease, transform .65s ease;
}

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

@keyframes slow-orbit {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }

  to {
    transform: translate3d(-24px, 20px, 0) scale(1.04);
  }
}

@keyframes wave-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: .95;
  }

  50% {
    transform: scale(1.04);
    opacity: .78;
  }
}

@keyframes ring-pulse {
  0%,
  100% {
    opacity: .38;
    transform: scale(.92);
  }

  50% {
    opacity: .08;
    transform: scale(1.25);
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }

  .hero-bg::before,
  .hero-bg::after,
  .badge-glow {
    animation: none;
  }
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    order: 3;
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero,
  .split,
  .checklist,
  .map-layout,
  .contact-section {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .badge-panel {
    min-height: auto;
  }

  .team-panel {
    min-height: 260px;
  }

  .team-panel img {
    width: min(460px, 86vw);
  }

  .section {
    padding-block: 32px;
  }

  .section-heading {
    margin-bottom: 22px;
  }

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

@media (max-width: 680px) {
  .site-header {
    gap: 12px;
    min-height: auto;
  }

  .nav {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 4px;
    width: 100%;
    overflow: visible;
  }

  .nav a {
    min-width: 0;
    padding: 7px 1px;
    text-align: center;
    font-size: 9px;
    line-height: 1.25;
    letter-spacing: 0;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .brand img {
    width: 150px;
  }

  .header-action {
    display: none;
  }

  .hero {
    padding: 28px 16px 30px;
  }

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 26px;
  }

  .section {
    padding: 28px 16px;
  }

  .section-copy p,
  .lead {
    font-size: 16px;
    line-height: 1.42;
  }

  .team-panel {
    min-height: 210px;
  }

  .hero-actions {
    display: grid;
  }

  .steps,
  .number-grid,
  .check-grid,
  .document-grid {
    grid-template-columns: 1fr;
  }

  .map-board {
    min-height: 320px;
  }

  .map-house {
    width: 66%;
    padding: 18px;
  }

  .map-point {
    width: 38px;
    height: 38px;
  }

  .contact-form {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .modal {
    padding: 8px;
  }

  .modal-dialog {
    max-height: calc(100vh - 16px);
    overflow: auto;
  }

  .step,
  .number-card {
    min-height: auto;
  }

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