:root {
  --vm-navy: #0f2d52;
  --vm-navy-soft: #1b3f68;
  --vm-coral: #df6c4d;
  --vm-gold: #d3a652;
  --vm-cream: #f6f7fb;
  --vm-white: #ffffff;
  --vm-text-dark: #15375d;
  --vm-text-muted: #47648a;
}

html {
  font-size: 14px;
  position: relative;
  min-height: 100%;
  scroll-behavior: smooth;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  margin: 0;
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  background: linear-gradient(180deg, #11325a 0%, #0d2948 100%);
  color: #eef3fb;
}

a {
  text-decoration: none;
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus,
.form-select:focus {
  box-shadow: 0 0 0 0.18rem rgba(223, 108, 77, 0.22);
}

.vm-nav {
  background: linear-gradient(90deg, #0f2d52 0%, #123962 100%) !important;
  border-color: rgba(211, 166, 82, 0.3) !important;
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
}

.navbar-brand {
  color: #f3f6fb !important;
  font-weight: 700;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.brand-logo-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #f4f1ea;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(211, 166, 82, 0.45);
}

.brand-logo {
  width: 35px;
  height: 37px;
  object-fit: contain;
}

.brand-wordmark {
  text-transform: lowercase;
  font-size: 1.15rem;
}

.nav-link {
  color: rgba(243, 246, 251, 0.9) !important;
  font-weight: 500;
  margin-left: 0.45rem;
  margin-right: 0.45rem;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--vm-gold) !important;
}

.btn-nav-cta {
  border: 1px solid rgba(223, 108, 77, 0.9);
  color: #f7f9fd;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  font-size: 0.86rem;
}

.btn-nav-cta:hover,
.btn-nav-cta:focus {
  background: var(--vm-coral);
  color: #fff;
}

.navbar-toggler {
  border-color: rgba(244, 241, 234, 0.45);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(211, 166, 82, 0.25);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28244, 241, 234, 0.92%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.page-shell {
  overflow: hidden;
}

.partner-hero {
  background: radial-gradient(1100px 480px at 75% 25%, rgba(89, 135, 191, 0.2), rgba(15, 45, 82, 0.08)),
    linear-gradient(160deg, #10335d 0%, #0f2d52 56%, #133f69 100%);
}

.hero-panel {
  border: 1px solid rgba(211, 166, 82, 0.25);
  border-radius: 1rem;
  background: linear-gradient(140deg, rgba(15, 45, 82, 0.93), rgba(19, 63, 105, 0.82));
  padding: 2.2rem;
}

.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
  font-size: 0.74rem;
  color: #f0d6a2;
  margin-bottom: 0.9rem;
}

.section-kicker.dark {
  color: #9a6e1f;
}

.hero-title {
  color: #f7fbff;
  font-family: "Space Grotesk", "IBM Plex Sans", sans-serif;
  font-size: 3.1rem;
  line-height: 1.02;
  margin-bottom: 1rem;
}

.hero-title span {
  color: var(--vm-coral);
}

.hero-subtitle {
  color: #e2ebf8;
  max-width: 38rem;
  font-size: 1.1rem;
}

.hero-note {
  color: #c8dbf3;
  margin-bottom: 1.3rem;
}

.btn-primary-action {
  background: linear-gradient(90deg, #df6c4d, #f07a57);
  border: none;
  color: #fff;
  border-radius: 999px;
  padding: 0.72rem 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
}

.btn-primary-action:hover,
.btn-primary-action:focus {
  background: linear-gradient(90deg, #d96444, #e96f4f);
  color: #fff;
}

.hero-medica {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0.8rem;
  background: rgba(122, 171, 223, 0.14);
  color: #eff5ff;
  padding: 1.1rem 1rem;
  text-align: center;
}

.medica-kicker {
  color: var(--vm-gold);
  letter-spacing: 0.05em;
  font-weight: 700;
}

.content-section {
  color: var(--vm-text-dark);
}

.light-surface {
  background: #f8fbff;
}

.soft-surface {
  background: linear-gradient(180deg, #f0f6fd 0%, #e9f2fc 100%);
}

.section-title {
  color: #173a62;
  font-family: "Space Grotesk", "IBM Plex Sans", sans-serif;
  margin-bottom: 1rem;
  font-size: 2.25rem;
}

.section-intro,
.content-section p {
  color: var(--vm-text-muted);
  line-height: 1.6;
}

.focus-card {
  border: 1px solid rgba(36, 78, 126, 0.18);
  border-radius: 1rem;
  background: linear-gradient(180deg, #f8fbff 0%, #edf4fb 100%);
  padding: 1.4rem;
}

.focus-card h3 {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: #9a6e1f;
}

.focus-card h4 {
  font-family: "Space Grotesk", "IBM Plex Sans", sans-serif;
  color: #15375d;
  font-size: 1.8rem;
}

.category-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.category-item {
  background: #fff;
  border: 1px solid rgba(36, 78, 126, 0.16);
  border-radius: 0.9rem;
  padding: 0.9rem 0.7rem;
  font-size: 0.85rem;
  text-align: center;
  color: #23496f;
  font-weight: 500;
}

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

.benefit-item {
  border: 1px solid rgba(36, 78, 126, 0.15);
  border-radius: 0.9rem;
  background: #fff;
  padding: 1rem;
}

.benefit-item h4 {
  font-size: 1rem;
  color: #15375d;
  margin-bottom: 0.45rem;
}

.benefit-item p {
  margin-bottom: 0;
  font-size: 0.92rem;
}

.cta-panel {
  background: linear-gradient(130deg, #0f2d52, #194878);
  color: #eef4ff;
  border-radius: 1rem;
  padding: 1.25rem;
}

.cta-panel h3 {
  color: #fff;
  font-family: "Space Grotesk", "IBM Plex Sans", sans-serif;
  margin-bottom: 0.55rem;
}

.form-card {
  background: #fff;
  border: 1px solid rgba(36, 78, 126, 0.2);
  border-radius: 1rem;
  padding: 1.2rem;
  box-shadow: 0 12px 30px rgba(16, 52, 91, 0.08);
}

.form-card h3 {
  color: #173a62;
  font-family: "Space Grotesk", "IBM Plex Sans", sans-serif;
}

.form-intro {
  color: #587293;
  font-size: 0.92rem;
}

.form-progress {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin: 0.75rem 0 1rem;
  padding: 0.6rem 0.8rem;
  border-radius: 0.7rem;
  border: 1px solid rgba(36, 78, 126, 0.2);
  background: linear-gradient(180deg, #f7fbff, #eef5fd);
  color: #33547a;
  font-size: 0.78rem;
  font-weight: 600;
}

.form-section {
  border: 1px solid rgba(36, 78, 126, 0.12);
  border-radius: 0.8rem;
  background: #fcfeff;
  padding: 0.95rem;
  margin-bottom: 0.9rem;
}

.form-section-title {
  margin: 0 0 0.75rem;
  color: #173a62;
  font-family: "Space Grotesk", "IBM Plex Sans", sans-serif;
  font-size: 1.05rem;
}

.choice-fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

.choice-fieldset .form-label {
  margin-bottom: 0.45rem;
}

.binary-choice {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.choice-option {
  position: relative;
}

.choice-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.choice-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 70px;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(36, 78, 126, 0.25);
  background: #f7fbff;
  color: #23496f;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.choice-label:hover {
  border-color: rgba(22, 104, 172, 0.45);
  background: #eef6ff;
}

.choice-input:focus-visible + .choice-label {
  outline: none;
  border-color: rgba(22, 104, 172, 0.6);
  box-shadow: 0 0 0 0.2rem rgba(22, 104, 172, 0.2);
}

.choice-input:checked + .choice-label {
  color: #ffffff;
  border-color: #1768ac;
  background: linear-gradient(90deg, #1768ac, #215f93);
}

.form-label {
  color: #20466f;
  font-size: 0.84rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.form-control,
.form-select {
  border-radius: 0.55rem;
  border-color: rgba(36, 78, 126, 0.22);
  font-size: 0.92rem;
  padding: 0.56rem 0.72rem;
}

.form-control:focus,
.form-select:focus,
.form-check-input:focus {
  border-color: rgba(22, 104, 172, 0.55);
  box-shadow: 0 0 0 0.2rem rgba(22, 104, 172, 0.17);
}

.form-check-input {
  border-color: rgba(36, 78, 126, 0.35);
}

input.form-control,
textarea.form-control,
select.form-select {
  font-size: 16px;
}

.btn-submit {
  background: linear-gradient(90deg, #df6c4d, #f07a57);
  border: none;
  color: #fff;
  border-radius: 999px;
  padding: 0.68rem 1rem;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
}

.btn-submit:hover,
.btn-submit:focus {
  background: linear-gradient(90deg, #d96444, #e96f4f);
  color: #fff;
}

.form-footnote {
  color: #7e93ae;
  font-size: 0.75rem;
  text-align: center;
}

.form-help {
  color: #6c84a3;
  font-size: 0.75rem;
}

.form-required::after {
  content: " *";
  color: #be2f36;
  font-weight: 700;
}

.form-summary ul {
  margin-bottom: 0;
  padding-left: 1.2rem;
}

.form-summary ul li {
  margin-bottom: 0.2rem;
}

.submit-wrap {
  border-top: 1px solid rgba(36, 78, 126, 0.16);
  padding-top: 0.8rem;
}

.category-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem 1rem;
  border: 1px solid rgba(36, 78, 126, 0.22);
  border-radius: 0.55rem;
  padding: 0.75rem;
  background: #fbfdff;
}

.category-checklist .form-check {
  margin-bottom: 0;
}

.category-checklist .form-check-label {
  color: #23496f;
  font-size: 0.9rem;
}

.text-danger {
  color: #be2f36 !important;
  font-size: 0.78rem;
}

.footer {
  color: rgba(244, 249, 255, 0.8);
  border-color: rgba(211, 166, 82, 0.25) !important;
  background: transparent;
}

.footer a {
  color: var(--vm-gold);
}

.footer a:hover {
  color: #f0d6a2;
}

@media (max-width: 1199.98px) {
  .category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .navbar-nav {
    margin-top: 1rem;
    margin-bottom: 0.75rem;
  }

  .btn-nav-cta {
    display: inline-flex;
    margin-bottom: 0.5rem;
  }

  .hero-title {
    font-size: 2.55rem;
  }

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

@media (max-width: 767.98px) {
  .brand-logo-badge {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  .brand-logo {
    width: 30px;
    height: 32px;
  }

  .brand-wordmark {
    font-size: 1rem;
  }

  .hero-panel {
    padding: 1.2rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle,
  .hero-note {
    font-size: 0.96rem;
  }

  .section-title {
    font-size: 1.7rem;
  }

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

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

  .category-checklist {
    grid-template-columns: 1fr;
  }

  .form-progress {
    flex-direction: column;
    align-items: flex-start;
  }

  .submit-wrap {
    position: sticky;
    bottom: -1px;
    z-index: 3;
    background: #fff;
    padding: 0.85rem 0 0.55rem;
  }

  .btn-submit {
    padding: 0.8rem 1rem;
    font-size: 0.84rem;
    box-shadow: 0 10px 22px rgba(223, 108, 77, 0.26);
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .btn-nav-cta {
    width: 100%;
    justify-content: center;
  }

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