/* Get help / visit days — enterprise luxury wizard
   Palette: Navy #204088 | Cyan #30c0e8 | Gold #c5a572 | Ivory #fdfcf8
   Neuroscience: Hick's Law, Fitts' Law, Peak-End, Cialdini, Serial Position
   Enterprise: WCAG AA contrast, reduced motion, focus management
*/

/* ================================================================
   EMERGENCY STRIP
   ================================================================ */
.im-emerg {
  position: relative;
  z-index: 10;
  margin-top: 0;
}

.im-gh-page .im-emerg--after-stage {
  margin-top: -1.75rem;
  margin-bottom: 0.35rem;
}

.im-emerg-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-lg);
  background: var(--crimson);
  color: var(--white);
  padding: var(--space-lg) var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(192,57,43,0.3);
  width: min(1200px, 92vw);
  margin-inline: auto;
}

.im-emerg-copy {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.im-emerg-icon {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--white);
}

.im-emerg-heading {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.15rem;
}

.im-emerg-sub {
  font-size: 0.85rem;
  opacity: 0.88;
}

.im-emerg-dials {
  display: flex;
  gap: var(--space-md);
}

.im-emerg-dial {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.5rem;
  min-height: 56px;
  background: rgba(255,255,255,0.12);
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-md);
  color: var(--white);
  text-decoration: none;
  transition: all var(--dur-fast) ease;
  min-width: 100px;
}

.im-emerg-dial:hover,
.im-emerg-dial:focus {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-2px);
}

.im-emerg-dial-num {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}

.im-emerg-dial-label {
  font-size: 0.7rem;
  font-weight: 600;
  opacity: 0.85;
  margin-top: 2px;
}

/* ================================================================
   GET HELP STAGE — classic two-column appointment + luxury chrome
   ================================================================ */
body.im-interior {
  padding-top: 4.6rem;
}

.im-gh-stage {
  position: relative;
  isolation: isolate;
  padding: 1.15rem 0 3.25rem;
  background:
    radial-gradient(900px 420px at 8% 0%, rgba(32, 64, 136, 0.08), transparent 58%),
    radial-gradient(640px 280px at 100% 18%, rgba(197, 165, 114, 0.16), transparent 52%),
    linear-gradient(180deg, var(--ivory) 0%, var(--paper) 100%);
  overflow: hidden;
}

.im-gh-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(32, 64, 136, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32, 64, 136, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 55% at 40% 20%, #000 28%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 80% 55% at 40% 20%, #000 28%, transparent 72%);
  pointer-events: none;
}

.im-gh-stage-inner {
  width: min(1200px, 92vw);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.95fr);
  gap: clamp(1.5rem, 4vw, 3.25rem);
  align-items: center;
}

.im-gh-stage-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.8rem;
  min-width: 0;
}

.im-gh-stage .im-page-crumbs {
  margin-bottom: 0;
}

.im-gh-stage .im-kicker {
  margin-bottom: 0;
}

.im-gh-stage h1 {
  font-family: var(--font-display);
  font-size: clamp(2.05rem, 4.5vw, 3.25rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: var(--navy);
  margin: 0;
}

.im-gh-stage .im-lede {
  margin-inline: 0;
  max-width: 42ch;
  color: var(--ink-light);
}

.im-gh-stage .im-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 2px;
}

.im-gh-stage .im-btn-ghost,
.im-gh-stage .im-btn-ghost--light {
  color: var(--navy);
  border: 2px solid var(--gold);
  background: transparent;
}

.im-gh-stage .im-btn-ghost:hover,
.im-gh-stage .im-btn-ghost:focus,
.im-gh-stage .im-btn-ghost--light:hover,
.im-gh-stage .im-btn-ghost--light:focus {
  background: var(--ivory);
  border-color: var(--navy);
  color: var(--navy);
}

.im-gh-stage .im-hero-note {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--ink-muted);
  max-width: 46ch;
}

.im-gh-stage-call {
  margin-top: 6px;
  padding: 14px 18px;
  width: 100%;
  max-width: 28rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.im-gh-stage-call .im-hero-call-label {
  margin-bottom: 2px;
}

.im-gh-stage-call > a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.im-gh-stage-call > a:hover,
.im-gh-stage-call > a:focus {
  color: var(--sky-dark);
}

.im-gh-stage-call p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--ink-muted);
}

.im-gh-stage-shot {
  position: relative;
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}

.im-gh-stage-shot img {
  width: 100%;
  height: min(52vh, 520px);
  object-fit: cover;
  display: block;
}

.im-gh-stage-shot figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(253, 252, 248, 0.94);
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

#im-gh-form,
.im-gh-main {
  scroll-margin-top: 5.5rem;
}

body.im-gh-page:has(.im-gh-stage) .im-gh-rail-frame {
  display: none;
}

@media (min-width: 992px) {
  body.im-gh-page:has(.im-gh-stage-call) .im-gh-rail-call {
    display: none;
  }
}

body.im-gh-page .im-gh-rail {
  top: 6.25rem;
}

@media (max-width: 991px) {
  .im-gh-stage-inner {
    grid-template-columns: 1fr;
  }

  .im-gh-stage-shot img {
    height: min(38vh, 320px);
  }

  .im-gh-stage .im-hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .im-gh-stage .im-hero-actions .im-btn {
    width: 100%;
  }

  .im-gh-stage-call {
    max-width: none;
  }
}

/* ================================================================
   LUXURY HERO (interior pages)
   ================================================================ */
.im-page-hero {
  position: relative;
  isolation: isolate;
  padding-block: clamp(7rem, 14vh, 10rem) clamp(4rem, 9vh, 6.5rem);
  background:
    radial-gradient(900px 420px at 12% 0%, rgba(32, 64, 136, 0.10), transparent 60%),
    radial-gradient(720px 320px at 100% 30%, rgba(197, 165, 114, 0.18), transparent 55%),
    linear-gradient(180deg, var(--ivory) 0%, var(--paper) 100%);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.im-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(32, 64, 136, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32, 64, 136, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: -1px -1px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 75%);
  pointer-events: none;
}

.im-page-hero::after {
  content: "";
  position: absolute;
  right: -160px;
  top: -160px;
  width: 480px;
  height: 480px;
  z-index: -1;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(197, 165, 114, 0.18), transparent 70%);
  pointer-events: none;
}

.im-page-hero-inner {
  position: relative;
  z-index: 1;
  width: min(1200px, 92vw);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.im-page-crumbs {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin: 0;
  padding: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.im-page-crumbs a {
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--dur-fast) ease, border-color var(--dur-fast) ease;
}

.im-page-crumbs a:hover,
.im-page-crumbs a:focus-visible {
  color: var(--navy-dark);
  border-bottom-color: var(--gold);
}

.im-page-crumbs span[aria-hidden="true"] {
  color: var(--gold-dark);
  font-weight: 800;
}

.im-page-hero .im-kicker {
  margin-bottom: 0;
}

.im-page-hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--navy);
  max-width: 22ch;
  margin: 0;
}

.im-page-hero .im-lede {
  max-width: 56ch;
  margin: 0;
  color: var(--ink-light);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.65;
}

.im-page-hero .im-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-top: var(--space-sm);
}

/* ================================================================
   TRUST RIBBON
   ================================================================ */
.im-ribbon {
  overflow: hidden;
  background: linear-gradient(90deg, var(--navy) 0%, var(--navy-dark) 100%);
  padding: 18px 0;
  position: relative;
}

.im-ribbon::before,
.im-ribbon::after {
  content: "";
  position: absolute;
  top: 0;
  width: 120px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.im-ribbon::before {
  left: 0;
  background: linear-gradient(90deg, var(--navy), transparent);
}

.im-ribbon::after {
  right: 0;
  background: linear-gradient(270deg, var(--navy-dark), transparent);
}

.im-ribbon-track {
  display: flex;
  width: max-content;
  animation: im-ribbon-scroll 40s linear infinite;
}

.im-ribbon-track p {
  display: flex;
  align-items: center;
  gap: 32px;
  color: var(--gold-light);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 0 16px;
}

.im-ribbon-track p::before,
.im-ribbon-track p::after {
  content: "✦";
  color: var(--gold);
  font-size: 0.65rem;
}

@keyframes im-ribbon-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .im-ribbon-track {
    animation: none;
  }
}

/* ================================================================
   FORM LAYOUT
   ================================================================ */
.im-gh-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 40px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 16px;
  position: relative;
  z-index: 1;
}

.im-gh-form-col {
  min-width: 0;
}

.im-gh-rail-col {
  min-width: 0;
}

.im-gh-board {
  position: relative;
  padding: 8px 0 48px;
}

.im-gh-board::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 200px;
  background: linear-gradient(180deg, rgba(32, 64, 136, 0.04), transparent);
  pointer-events: none;
}

/* ================================================================
   STEP METER & PROGRESS
   ================================================================ */
.im-gh-meter {
  margin: 0 0 28px;
  padding: 24px 28px;
  background: var(--white);
  border: 1px solid var(--im-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.im-gh-meter-copy {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
  margin: 0 0 14px;
  color: var(--im-navy);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.im-gh-meter-name {
  color: var(--im-ink);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

body.im-gh-page .im-gh-progress {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

body.im-gh-page .im-gh-progress li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  height: auto;
  min-height: 0;
  padding: 4px 2px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--im-muted);
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  overflow: visible;
  transition: color var(--dur-fast) ease, transform var(--dur-fast) ease;
}

body.im-gh-page .im-gh-progress li:hover {
  transform: none;
  color: var(--im-navy);
}

body.im-gh-page .im-gh-progress-n {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(32, 64, 136, 0.10);
  color: var(--im-navy);
  font-size: 0.85rem;
  font-weight: 800;
}

body.im-gh-page .im-gh-progress-l {
  display: block;
  text-align: center;
  line-height: 1.25;
  color: inherit;
}

body.im-gh-page .im-gh-progress li.is-done .im-gh-progress-n {
  background: var(--im-champagne);
  color: var(--navy-dark);
}

body.im-gh-page .im-gh-progress li.is-current {
  background: transparent;
  box-shadow: none;
  color: var(--im-navy);
}

body.im-gh-page .im-gh-progress li.is-current .im-gh-progress-n {
  background: var(--im-navy);
  color: var(--white);
  box-shadow: 0 0 0 3px rgba(32, 64, 136, 0.15);
}

body.im-gh-page .im-gh-progress li.is-done {
  background: transparent;
}

/* ================================================================
   FORM CARDS
   ================================================================ */
.im-gh-page .im-gs-card {
  padding: 36px 32px 32px;
  margin: 0 0 20px;
  border-radius: var(--radius-lg);
  background: var(--im-paper, #fffdf8);
  border: 1px solid var(--im-line);
  box-shadow: var(--shadow-card);
}

.im-gh-page .im-gs-card--review {
  background: linear-gradient(180deg, var(--white) 0%, rgba(245, 248, 253, 0.5) 100%);
}

.im-gh-page .im-gs-card-head {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin: 0 0 28px;
}

.im-gh-page .im-gs-card-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.6vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--im-navy);
  margin: 0;
}

.im-gh-page .im-gs-card-head p {
  color: var(--im-muted);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 6px 0 0;
}

.im-gh-page .im-gs-num {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--im-navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.15rem;
  box-shadow: 0 4px 12px rgba(32, 64, 136, 0.25);
}

/* ================================================================
   PERSON CARDS
   ================================================================ */
.im-gh-people {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 0 0 12px;
}

@media (min-width: 560px) {
  .im-gh-people {
    grid-template-columns: 1fr 1fr;
  }

  .im-gh-people:has(.im-gh-person:only-child),
  .im-gh-people:has(.is-locked) {
    grid-template-columns: 1fr;
  }
}

label.im-gh-person {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 108px;
  padding: 20px 22px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 2px solid transparent;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all var(--dur-base) var(--ease-out);
  position: relative;
  overflow: hidden;
}

label.im-gh-person > input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

label.im-gh-person::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(32, 64, 136, 0.03), rgba(197, 165, 114, 0.03));
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease-out);
}

label.im-gh-person:hover {
  border-color: var(--im-line);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

label.im-gh-person:hover::before {
  opacity: 1;
}

label.im-gh-person.is-selected {
  border-color: var(--im-navy);
  box-shadow: 0 0 0 3px rgba(32, 64, 136, 0.12), var(--shadow-md);
  background: linear-gradient(135deg, rgba(32, 64, 136, 0.04), rgba(245, 248, 253, 0.8));
}

label.im-gh-person.is-locked {
  border-color: var(--im-champagne);
  background: linear-gradient(135deg, rgba(197, 165, 114, 0.06), var(--white));
}

.im-gh-avatar,
.im-gh-avatar img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.im-gh-avatar {
  flex: 0 0 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.im-gh-avatar--fallback {
  background: linear-gradient(135deg, var(--im-navy), var(--navy-dark));
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(32, 64, 136, 0.2);
}

.im-gh-person-meta {
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.im-gh-person-meta strong {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--im-navy);
  display: block;
  margin-bottom: 4px;
}

.im-gh-person-meta span {
  font-size: 0.88rem;
  color: var(--im-muted);
  font-weight: 500;
}

.im-gh-person-tick {
  display: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--im-navy);
  color: var(--white);
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.im-gh-person.is-selected .im-gh-person-tick {
  display: flex;
}

.im-gh-person-tick::after {
  content: "";
  width: 8px;
  height: 14px;
  border: solid var(--white);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg) translate(-1px, -1px);
}

/* ================================================================
   SEARCH
   ================================================================ */
.im-gh-find {
  position: relative;
  margin: 0 0 18px;
}

.im-gh-find input {
  padding-left: 48px;
  height: 56px;
  font-size: 1rem;
  border: 2px solid var(--im-line);
  border-radius: var(--radius-md);
  background: var(--white);
  transition: border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
}

.im-gh-find input:focus {
  border-color: var(--im-navy);
  box-shadow: 0 0 0 4px rgba(32, 64, 136, 0.08);
}

.im-gh-find::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  width: 16px;
  height: 16px;
  margin-top: -9px;
  border: 2.5px solid var(--im-navy);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.6;
}

.im-gh-find::after {
  content: "";
  position: absolute;
  left: 30px;
  top: 50%;
  width: 8px;
  height: 2.5px;
  margin-top: 3px;
  background: var(--im-navy);
  transform: rotate(45deg);
  pointer-events: none;
  opacity: 0.6;
}

.im-gh-add {
  margin: 16px 0 0;
  font-size: 0.92rem;
  color: var(--im-muted);
}

.im-gh-add a {
  color: var(--im-navy);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.im-gh-find-empty {
  padding: 20px;
  text-align: center;
  color: var(--im-muted);
  font-size: 0.95rem;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px dashed var(--im-line);
}

/* ================================================================
   FORM CONTROLS
   ================================================================ */
.im-gs-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--im-navy);
  margin-bottom: 10px;
  text-transform: none;
}

.im-gs-textarea {
  border: 2px solid var(--im-line);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  font-size: 1rem;
  line-height: 1.6;
  background: var(--white);
  transition: border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
  resize: vertical;
  min-height: 140px;
}

.im-gs-textarea:focus {
  border-color: var(--im-navy);
  box-shadow: 0 0 0 4px rgba(32, 64, 136, 0.08);
}

.im-gs-field-hint {
  margin: 8px 0 0;
  color: var(--im-muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

.im-gs-field-hint strong {
  color: var(--im-navy);
  font-weight: 600;
}

/* ================================================================
   CHOICE CARDS (COVID)
   ================================================================ */
.im-gs-choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.im-choice--card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 24px;
  border: 2px solid var(--im-line);
  border-radius: var(--radius-md);
  background: var(--white);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--im-navy);
  transition: all var(--dur-base) var(--ease-out);
  position: relative;
}

.im-choice--card:hover {
  border-color: rgba(32, 64, 136, 0.3);
  box-shadow: var(--shadow-sm);
}

.im-choice--card input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.im-choice--card .im-choice-mark {
  display: flex;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2.5px solid var(--im-line);
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--dur-base) var(--ease-out);
  color: transparent;
}

.im-choice--card .im-choice-mark svg {
  width: 14px;
  height: 14px;
  opacity: 0;
  transform: scale(0.5);
  transition: all var(--dur-base) var(--ease-spring);
}

.im-choice--card:has(input:checked) {
  border-color: var(--im-navy);
  background: linear-gradient(135deg, rgba(32, 64, 136, 0.05), rgba(245, 248, 253, 0.8));
  box-shadow: 0 0 0 3px rgba(32, 64, 136, 0.08);
}

.im-choice--card:has(input:checked) .im-choice-mark {
  border-color: var(--im-navy);
  background: var(--im-navy);
  color: var(--white);
}

.im-choice--card:has(input:checked) .im-choice-mark svg {
  opacity: 1;
  transform: scale(1);
}

/* ================================================================
   SYMPTOM CHIPS
   ================================================================ */
.im-gh-symptoms {
  margin-top: 20px;
}

.im-gh-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.im-gh-chip {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border: 2px solid var(--im-line);
  border-radius: var(--radius-full);
  background: var(--white);
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--im-ink);
  transition: all var(--dur-base) var(--ease-out);
  position: relative;
}

.im-gh-chip input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.im-gh-chip:hover {
  border-color: rgba(32, 64, 136, 0.35);
  box-shadow: var(--shadow-sm);
}

.im-gh-chip.is-selected {
  border-color: var(--im-navy);
  background: linear-gradient(135deg, rgba(32, 64, 136, 0.08), rgba(245, 248, 253, 0.9));
  color: var(--im-navy);
  box-shadow: 0 0 0 3px rgba(32, 64, 136, 0.06);
}

.im-gh-chip.is-selected::after {
  content: "";
  margin-left: 8px;
  width: 6px;
  height: 10px;
  border: solid var(--im-navy);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-1px, -1px);
}

/* ================================================================
   REVIEW SECTION
   ================================================================ */
.im-gh-review-wrap {
  margin-bottom: 24px;
}

.im-gh-review {
  display: grid;
  gap: 16px;
  margin: 0 0 24px;
}

.im-gh-review-item {
  display: grid;
  gap: 6px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--im-line);
}

.im-gh-review dt {
  margin: 0;
  color: var(--im-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.im-gh-review dd {
  margin: 0;
  color: var(--im-navy);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.45;
  word-break: break-word;
}

.im-gh-review dd:empty::before {
  content: "—";
  color: var(--im-muted);
  font-weight: 600;
}

.im-gh-review-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 18px 20px;
  background: linear-gradient(135deg, rgba(32, 64, 136, 0.04), rgba(245, 248, 253, 0.8));
  border-radius: var(--radius-md);
  border: 1px solid rgba(32, 64, 136, 0.08);
}

.im-gh-review-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--im-ink-light);
}

.im-gh-review-trust-item svg {
  color: var(--im-champagne);
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .im-gh-review-trust {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* ================================================================
   WIZARD BAR
   ================================================================ */
.im-gh-wizard-bar {
  display: none;
  align-items: center;
  gap: 12px;
  margin: 4px 0 8px;
  padding: 16px 20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--im-line);
  box-shadow: var(--shadow-sm);
}

.im-gh-is-wizard .im-gh-wizard-bar {
  display: flex;
}

.im-gh-back {
  min-height: 56px;
  min-width: 88px;
  padding: 0 20px;
  border: 2px solid var(--im-line);
  background: transparent;
  color: var(--im-navy);
  font-weight: 700;
  font-family: inherit;
  font-size: 0.95rem;
  cursor: pointer;
  border-radius: var(--radius-full);
  transition: all var(--dur-fast) ease;
}

.im-gh-back:hover {
  border-color: var(--im-navy);
  background: rgba(32, 64, 136, 0.04);
}

.im-gh-next,
.im-gh-submit {
  flex: 1;
  width: 100%;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  min-height: 56px;
}

.im-gh-submit:disabled,
.im-gh-next:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.im-gh-page .im-gs-form .im-gh-pane:not(.is-active) {
  display: none;
}

/* ================================================================
   RAIL / SIDEBAR
   ================================================================ */
.im-gh-rail {
  position: sticky;
  top: 88px;
}

.im-gh-rail-frame {
  position: relative;
  margin: 0 0 20px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--im-line);
  box-shadow: var(--shadow-card);
}

.im-gh-rail-frame img {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.im-gh-rail-frame figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  max-width: calc(100% - 32px);
  padding: 10px 16px;
  border-radius: var(--radius-full);
  background: rgba(255, 253, 248, 0.96);
  color: var(--im-ink);
  font-size: 0.82rem;
  font-weight: 600;
  backdrop-filter: blur(12px);
}

.im-gh-rail-card {
  padding: 24px 22px;
  margin: 0 0 18px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--im-line);
  box-shadow: var(--shadow-card);
}

.im-gh-rail-card .im-kicker {
  margin-bottom: 14px;
}

.im-gh-rail-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.im-gh-rail-steps li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.im-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--im-navy), var(--navy-dark));
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(32, 64, 136, 0.2);
}

.im-gh-rail-steps li div {
  flex: 1;
  padding-top: 3px;
}

.im-gh-rail-steps strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--im-navy);
  margin-bottom: 2px;
}

.im-gh-rail-steps span {
  font-size: 0.85rem;
  color: var(--im-muted);
  line-height: 1.5;
}

.im-gh-provider {
  padding: 48px 36px;
}

.im-gh-provider-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(32, 64, 136, 0.08), rgba(197, 165, 114, 0.08));
  color: var(--im-navy);
  margin-bottom: 20px;
  box-shadow: 0 0 0 1px rgba(32, 64, 136, 0.06);
}

.im-gh-provider h2 {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 700;
  color: var(--im-navy);
  margin: 0 0 12px;
}

.im-gh-provider p {
  color: var(--im-ink-light);
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0 0 24px;
  max-width: 52ch;
}

/* ================================================================
   TIMELINE SECTION
   ================================================================ */
.im-gh-timeline {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--paper) 0%, var(--ivory) 100%);
  border-top: 1px solid var(--im-line);
  border-bottom: 1px solid var(--im-line);
}

.im-gh-timeline-inner {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 24px;
}

.im-gh-timeline-steps {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.im-gh-timeline-steps::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 28px;
  right: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--im-champagne), var(--im-line));
  z-index: 0;
}

.im-gh-timeline-step {
  position: relative;
  z-index: 1;
  text-align: center;
}

.im-gh-timeline-marker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--im-navy);
  color: var(--im-navy);
  margin-bottom: 18px;
  box-shadow: 0 4px 16px rgba(32, 64, 136, 0.15);
  position: relative;
}

.im-gh-timeline-marker::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(32, 64, 136, 0.1);
}

.im-gh-timeline-step:nth-child(2) .im-gh-timeline-marker {
  border-color: var(--im-champagne);
  color: var(--im-champagne);
  box-shadow: 0 4px 16px rgba(197, 165, 114, 0.2);
}

.im-gh-timeline-step:nth-child(3) .im-gh-timeline-marker {
  border-color: var(--sky);
  color: var(--sky-dark);
  box-shadow: 0 4px 16px rgba(48, 192, 232, 0.2);
}

.im-gh-timeline-step:nth-child(4) .im-gh-timeline-marker {
  border-color: #28a745;
  color: #28a745;
  box-shadow: 0 4px 16px rgba(40, 167, 69, 0.2);
}

.im-gh-timeline-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--im-navy);
  margin: 0 0 8px;
}

.im-gh-timeline-content p {
  font-size: 0.9rem;
  color: var(--im-muted);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {
  .im-gh-timeline-steps {
    grid-template-columns: 1fr 1fr;
    gap: 32px 20px;
  }

  .im-gh-timeline-steps::before {
    display: none;
  }
}

@media (max-width: 480px) {
  .im-gh-timeline-steps {
    grid-template-columns: 1fr;
  }
}

/* ================================================================
   TRUST SECTION
   ================================================================ */
.im-gh-trust {
  padding: 80px 0;
}

.im-gh-trust-inner {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 24px;
}

.im-gh-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.im-gh-trust-item {
  text-align: center;
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--im-line);
  box-shadow: var(--shadow-card);
  transition: all var(--dur-base) var(--ease-out);
}

.im-gh-trust-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.im-gh-trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(32, 64, 136, 0.08), rgba(245, 248, 253, 0.8));
  color: var(--im-navy);
  margin-bottom: 16px;
}

.im-gh-trust-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--im-navy);
  margin: 0 0 8px;
}

.im-gh-trust-item p {
  font-size: 0.88rem;
  color: var(--im-muted);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {
  .im-gh-trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .im-gh-trust-grid {
    grid-template-columns: 1fr;
  }
}

/* ================================================================
   CLOSING CTA
   ================================================================ */
.im-close {
  position: relative;
  min-height: 52vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--navy-dark);
  isolation: isolate;
}

.im-close::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(600px 260px at 15% 0%, rgba(197, 165, 114, 0.16), transparent 55%),
    radial-gradient(500px 240px at 85% 100%, rgba(63, 181, 217, 0.08), transparent 55%);
  pointer-events: none;
}

.im-close-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: clamp(4rem, 10vh, 7rem) clamp(1.5rem, 4vw, 3rem);
  max-width: 720px;
  width: min(1200px, 92vw);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.im-close-inner h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 3.8vw, 2.8rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0;
}

.im-close-inner > p {
  color: rgba(255, 255, 255, 0.75);
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.65;
  margin: 0;
  max-width: 50ch;
  margin-inline: auto;
}

/* ================================================================
   EMPTY STATE
   ================================================================ */
.im-gh-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 48px 24px;
  background: linear-gradient(135deg, rgba(32, 64, 136, 0.03), rgba(245, 248, 253, 0.5));
  border-radius: var(--radius-lg);
  border: 1px dashed var(--im-line);
}

.im-gh-empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(32, 64, 136, 0.08), rgba(197, 165, 114, 0.08));
  color: var(--im-navy);
  margin-bottom: 20px;
}

.im-gh-empty-text {
  font-size: 1.05rem;
  color: var(--im-ink-light);
  line-height: 1.6;
  margin: 0 0 20px;
  max-width: 40ch;
}

/* ================================================================
   ALERT
   ================================================================ */
.im-gs-alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background: rgba(220, 53, 69, 0.08);
  border: 1px solid rgba(220, 53, 69, 0.2);
  color: #922b21;
  margin: 0 0 20px;
}

.im-gs-alert p {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.5;
}

.im-gs-alert-icon {
  flex-shrink: 0;
  margin-top: 1px;
  color: #dc3545;
}

/* ================================================================
   CARE KIND CARDS (enhanced)
   ================================================================ */
.im-gs-kinds {
  margin-top: 4px;
}

.im-care-kinds-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.im-care-kind {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  grid-template-areas:
    "icon head"
    "icon blurb";
  column-gap: 14px;
  row-gap: 4px;
  align-items: start;
  padding: 18px 20px;
  border: 2px solid var(--im-line);
  border-radius: var(--radius-lg);
  background: var(--white);
  cursor: pointer;
  transition: all var(--dur-base) var(--ease-out);
  position: relative;
  text-align: left;
}

.im-care-kind:hover {
  border-color: rgba(32, 64, 136, 0.3);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.im-care-kind input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.im-care-kind.is-selected {
  border-color: var(--im-navy);
  background: linear-gradient(135deg, rgba(32, 64, 136, 0.05), rgba(245, 248, 253, 0.8));
  box-shadow: 0 0 0 3px rgba(32, 64, 136, 0.08), var(--shadow-sm);
}

.im-care-kind-icon {
  grid-area: icon;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(32, 64, 136, 0.06), rgba(245, 248, 253, 0.8));
  color: var(--im-navy);
  font-size: 20px;
  flex-shrink: 0;
  transition: all var(--dur-base) var(--ease-out);
}

.im-care-kind.is-selected .im-care-kind-icon {
  background: linear-gradient(135deg, var(--im-navy), var(--navy-dark));
  color: var(--white);
  box-shadow: 0 4px 12px rgba(32, 64, 136, 0.25);
}

.im-care-kind-head {
  grid-area: head;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.im-care-kind-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--im-navy);
  line-height: 1.3;
}

.im-care-kind-tick {
  display: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--im-navy);
  color: var(--white);
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.im-care-kind.is-selected .im-care-kind-tick {
  display: flex;
}

.im-care-kind-tick::after {
  content: "";
  width: 6px;
  height: 10px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-1px, -1px);
}

.im-care-kind-blurb {
  grid-area: blurb;
  display: block;
  font-size: 0.82rem;
  color: var(--im-muted);
  line-height: 1.5;
  margin-top: 0;
}

.im-care-kinds-count {
  margin-top: 16px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--im-navy);
  text-align: right;
}

@media (max-width: 600px) {
  .im-care-kinds-grid {
    grid-template-columns: 1fr;
  }

  .im-care-kind {
    padding: 16px;
  }
}

/* ================================================================
   BUTTONS
   ================================================================ */
.im-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.85rem 2rem;
  border-radius: var(--radius-full);
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all var(--dur-base) var(--ease-out);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  text-decoration: none;
  min-height: 56px;
  justify-content: center;
}

.im-btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
  box-shadow: var(--shadow-gold);
}

.im-btn-primary:hover,
.im-btn-primary:focus {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(197,165,114,0.35);
}

.im-btn-primary:active {
  transform: translateY(0);
  transition: transform var(--dur-fast) ease;
}

.im-btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: skewX(-20deg);
  transition: left var(--dur-shimmer) ease;
}

.im-btn-primary:hover::after,
.im-btn-primary:focus::after { left: 150%; }

.im-btn-ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
}

.im-btn-ghost:hover,
.im-btn-ghost:focus {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
}

.im-btn-ghost--light {
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}

.im-btn-arrow {
  display: inline-block;
  transition: transform var(--dur-base) var(--ease-out);
}

.im-btn-primary:hover .im-btn-arrow,
.im-btn-primary:focus .im-btn-arrow { transform: translateX(4px); }

/* ================================================================
   SCROLL REVEAL ANIMATIONS
   ================================================================ */
.im-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--dur-slow) var(--ease-out),
              transform var(--dur-slow) var(--ease-out);
}

.im-reveal.im-revealed,
.im-reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .im-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ================================================================
   ENTRANCE ANIMATIONS (wizard items)
   ================================================================ */
@keyframes im-gh-enter {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .im-gh-is-wizard .im-gh-pane.is-active {
    animation: im-gh-enter 0.32s ease;
  }

  label.im-gh-person,
  label.im-care-kind {
    animation: im-gh-enter 0.34s ease both;
  }

  label.im-gh-person:nth-child(1),
  label.im-care-kind:nth-child(1) { animation-delay: 0ms; }
  label.im-gh-person:nth-child(2),
  label.im-care-kind:nth-child(2) { animation-delay: 40ms; }
  label.im-gh-person:nth-child(3),
  label.im-care-kind:nth-child(3) { animation-delay: 80ms; }
  label.im-gh-person:nth-child(4),
  label.im-care-kind:nth-child(4) { animation-delay: 120ms; }
  label.im-gh-person:nth-child(5),
  label.im-care-kind:nth-child(5) { animation-delay: 160ms; }
  label.im-gh-person:nth-child(6),
  label.im-care-kind:nth-child(6) { animation-delay: 200ms; }
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 991px) {
  .im-gh-layout {
    grid-template-columns: 1fr;
    padding: 20px 16px 80px;
    gap: 28px;
  }

  .im-gh-rail {
    position: static;
  }

  .im-gh-is-wizard .im-gh-wizard-bar {
    position: sticky;
    bottom: 0;
    z-index: 30;
    margin: 0 -16px -8px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 253, 248, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 -1px 0 var(--im-line);
  }

  .im-gs-choices {
    grid-template-columns: 1fr;
  }

  .im-page-hero {
    padding-block: 6.5rem 3.5rem;
  }

  .im-page-hero h1 {
    font-size: clamp(2rem, 8vw, 2.75rem);
  }

  .im-page-hero .im-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .im-page-hero .im-hero-actions .im-btn {
    width: 100%;
  }

  .im-close-inner .im-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .im-close-inner .im-hero-actions .im-btn {
    width: 100%;
  }

  .im-gh-meter {
    padding: 18px 20px;
  }

  .im-gh-page .im-gs-card {
    padding: 24px 20px 20px;
  }

  .im-emerg-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .im-emerg-dials {
    width: 100%;
  }

  .im-emerg-dial {
    flex: 1;
  }

  .im-gh-timeline,
  .im-gh-trust {
    padding: 56px 0;
  }
}

@media (max-width: 480px) {
  .im-gh-people {
    grid-template-columns: 1fr;
  }

  .im-gh-person {
    min-height: 88px;
    padding: 14px 16px;
  }

  .im-gh-avatar,
  .im-gh-avatar img {
    width: 56px;
    height: 56px;
  }

  .im-gh-avatar {
    flex: 0 0 56px;
  }

  .im-gh-person-meta strong {
    font-size: 1rem;
  }

  .im-gh-chips {
    gap: 8px;
  }

  .im-gh-chip {
    padding: 8px 14px;
    font-size: 0.82rem;
  }

  .im-gs-card--review {
    padding: 20px 16px 16px;
  }

  .im-gh-review-trust {
    grid-template-columns: 1fr;
  }

  .im-gh-review-trust-item {
    justify-content: center;
  }
}

/* ================================================================
   REDUCED MOTION
   ================================================================ */
@media (prefers-reduced-motion: reduce) {
  .im-gh-is-wizard .im-gh-pane.is-active,
  label.im-gh-person,
  label.im-care-kind,
  .im-hero-wash,
  .im-hero-rings span,
  .im-ribbon-track,
  .im-reveal {
    animation: none;
    transition: none;
    transform: none;
  }

  .im-gh-is-wizard .im-gh-pane.is-active {
    opacity: 1;
  }

  .im-reveal {
    opacity: 1;
    transform: none;
  }
}

/* ================================================================
   ACCESSIBILITY
   ================================================================ */
@media (prefers-contrast: high) {
  .im-gh-person,
  .im-gs-card,
  .im-gh-rail-card,
  .im-choice--card,
  .im-gh-chip {
    border-width: 3px;
  }

  .im-gh-person.is-selected {
    border-width: 4px;
  }
}

:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
  border-radius: 4px;
}

.im-gh-person:focus-within {
  border-color: var(--im-navy);
  box-shadow: 0 0 0 4px rgba(32, 64, 136, 0.12);
}

.im-choice--card:focus-within {
  border-color: var(--im-navy);
  box-shadow: 0 0 0 4px rgba(32, 64, 136, 0.12);
}

.im-gh-chip:focus-within {
  border-color: var(--im-navy);
  box-shadow: 0 0 0 3px rgba(32, 64, 136, 0.08);
}

/* Print */
@media print {
  .im-nav, .im-ab-scroll-hint, .im-ab-hero-media,
  .im-ab-rings, .im-ab-hero-grain, .im-progress,
  .im-emerg, .im-ribbon, .im-gh-timeline,
  .im-gh-trust, .im-close { display: none !important; }
  body { color: #000; background: #fff; }
  .im-gs-card { break-inside: avoid; }
}

/* Light-hero ghost button (navy text + border on ivory) */
.im-btn-ghost--light {
  color: var(--im-navy) !important;
  border-color: var(--im-champagne) !important;
  background: transparent !important;
}
.im-btn-ghost--light:hover,
.im-btn-ghost--light:focus {
  background: var(--im-ivory) !important;
  color: var(--im-navy) !important;
  border-color: var(--im-navy) !important;
}

/* Hero pills — light background variant */
.im-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.im-hero-pills li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--im-navy);
  padding: 6px 12px;
  background: rgba(32, 64, 136, 0.06);
  border: 1px solid rgba(32, 64, 136, 0.10);
  border-radius: 999px;
}

.im-hero-pills li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--im-champagne);
  flex-shrink: 0;
}

/* ================================================================
   GET SUPPORT — merge pre-b13ba9f brand panel + v7.5 luxury cards
   Missing .im-gs-* rules were dropped from custom.css; this is the home.
   ================================================================ */
body.im-gs-page {
  background: var(--ivory);
  color: var(--ink);
}

body.im-gs-page p {
  max-width: none;
}

body.im-gs-page .im-page-hero .im-lede,
body.im-gs-page .im-gs-lead,
body.im-gs-page .im-close-inner > p {
  max-width: 56ch;
}

body.im-gs-page .im-page-hero .im-ab-hero-note {
  color: var(--ink-light);
  font-size: 0.9rem;
  line-height: 1.55;
}

body.im-gs-page .im-page-hero .im-btn-ghost,
body.im-gs-page .im-page-hero .im-btn-ghost--light {
  color: var(--im-navy) !important;
  border-color: var(--im-champagne) !important;
  background: transparent !important;
}

body.im-gs-page .im-page-hero .im-btn-ghost:hover,
body.im-gs-page .im-page-hero .im-btn-ghost:focus-visible,
body.im-gs-page .im-page-hero .im-btn-ghost--light:hover,
body.im-gs-page .im-page-hero .im-btn-ghost--light:focus-visible {
  background: rgba(32, 64, 136, 0.06) !important;
  border-color: var(--im-navy) !important;
  color: var(--im-navy) !important;
}

body.im-gs-page .im-close .im-btn-ghost {
  color: var(--white) !important;
  border-color: rgba(255, 255, 255, 0.38) !important;
  background: transparent !important;
}

body.im-gs-page .im-close .im-btn-ghost:hover,
body.im-gs-page .im-close .im-btn-ghost:focus-visible {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.7) !important;
  color: var(--white) !important;
}

body.im-gs-page .im-kicker {
  color: var(--sky-dark);
}

.im-gs-main {
  overflow-x: clip;
}

.im-gs {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 56px 0 80px;
  background:
    radial-gradient(920px 380px at 8% -8%, rgba(32, 64, 136, 0.09), transparent 58%),
    radial-gradient(760px 320px at 100% 0%, rgba(197, 165, 114, 0.18), transparent 52%),
    var(--ivory);
}

.im-gs::before,
.im-gs::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.im-gs::before {
  width: 240px;
  height: 240px;
  right: -36px;
  top: 24px;
  opacity: 0.06;
  background:
    linear-gradient(var(--im-navy), var(--im-navy)) center / 22px 92px no-repeat,
    linear-gradient(var(--im-navy), var(--im-navy)) center / 92px 22px no-repeat;
}

.im-gs::after {
  width: 180px;
  height: 180px;
  left: -48px;
  bottom: 48px;
  opacity: 0.05;
  background:
    linear-gradient(var(--im-champagne), var(--im-champagne)) center / 18px 72px no-repeat,
    linear-gradient(var(--im-champagne), var(--im-champagne)) center / 72px 18px no-repeat;
}

.im-gs-board {
  position: relative;
  z-index: 1;
  width: min(1200px, 92vw);
  margin-inline: auto;
}

.im-gs-intro {
  max-width: 42rem;
  margin: 0 0 36px;
}

.im-gs-kicker {
  margin: 0 0 8px;
  color: var(--gold-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.im-gs-intro h2 {
  margin: 0 0 12px;
  color: var(--im-navy);
  font-size: clamp(1.6rem, 3.4vw, 2.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.im-gs-lead {
  margin: 0;
  color: var(--ink-light);
  font-size: 1.05rem;
  line-height: 1.65;
}

.im-gs-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 36px;
  align-items: start;
}

.im-gs-form-col,
.im-gs-rail-col {
  min-width: 0;
}

#im-gs-form {
  scroll-margin-top: 96px;
}

.im-gs-meter {
  margin: 0 0 22px;
  padding: 20px 22px;
  background: var(--white);
  border: 1px solid var(--im-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.im-gs-meter-copy {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: flex-start;
  gap: 8px 14px;
  margin: 0 0 12px;
  color: var(--im-navy);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.im-gs-meter-name {
  color: var(--im-ink);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

.im-gs-meter-bars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.im-gs-meter-bars li {
  height: 6px;
  border-radius: 999px;
  background: rgba(32, 64, 136, 0.10);
  transition: background var(--dur-base) var(--ease-out), transform var(--dur-fast) ease;
}

.im-gs-meter-bars li.is-done {
  background: var(--im-champagne);
}

.im-gs-meter-bars li.is-current {
  background: var(--im-navy);
  box-shadow: 0 0 0 3px rgba(32, 64, 136, 0.12);
}

.im-gs-card,
.im-gs-done {
  background: var(--white);
  border: 1px solid rgba(197, 165, 114, 0.35);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
}

.im-gs-card {
  padding: 28px 26px 22px;
  margin: 0 0 20px;
}

.im-gs-card--submit {
  padding: 24px 26px 26px;
}

.im-gs-card-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 0 0 22px;
}

.im-gs-card-head h2 {
  margin: 0 0 4px;
  color: var(--im-navy);
  font-size: 1.28rem;
  font-weight: 800;
  line-height: 1.25;
}

.im-gs-card-head p {
  margin: 0;
  color: #5b6573;
  font-size: 0.92rem;
  line-height: 1.5;
}

.im-gs-num {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--im-navy);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 4px 12px rgba(32, 64, 136, 0.25);
}

.im-gs-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 16px;
}

.im-gs-field,
.im-gs-field.im-gs-field--full {
  margin: 0 0 16px;
}

.im-gs-field--full {
  grid-column: 1 / -1;
}

.im-gs label:not(.im-choice):not(.im-care-kind):not(.im-gs-terms),
.im-gs-label {
  display: block;
  font-weight: 700;
  color: var(--im-navy);
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.im-required {
  color: var(--im-navy);
  font-weight: 800;
}

.im-opt {
  color: var(--ink-muted);
  font-weight: 600;
  font-size: 0.85em;
}

.im-gs .form-control,
.im-gs select.form-control,
.im-gs textarea.form-control {
  display: block;
  width: 100%;
  min-height: 56px;
  border-radius: 12px;
  border: 1px solid #d9e0ea;
  padding: 12px 16px;
  font-size: 16px;
  font-family: inherit;
  color: #1a1a1a;
  background: #fff;
  transition: border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
}

.im-gs textarea.form-control,
.im-gs .im-gs-textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.55;
}

.im-gs .form-control:focus {
  outline: none;
  border-color: var(--im-navy);
  box-shadow: 0 0 0 4px rgba(32, 64, 136, 0.12);
}

.im-gs .form-control::placeholder {
  color: #8a93a3;
}

.im-gs-page .im-choice--card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 14px 18px;
  margin: 0;
  border: 2px solid var(--im-line);
  border-radius: var(--radius-md);
  background: var(--white);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  color: var(--im-navy);
  transition: border-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), background var(--dur-base) var(--ease-out);
}

.im-gs-page .im-choice--card input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.im-gs-page .im-choice--card .im-choice-mark {
  display: flex;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--im-line);
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.im-gs-page .im-choice--card .im-choice-mark svg {
  width: 12px;
  height: 12px;
  opacity: 0;
}

.im-gs-page .im-choice--card:hover {
  border-color: rgba(32, 64, 136, 0.35);
}

.im-gs-page .im-choice--card.is-selected,
.im-gs-page .im-choice--card:has(input:checked) {
  border-color: var(--im-navy);
  background: linear-gradient(135deg, rgba(32, 64, 136, 0.05), rgba(245, 248, 253, 0.9));
  box-shadow: 0 0 0 3px rgba(32, 64, 136, 0.08);
}

.im-gs-page .im-choice--card.is-selected .im-choice-mark,
.im-gs-page .im-choice--card:has(input:checked) .im-choice-mark {
  border-color: var(--im-navy);
  background: var(--im-navy);
  color: #fff;
}

.im-gs-page .im-choice--card.is-selected .im-choice-mark svg,
.im-gs-page .im-choice--card:has(input:checked) .im-choice-mark svg {
  opacity: 1;
}

.im-gs-kinds .im-care-kinds legend,
.im-gs-kinds .im-care-kinds-hint {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.im-gs-kinds .im-care-kinds {
  position: relative;
}

.im-gs .im-care-kind i {
  position: static;
  display: inline-block;
  color: inherit;
  font-size: 22px;
}

.im-gs-alert,
.im-gs-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 20px;
  padding: 16px 18px;
  border-radius: 14px;
  line-height: 1.5;
}

.im-gs-alert {
  background: #fdeeee;
  border: 1px solid #f5c2c7;
  color: #5c1a1f;
}

.im-gs-alert p,
.im-gs-note p {
  margin: 0;
  font-weight: 600;
}

.im-gs-note {
  background: #eef3fb;
  border: 1px solid rgba(32, 64, 136, 0.18);
  color: var(--im-navy);
}

.im-gs-note a,
.im-gs-terms a,
.im-gs-text-link,
.im-gs-rail a,
.im-gs-wait a {
  color: var(--im-navy);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.im-gs-terms {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 18px;
  padding: 14px 16px;
  border: 1px solid #e4e8ee;
  border-radius: 12px;
  cursor: pointer;
  color: #3a4654;
  font-weight: 500;
  line-height: 1.5;
  background: var(--ivory);
}

.im-gs-terms .form-check-input {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  margin: 3px 0 0;
  accent-color: var(--im-navy);
}

.im-gs-submit {
  width: 100%;
}

.im-gs-submit:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.im-gs-submit-hint {
  margin: 14px 0 0;
  text-align: center;
  color: #5b6573;
  font-size: 0.9rem;
  line-height: 1.5;
}

.im-gs-done {
  padding: 44px 32px 40px;
  text-align: center;
}

.im-gs-done-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: #0B6E4F;
  color: #fff;
  box-shadow: 0 12px 28px rgba(11, 110, 79, 0.28);
}

@media (prefers-reduced-motion: no-preference) {
  .im-gs-done-mark {
    animation: im-gs-pop 0.5s var(--ease-spring) both;
  }
}

@keyframes im-gs-pop {
  from { transform: scale(0.55); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.im-gs-done .im-kicker {
  margin-bottom: 8px;
}

.im-gs-done h2 {
  margin: 0 0 12px;
  color: var(--im-navy);
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  font-weight: 800;
}

.im-gs-done > p {
  margin: 0 auto 24px;
  max-width: 38rem;
  color: #3a4654;
  font-size: 1.05rem;
  line-height: 1.6;
}

.im-gs-wait {
  text-align: left;
  margin: 0 auto 28px;
  max-width: 28rem;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(32, 64, 136, 0.05);
  border: 1px solid rgba(32, 64, 136, 0.1);
}

.im-gs-wait-label {
  margin: 0 0 8px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.im-gs-wait ul {
  margin: 0;
  padding: 0 0 0 1.1rem;
  list-style: disc;
  color: #3a4654;
}

.im-gs-wait li {
  margin: 0 0 6px;
  font-size: 0.92rem;
  line-height: 1.45;
}

.im-gs-done-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

.im-gs-text-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.im-gs-rail {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.im-gs-rail-brand {
  padding: 24px 22px;
  border-radius: 20px;
  background:
    linear-gradient(165deg, rgba(24, 48, 102, 0.94) 0%, rgba(16, 32, 72, 0.96) 100%);
  color: var(--ivory);
  box-shadow: var(--shadow-lg);
}

.im-gs-rail-logo {
  width: min(200px, 80%);
  height: auto;
  background: var(--ivory);
  padding: 10px 14px;
  border-radius: 12px;
  margin-bottom: 18px;
}

.im-gs-rail-brand-kicker {
  margin: 0 0 8px;
  color: #e4d0a8;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.im-gs-rail-brand h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.3;
}

.im-gs-rail-points {
  margin: 0;
  padding: 0;
  list-style: none;
}

.im-gs-rail-points li {
  position: relative;
  margin: 0 0 10px;
  padding-left: 26px;
  color: rgba(253, 252, 248, 0.92);
  font-size: 0.92rem;
  line-height: 1.45;
}

.im-gs-rail-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4em;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--im-champagne);
  border-bottom: 2px solid var(--im-champagne);
  transform: rotate(-45deg);
}

.im-gs-rail-photo {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  min-height: 180px;
  box-shadow: var(--shadow-card);
}

.im-gs-rail-photo img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.im-gs-rail-photo figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 18px;
  background: linear-gradient(180deg, transparent, rgba(24, 48, 102, 0.9));
  color: var(--ivory);
  font-weight: 700;
  font-size: 0.95rem;
}

.im-gs-rail-card {
  padding: 24px 22px;
  background: var(--white);
  border: 1px solid rgba(197, 165, 114, 0.35);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
}

.im-gs-rail-card .im-kicker {
  margin-bottom: 8px;
}

.im-gs-rail-card h2 {
  margin: 0 0 16px;
  color: var(--im-navy);
  font-size: 1.12rem;
  font-weight: 800;
}

.im-gs-steps {
  list-style: none;
  margin: 0;
  padding: 0;
}

.im-gs-steps li {
  position: relative;
  display: flex;
  gap: 14px;
  padding: 0 0 22px;
}

.im-gs-steps li:last-child {
  padding-bottom: 0;
}

.im-gs-steps li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 48px;
  bottom: 0;
  width: 2px;
  background: rgba(197, 165, 114, 0.55);
}

.im-gs-step-icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(197, 165, 114, 0.45);
  background: rgba(32, 64, 136, 0.08);
  color: var(--im-navy);
  font-size: 20px;
}

.im-gs-steps li:nth-child(2) .im-gs-step-icon {
  background: rgba(48, 192, 232, 0.16);
  color: #157a96;
}

.im-gs-steps li:nth-child(3) .im-gs-step-icon {
  background: rgba(197, 165, 114, 0.22);
  color: #8a6d3b;
}

.im-gs-steps strong {
  display: block;
  color: var(--im-navy);
  font-size: 0.98rem;
  margin-bottom: 2px;
}

.im-gs-steps span:not(.im-gs-step-icon) {
  display: block;
  color: #5b6573;
  font-size: 0.88rem;
  line-height: 1.45;
}

.im-gs-page .im-hero-call p,
.im-gs-page .im-hero-call a {
  max-width: none;
}

.im-gs-page .im-hero-call a[href^="tel:+91"] {
  color: var(--im-navy);
}

@media (max-width: 991px) {
  .im-gs-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .im-gs-rail {
    position: static;
  }

  .im-gs-card {
    padding: 22px 18px 16px;
  }

  .im-gs-fields {
    grid-template-columns: 1fr;
  }

  .im-gs-page .im-page-hero .im-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .im-gs-page .im-page-hero .im-hero-actions .im-btn {
    width: 100%;
  }

  .im-gs-card--submit {
    position: sticky;
    bottom: 0;
    z-index: 20;
    margin-bottom: 0;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -8px 28px rgba(32, 64, 136, 0.12);
    padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .im-gs-done-mark {
    animation: none;
  }
}

@media (prefers-contrast: high) {
  .im-gs-card,
  .im-gs-rail-card,
  .im-gs-page .im-choice--card,
  .im-care-kind {
    border-width: 2px;
  }
}

