.visit-hero-page {
  overflow-x: clip;
  background: #f7fbff;
  color: #071a3b;
}

.visit-hero-page .info-shell {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.visit-hero-page .info-navbar {
  position: absolute;
  z-index: 20;
  top: 24px;
  left: 50%;
  width: min(calc(100% - 48px), 1420px);
  margin: 0;
  transform: translateX(-50%);
  box-shadow: 0 18px 60px rgba(26, 61, 112, 0.1);
}

.visit-hero-page main { margin: 0; }

.visit-hero {
  position: relative;
  width: 100%;
  min-height: 100svh;
  overflow: hidden;
  background: #f7fbff;
}

.visit-hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(249, 252, 255, 0.72) 0%, rgba(249, 252, 255, 0.24) 34%, transparent 52%);
}

.visit-hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.visit-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(calc(100% - 72px), 1320px);
  min-height: 100svh;
  align-items: center;
  margin: 0 auto;
  padding-top: 104px;
}

.visit-hero__copy { width: min(43%, 590px); }

.visit-hero__eyebrow {
  margin: 0 0 24px;
  color: #1e6de9;
  font: 800 13px/1.2 Arial, sans-serif;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.visit-hero h1 {
  max-width: 620px;
  margin: 0;
  color: #071a3b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(56px, 5vw, 82px);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.96;
}

.visit-hero h1 em {
  display: block;
  color: #236fe9;
  font-style: normal;
}

.visit-hero__lead {
  max-width: 520px;
  margin: 28px 0 0;
  color: #526681;
  font-size: 18px;
  line-height: 1.7;
}

.visit-journey {
  position: relative;
  padding: 112px 0 124px;
  background: linear-gradient(180deg, #f7fbff 0%, #edf6ff 100%);
}

.visit-journey__inner {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(0, 2.45fr);
  gap: clamp(52px, 5vw, 88px);
  width: min(calc(100% - 72px), 1480px);
  margin: 0 auto;
}

.visit-journey__intro {
  align-self: start;
  padding-top: 52px;
}

.visit-journey__eyebrow {
  margin: 0 0 24px;
  color: #17345c;
  font: 800 13px/1.2 Arial, sans-serif;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.visit-journey h2 {
  margin: 0;
  color: #071a3b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 4.3vw, 70px);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.visit-journey h2 em {
  display: block;
  color: #236fe9;
  font-style: normal;
}

.visit-journey__intro > p:last-child {
  max-width: 430px;
  margin: 30px 0 0;
  color: #5d6e88;
  font-size: 17px;
  line-height: 1.72;
}

.visit-journey__steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.visit-journey__steps::before {
  content: "";
  position: absolute;
  top: 174px;
  right: 12%;
  left: 12%;
  height: 2px;
  background: linear-gradient(90deg, #5b9cf4 0%, #236fe9 50%, #5b9cf4 100%);
}

.visit-step {
  position: relative;
  min-width: 0;
}

.visit-step:not(:last-child)::after {
  content: "→";
  position: absolute;
  z-index: 3;
  top: 154px;
  right: -25px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 2px solid #236fe9;
  border-radius: 50%;
  background: #f4f9ff;
  color: #236fe9;
  font: 600 22px/1 Arial, sans-serif;
}

.visit-step__visual {
  position: relative;
  z-index: 1;
  display: grid;
  width: 100%;
  aspect-ratio: 1;
  place-items: center;
  overflow: hidden;
  border-radius: 22px;
  background: rgba(221, 237, 255, 0.72);
  box-shadow: 0 24px 54px rgba(28, 75, 137, 0.08);
}

.visit-step__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.visit-step__visual--photo {
  background: #fff;
}

.visit-step__visual--device img,
.visit-step__visual--reward img {
  width: 92%;
  height: 92%;
}

.visit-step__number {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  margin-top: 28px;
  border-radius: 50%;
  background: #deedff;
  color: #236fe9;
  font: 500 27px/1 Georgia, "Times New Roman", serif;
}

.visit-step h3 {
  margin: 18px 0 0;
  color: #071a3b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 2vw, 34px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.visit-step > p {
  margin: 15px 0 0;
  color: #5d6e88;
  font-size: 15px;
  line-height: 1.65;
}

@media (max-width: 1080px) {
  .visit-hero-page .info-navbar { top: 18px; width: calc(100% - 36px); }
  .visit-hero__inner { width: calc(100% - 48px); }
  .visit-hero__copy { width: 49%; }
  .visit-hero h1 { font-size: clamp(50px, 6vw, 68px); }
  .visit-journey__inner { grid-template-columns: 1fr; gap: 54px; width: calc(100% - 48px); }
  .visit-journey__intro { max-width: 720px; padding-top: 0; }
  .visit-journey__intro > p:last-child { max-width: 620px; }
}

@media (max-width: 820px) {
  .visit-hero-page .info-navbar { top: 14px; width: calc(100% - 28px); }
  .visit-hero { display: flex; min-height: 100svh; flex-direction: column; overflow: visible; }
  .visit-hero::after { display: none; }
  .visit-hero__inner { order: 1; width: 100%; min-height: auto; padding: 132px 24px 52px; background: #f8fbff; }
  .visit-hero__copy { width: 100%; max-width: 620px; }
  .visit-hero h1 { font-size: clamp(46px, 10vw, 62px); }
  .visit-hero__lead { max-width: 590px; font-size: 17px; }
  .visit-hero__media { position: relative; order: 2; inset: auto; width: 100%; height: auto; aspect-ratio: 1672 / 941; object-fit: cover; object-position: center; }
  .visit-journey { padding: 82px 0 92px; }
  .visit-journey__inner { width: calc(100% - 32px); }
  .visit-journey__steps { gap: 18px; }
  .visit-journey__steps::before { top: 126px; }
  .visit-step:not(:last-child)::after { top: 109px; right: -19px; width: 36px; height: 36px; font-size: 18px; }
  .visit-step__number { width: 50px; height: 50px; margin-top: 22px; font-size: 23px; }
  .visit-step h3 { font-size: 25px; }
  .visit-step > p { font-size: 14px; }
}

@media (max-width: 560px) {
  .visit-hero__inner { padding: 120px 18px 42px; }
  .visit-hero__eyebrow { font-size: 11px; }
  .visit-hero h1 { font-size: 44px; }
  .visit-hero__lead { line-height: 1.62; }
  .visit-hero__media { object-position: 65% center; }
  .visit-journey { padding: 68px 0 78px; }
  .visit-journey__inner { width: calc(100% - 36px); gap: 44px; }
  .visit-journey__eyebrow { font-size: 11px; }
  .visit-journey h2 { font-size: 43px; }
  .visit-journey__intro > p:last-child { margin-top: 24px; font-size: 16px; }
  .visit-journey__steps { display: flex; flex-direction: column; gap: 52px; }
  .visit-journey__steps::before,
  .visit-step:not(:last-child)::after { display: none; }
  .visit-step__visual { max-width: 360px; margin: 0 auto; }
  .visit-step__number { margin-top: 22px; }
  .visit-step h3 { font-size: 30px; }
  .visit-step > p { max-width: 420px; font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  .visit-hero-page *,
  .visit-hero-page *::before,
  .visit-hero-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
