:root {
  --navy: #062653;
  --navy-deep: #031d45;
  --teal: #08a9a8;
  --teal-dark: #078d93;
  --ink: #082557;
  --muted: #71819b;
  --bg: #f4f9fc;
  --card: #ffffff;
  --line: #dbe8ef;
  --shadow: 0 20px 54px rgba(6, 38, 83, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.45;
}

body.dialog-open {
  overflow: hidden;
}

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

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

button,
input,
select {
  font: inherit;
}

.process-topbar {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  min-height: 30px;
  padding: 7px 8%;
  background: var(--navy-deep);
  color: #d4edf4;
  font-size: 13px;
  font-weight: 700;
}

.process-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 250px 1fr auto;
  align-items: center;
  min-height: 78px;
  padding: 0 8%;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.process-brand {
  display: inline-flex;
  align-items: center;
  width: max-content;
}

.process-brand img {
  width: 86px;
  height: 64px;
  object-fit: contain;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 42px;
  font-size: 15px;
  font-weight: 900;
}

.nav a {
  color: var(--ink);
}

.nav a:hover,
.nav a:focus-visible,
.nav .active {
  color: var(--teal);
}

.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.nav-dropdown-toggle {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  z-index: 30;
  min-width: 270px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px;
  max-height: min(420px, calc(100vh - 120px));
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  background: #ffffff;
  box-shadow: 0 18px 34px rgba(6, 38, 83, 0.14);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 150ms ease, transform 150ms ease;
}

.has-dropdown::after {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 29;
  width: 270px;
  height: 14px;
  content: "";
  transform: translateX(-50%);
}

.nav-dropdown-toggle:hover,
.nav-dropdown-toggle:focus-visible {
  background: #e9fbfb;
  color: var(--teal);
}

.has-dropdown:hover .nav-dropdown,
.has-dropdown:focus-within .nav-dropdown,
.has-dropdown.is-open .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-dropdown a {
  display: flex;
  align-items: center;
  min-height: 38px;
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--ink);
  white-space: nowrap;
}

.nav-dropdown a:hover,
.nav-dropdown a:focus-visible,
.nav-dropdown .sub-active {
  background: #e9fbfb;
  color: var(--teal);
}

.menu-toggle {
  display: none;
  border: 1px solid rgba(6, 38, 83, 0.2);
  border-radius: 8px;
  background: #ffffff;
  color: var(--navy);
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
}

.process-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 28px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.process-btn:hover {
  transform: translateY(-1px);
}

.process-btn:focus-visible,
.menu-toggle:focus-visible,
.dialog-close:focus-visible,
input:focus,
select:focus {
  outline: 3px solid rgba(8, 169, 168, 0.33);
  outline-offset: 3px;
}

.process-btn-primary {
  background: var(--teal);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(8, 169, 168, 0.22);
}

.process-btn-secondary {
  background: #ffffff;
  border-color: var(--navy);
  color: var(--navy);
}

.process-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.13fr) minmax(360px, 0.87fr);
  gap: 60px;
  align-items: center;
  min-height: 455px;
  padding: 70px 8% 58px;
  overflow: hidden;
  background: #eaf6f9;
}

.process-hero::after {
  position: absolute;
  top: -72px;
  right: 3%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(8, 169, 168, 0.13);
  content: "";
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0;
  color: var(--teal);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow.light {
  color: #c9ffff;
}

.hero-copy h1 {
  max-width: 760px;
  margin: 18px 0 18px;
  color: var(--navy);
  font-size: clamp(48px, 5.2vw, 72px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.03;
}

.hero-copy > p {
  max-width: 670px;
  margin: 0;
  color: #52657e;
  font-size: 19px;
  line-height: 1.35;
}

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

.process-preview {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.preview-card {
  min-height: 98px;
  padding: 18px 18px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
}

.preview-card-large {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 22px;
  align-items: center;
  min-height: 92px;
  background: var(--navy);
  color: #ffffff;
}

.preview-card-accent {
  background: var(--teal);
  color: #ffffff;
}

.preview-card span {
  display: inline-flex;
  color: inherit;
  font-size: 15px;
  font-weight: 900;
}

.preview-card strong {
  display: block;
  color: inherit;
  font-size: 20px;
  font-weight: 900;
}

.preview-card-large strong {
  font-size: 28px;
}

.preview-card p {
  margin: 6px 0 0;
  color: inherit;
  font-size: 14px;
  opacity: 0.72;
}

.preview-card-large p {
  grid-column: 2;
  margin-top: -8px;
}

.process-intro {
  padding: 58px 8% 35px;
  text-align: center;
}

.process-intro h2 {
  margin: 16px auto 8px;
  color: var(--navy);
  font-size: clamp(34px, 3.7vw, 48px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.1;
}

.process-intro p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 19px;
}

.process-steps {
  display: grid;
  gap: 22px;
  padding: 22px 8% 44px;
}

.step-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 28px;
  align-items: center;
  min-height: 116px;
  padding: 24px 30px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(6, 38, 83, 0.04);
}

.step-number {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--teal);
  color: #ffffff;
  font-size: 17px;
  font-weight: 900;
}

.step-label {
  margin: 0 0 7px;
  color: var(--teal);
  font-size: 15px;
  font-weight: 900;
}

.step-card h3 {
  margin: 0 0 6px;
  color: var(--navy);
  font-size: clamp(23px, 2.5vw, 31px);
  font-weight: 900;
  line-height: 1.12;
}

.step-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
  list-style: none;
}

.step-card li::before {
  margin-right: 8px;
  color: #7e91aa;
  content: "\2713";
}

.results-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 8% 44px;
  padding: 28px 30px;
  overflow: hidden;
  border-radius: 18px;
  background: var(--navy);
  color: #ffffff;
}

.results-band article {
  min-width: 0;
  padding: 0 22px;
  border-left: 1px solid rgba(255, 255, 255, 0.26);
}

.results-band article:first-child {
  border-left: 0;
  padding-left: 0;
}

.results-band strong {
  display: block;
  color: #ffffff;
  max-width: 100%;
  font-size: clamp(20px, 1.85vw, 26px);
  font-weight: 900;
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.results-band span {
  display: block;
  margin-top: 8px;
  color: #c9d9eb;
  font-size: 15px;
}

.process-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 40px;
  align-items: center;
  margin: 0 8% 62px;
  padding: 36px;
  border-radius: 24px;
  background: var(--teal);
  color: #ffffff;
}

.process-cta h2 {
  max-width: 640px;
  margin: 12px 0 14px;
  color: #ffffff;
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.08;
}

.process-cta p {
  max-width: 780px;
  margin: 0;
  color: #e9ffff;
  font-size: 19px;
  line-height: 1.35;
}

.cta-panel {
  padding: 26px 30px;
  border-radius: 20px;
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 18px 44px rgba(6, 38, 83, 0.12);
}

.cta-panel h3 {
  margin: 0;
  color: var(--navy);
  font-size: 26px;
  font-weight: 900;
  line-height: 1.14;
}

.cta-panel p {
  margin: 12px 0 18px;
  color: var(--muted);
  font-size: 16px;
}

.cta-panel .process-btn {
  width: 100%;
}

.process-footer {
  display: grid;
  grid-template-columns: 1.1fr 0.7fr 1fr 1.1fr;
  gap: 48px;
  padding: 42px 8% 58px;
  background: var(--navy-deep);
  color: #ffffff;
}

.footer-logo img {
  width: 92px;
  height: 74px;
  object-fit: contain;
}

.footer-logo p {
  margin: 8px 0 0;
  color: var(--teal);
  font-size: 16px;
}

.process-footer h3 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 15px;
}

.process-footer a,
.process-footer p {
  display: block;
  margin: 4px 0;
  color: #b9ccdd;
  font-size: 15px;
}

.consultation-dialog {
  width: min(520px, calc(100vw - 32px));
  border: 0;
  border-radius: 14px;
  padding: 0;
  box-shadow: 0 24px 80px rgba(1, 26, 61, 0.28);
}

.consultation-dialog::backdrop {
  background: rgba(1, 26, 61, 0.58);
  backdrop-filter: blur(4px);
}

.consultation-card {
  display: grid;
  gap: 16px;
  padding: 30px;
  background: #ffffff;
}

.consultation-card h2 {
  margin: 0 0 4px;
  color: var(--navy);
  font-size: 28px;
}

.consultation-card label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
}

.consultation-card input,
.consultation-card select {
  width: 100%;
  min-height: 45px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--ink);
  background: #ffffff;
}

.dialog-close {
  justify-self: end;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
}

.form-status {
  min-height: 20px;
  margin: 0;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
}

@media (max-width: 980px) {
  .process-topbar,
  .header-action {
    display: none;
  }

  .process-header {
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 12px 24px;
  }

  .process-brand img {
    width: 78px;
    height: 58px;
  }

  .menu-toggle {
    display: inline-flex;
    padding: 11px 15px;
  }

  .nav {
    display: none;
    grid-column: 1 / -1;
    flex-direction: column;
    gap: 0;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    min-height: 44px;
    border-top: 1px solid var(--line);
    padding-top: 13px;
  }

  .nav-item {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  .nav-dropdown-toggle {
    width: 44px;
    height: 44px;
    border-top: 1px solid var(--line);
    border-radius: 0;
  }

  .nav-dropdown {
    position: static;
    display: none;
    grid-column: 1 / -1;
    min-width: 0;
    max-height: none;
    border: 0;
    border-radius: 0;
    width: 100%;
    overflow: hidden;
    overflow-y: visible;
    overscroll-behavior: auto;
    padding: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .has-dropdown::after {
    display: none;
  }

  .has-dropdown:hover .nav-dropdown,
  .has-dropdown:focus-within .nav-dropdown {
    display: none;
  }

  .has-dropdown.is-open .nav-dropdown {
    display: grid;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-dropdown a {
    display: block;
    min-height: 40px;
    border-top: 1px solid var(--line);
    border-radius: 0;
    padding: 12px 0 0 18px;
    overflow-wrap: anywhere;
    white-space: normal;
  }

  .process-hero,
  .process-cta,
  .process-footer {
    grid-template-columns: 1fr;
  }

  .process-hero {
    padding: 48px 24px;
  }

  .process-preview {
    grid-template-columns: 1fr;
  }

  .preview-card-large,
  .preview-card-large p {
    grid-column: auto;
  }

  .process-intro,
  .process-steps {
    padding-right: 24px;
    padding-left: 24px;
  }

  .step-card {
    grid-template-columns: 1fr;
  }

  .results-band {
    grid-template-columns: 1fr;
    margin-right: 24px;
    margin-left: 24px;
  }

  .results-band article {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.26);
    padding: 18px 0 0;
  }

  .results-band article:first-child {
    border-top: 0;
    padding-top: 0;
  }

  .results-band strong {
    white-space: normal;
  }

  .process-cta {
    margin-right: 24px;
    margin-left: 24px;
    padding: 28px;
  }

  .process-footer {
    gap: 28px;
    padding-right: 24px;
    padding-left: 24px;
  }
}

@media (max-width: 560px) {
  .hero-copy h1 {
    font-size: 42px;
  }

  .hero-copy > p,
  .process-cta p {
    font-size: 16px;
  }

  .hero-actions,
  .process-btn {
    width: 100%;
  }

  .step-card ul {
    display: grid;
    gap: 6px;
  }
}
