/* The first-time-patient journey on the Swedish and English homepages. */
.home-journey-panel {
  align-self: start;
  padding: 1.05rem;
  border: 1px solid var(--border, #d0dbe5);
  border-radius: 18px;
  background: rgba(250, 252, 254, 0.92);
  box-shadow: 0 20px 55px rgba(11, 29, 51, 0.08);
}

.home-journey-panel__head { padding: 0.35rem 0.45rem 0.8rem; }
.home-journey-panel__label {
  margin-bottom: 0.35rem;
  color: var(--blue, #2e6b9e);
  font-family: var(--font-mono, monospace);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.home-journey-panel h2 {
  margin: 0;
  color: var(--navy, #0b1d33);
  font-family: var(--font-display, Georgia, serif);
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  font-weight: 400;
}
.home-journey-panel__list { display: grid; gap: 0.55rem; }
.home-journey-choice,
.home-mario-choice {
  display: grid;
  grid-template-columns: 2.2rem 1fr auto;
  gap: 0.75rem;
  align-items: center;
  min-height: 64px;
  padding: 0.72rem 0.8rem;
  color: var(--navy, #0b1d33);
  text-decoration: none;
  border: 1px solid var(--border, #d0dbe5);
  border-radius: 11px;
  background: var(--white, #fafcfe);
  transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
}
.home-journey-choice:hover,
.home-mario-choice:hover {
  border-color: var(--blue, #2e6b9e);
  box-shadow: 0 8px 20px rgba(11, 29, 51, 0.06);
  transform: translateY(-1px);
}
.home-journey-choice__mark,
.home-mario-choice__mark {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  color: var(--blue, #2e6b9e);
  border-radius: 9px;
  background: var(--ice-faint, #edf5fa);
  font-family: var(--font-mono, monospace);
  font-size: 0.72rem;
  font-weight: 600;
}
.home-mario-choice {
  width: 100%;
  margin: 0 0 0.65rem;
  padding: 0.8rem;
  text-align: left;
  font: inherit;
  cursor: pointer;
  color: #fff;
  border-color: var(--navy, #0b1d33);
  background: var(--navy, #0b1d33);
}
.home-mario-choice__mark { color: #fff; background: var(--blue, #2e6b9e); }
.home-journey-choice strong,
.home-mario-choice strong { display: block; font-size: 0.88rem; line-height: 1.3; }
.home-journey-choice small,
.home-mario-choice small {
  display: block;
  margin-top: 0.15rem;
  color: var(--text-mid, #4a5a6a);
  font-size: 0.72rem;
  line-height: 1.4;
}
.home-mario-choice small { color: rgba(255, 255, 255, 0.7); }
.home-journey-choice__arrow { color: var(--blue, #2e6b9e); font-size: 1.15rem; }
.home-mario-choice .home-journey-choice__arrow { color: #fff; }

.home-hero-facts {
  margin: 0.8rem 0 0;
  color: var(--text-light, #7a8a9a);
  font-size: 0.78rem;
  line-height: 1.6;
}

.home-essentials { padding: 4.5rem 0; background: var(--white, #fafcfe); }
.home-essentials__intro { max-width: 680px; margin: 0 auto 2rem; text-align: center; }
.home-essentials__intro h2 {
  margin: 0 0 0.65rem;
  color: var(--navy, #0b1d33);
  font-family: var(--font-display, Georgia, serif);
  font-size: clamp(1.8rem, 4vw, 2.45rem);
  font-weight: 400;
}
.home-essentials__intro p { margin: 0; color: var(--text-mid, #4a5a6a); line-height: 1.7; }
.home-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; margin-bottom: 3.2rem; }
.home-step { padding: 1.15rem; border: 1px solid var(--border, #d0dbe5); border-radius: 12px; background: var(--ice-faint, #edf5fa); }
.home-step__number { color: var(--blue, #2e6b9e); font-family: var(--font-mono, monospace); font-size: 0.68rem; letter-spacing: 0.12em; }
.home-step h3 { margin: 0.55rem 0 0.25rem; color: var(--navy, #0b1d33); font-size: 0.95rem; }
.home-step p { margin: 0; color: var(--text-mid, #4a5a6a); font-size: 0.78rem; line-height: 1.55; }
.home-areas-head { display: flex; justify-content: space-between; gap: 1rem; align-items: end; margin-bottom: 1rem; }
.home-areas-head h2 { margin: 0; color: var(--navy, #0b1d33); font-family: var(--font-display, Georgia, serif); font-size: 1.65rem; font-weight: 400; }
.home-areas-head a { color: var(--blue, #2e6b9e); font-size: 0.78rem; }
.home-area-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem; }
.home-area-card { display: flex; justify-content: space-between; gap: 0.75rem; align-items: center; min-height: 68px; padding: 0.85rem 1rem; color: var(--navy, #0b1d33); text-decoration: none; border: 1px solid var(--border, #d0dbe5); border-radius: 10px; background: var(--white, #fafcfe); font-size: 0.84rem; font-weight: 600; }
.home-area-card:hover { border-color: var(--blue, #2e6b9e); background: var(--ice-faint, #edf5fa); }
.home-area-card span:last-child { color: var(--blue, #2e6b9e); }

.home-guide {
  width: min(640px, calc(100% - 2rem));
  max-height: calc(100dvh - 2rem);
  padding: 0;
  overflow: auto;
  color: var(--text, #1a2a3a);
  border: 1px solid var(--border, #d0dbe5);
  border-radius: 18px;
  background: var(--white, #fafcfe);
  box-shadow: 0 24px 80px rgba(11, 29, 51, 0.3);
}
.home-guide::backdrop { background: rgba(6, 18, 33, 0.66); }
.home-guide__inner { padding: 1.35rem; }
.home-guide__top { display: flex; justify-content: space-between; gap: 1rem; align-items: start; }
.home-guide__mario { display: flex; gap: 0.75rem; align-items: center; }
.home-guide__mark { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; flex: 0 0 auto; border-radius: 10px; color: #fff; background: var(--blue, #2e6b9e); font-weight: 700; }
.home-guide h2 { margin: 0; color: var(--navy, #0b1d33); font-family: var(--font-display, Georgia, serif); font-size: 1.45rem; font-weight: 400; }
.home-guide__close { width: 42px; height: 42px; border: 0; background: transparent; color: var(--navy, #0b1d33); font-size: 1.45rem; cursor: pointer; }
.home-guide__lead { margin: 1rem 0; color: var(--text-mid, #4a5a6a); line-height: 1.65; }
.home-guide__choices { display: grid; gap: 0.55rem; }
.home-guide__choice { width: 100%; min-height: 48px; padding: 0.75rem 0.9rem; text-align: left; color: var(--navy, #0b1d33); border: 1px solid var(--border, #d0dbe5); border-radius: 9px; background: #fff; font: 500 0.84rem/1.35 inherit; cursor: pointer; }
.home-guide__choice:hover { border-color: var(--blue, #2e6b9e); background: var(--ice-faint, #edf5fa); }
.home-guide__privacy { margin: 1rem 0 0; color: var(--text-light, #7a8a9a); font-size: 0.7rem; line-height: 1.5; }
.home-guide__result { padding: 1rem; border-radius: 10px; background: var(--ice-faint, #edf5fa); }
.home-guide__result h3 { margin: 0 0 0.45rem; color: var(--navy, #0b1d33); font-family: var(--font-display, Georgia, serif); font-size: 1.2rem; font-weight: 400; }
.home-guide__result p { margin: 0 0 1rem; color: var(--text-mid, #4a5a6a); font-size: 0.84rem; line-height: 1.6; }
.home-guide__actions { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.home-guide__book { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0.7rem 1.1rem; color: #fff; text-decoration: none; border-radius: 8px; background: var(--navy, #0b1d33); font-weight: 600; }
.home-guide__back { min-height: 44px; padding: 0.65rem 0.85rem; color: var(--blue, #2e6b9e); border: 0; background: transparent; font: 500 0.8rem inherit; cursor: pointer; }

@media (max-width: 900px) {
  .home-steps,
  .home-area-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .hero { padding-top: 4rem !important; }
  .home-essentials { padding: 3.2rem 0; }
  .home-steps,
  .home-area-grid { grid-template-columns: 1fr; }
  .home-areas-head { align-items: start; flex-direction: column; }
  .home-journey-panel { padding: 0.8rem; }
}
