.visit-guide {
  padding-block: clamp(1.75rem, 4vw, 4rem);
}
.guide-frame {
  border: 1px solid #b7cec6;
  border-radius: 1.25rem;
  background: #fff;
}
.guide-journey, .guide-before {
  --inset: clamp(1.25rem, 3vw, 3.1rem);
  scroll-margin-top: 5.5rem;
}
.guide-journey {
  display: grid;
  grid-template-columns: minmax(0, 1.07fr) minmax(0, .93fr);
  grid-template-areas: "title image" "process image";
  grid-template-rows: auto 1fr;
}
.guide-title {grid-area: title; padding: var(--inset) var(--inset) 0;}
.guide-title .eyebrow {margin: 0 0 .7rem;}
.guide-title h2, .guide-before h2 {
  color: #1e3439;
  font-size: clamp(2rem, 3.2vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.guide-title h2 em {
  font-family: var(--serif);
  font-weight: 400;
  color: #176b60;
}
.guide-image {
  grid-area: image;
  position: relative;
  min-width: 0;
  min-height: 0;
  background: #e3eee8;
  border-top-right-radius: calc(1.25rem - 1px);
  overflow: hidden;
}
.guide-image img {width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover;}
.guide-process {grid-area: process; padding: 1.6rem var(--inset) var(--inset);}
.guide-timeline {list-style: none; margin: 0; padding: 0;}
.guide-timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: .9rem;
  padding-block-end: 1.2rem;
}
.guide-timeline li:last-child {padding-bottom: 0;}
.guide-timeline li:not(:last-child)::before {
  content: ""; position: absolute; left: calc(1rem - .5px); top: 2rem; bottom: 0;
  border-inline-start: 1px solid #9ebeb1;
}
.guide-number {
  display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%;
  background: #dcefe7; color: #154f46; font-weight: 700; font-variant-numeric: tabular-nums;
}
.guide-timeline h3, .guide-payment h3 {
  margin: .15rem 0 .3rem; font-size: 1.15rem; letter-spacing: -.025em; line-height: 1.3;
}
.guide-timeline h3 a, .guide-contact a, .guide-terms {color: #075e54; text-underline-offset: .2em;}
.guide-timeline p, .guide-payment p, .guide-policies p {max-width: 57ch; line-height: 1.55;}
.guide-contact {margin: 1.15rem 0 0 2.9rem; font-size: .9rem;}
.guide-contact span {margin-inline: .25rem;}
.guide-before {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(1.5rem, 5vw, 5.25rem);
  padding: var(--inset);
  background: #edf5f0;
  border-radius: inherit;
}
.guide-journey + .guide-before {border-radius: 0 0 1.25rem 1.25rem; border-top: 1px solid #b7cec6;}
.guide-before h2 {font-size: clamp(1.95rem, 2.9vw, 2.75rem);}
.guide-payment {
  max-width: 30rem; margin-top: 1.2rem; padding: .1rem 0 .1rem 1rem;
  border-left: 3px solid #528a78;
}
.guide-payment h3 {display: flex; align-items: center; gap: .55rem;}
.guide-payment h3 .icon {color: #176354; width: 1.25rem; height: 1.25rem;}
.guide-payment p {margin-top: .45rem; color: #354d4b;}
.guide-payment strong {color: #253e3c;}
.guide-policies {min-width: 0;}
.guide-policies details {border-top: 1px solid #adc6ba;}
.guide-policies details:last-of-type {border-bottom: 1px solid #adc6ba;}
.guide-policies summary {
  list-style: none; cursor: pointer; display: grid;
  grid-template-columns: minmax(0,1fr) auto auto; align-items: center;
  gap: .55rem; min-height: 3.15rem; padding: .75rem .35rem;
  font-size: 1rem; font-weight: 680; color: #233b38; line-height: 1.4;
}
.guide-policies summary::-webkit-details-marker {display: none;}
.guide-policies summary:hover {background: #deede4;}
.guide-policies summary .icon {grid-column: 3; width: 1.1rem; height: 1.1rem; color: #226b59;}
.guide-policies details[open] summary .icon {transform: rotate(180deg);}
.guide-period {color: #305f52; font-size: .875rem; line-height: 1.4; font-weight: 600;}
.guide-policies details p {margin: 0 .35rem .95rem; color: #354d4b;}
.guide-terms {display: inline-block; margin-top: 1rem; padding-block: .25rem; font-weight: 650;}
@media (max-width: 48rem) {
  .guide-journey {grid-template-columns: minmax(0,1fr); grid-template-areas: "title" "image" "process";}
  .guide-title {padding-bottom: 1rem;}
  .guide-image {margin-inline: var(--inset); aspect-ratio: 2 / 1; border-radius: .65rem;}
  .guide-before {grid-template-columns: minmax(0,1fr); gap: 1.4rem;}
  .guide-payment {max-width: 58ch; margin-top: 1rem;}
  .guide-process {padding-top: 1.25rem;}
}
@media (max-width: 32rem) {
  .guide-policies summary {grid-template-columns: minmax(0,1fr) auto; column-gap: .5rem; row-gap: .1rem;}
  .guide-period {grid-column: 1; grid-row: 2;}
  .guide-policies summary .icon {grid-column: 2; grid-row: 1 / span 2;}
  .guide-contact {margin-left: 0;}
}
@media print {
  .guide-frame {border: 0;}
  .guide-image, .guide-contact, .guide-terms {display: none;}
  .guide-journey, .guide-before {display: block;}
  .guide-policies details::details-content {display: block; content-visibility: visible;}
}
.guide-office {max-width: 30rem; margin: 1.4rem 0 0;}
.guide-office img {width: 100%; border-radius: .65rem;}
.guide-office figcaption {margin-top: .4rem; font-size: .9rem; color: #38524c;}
html.contrast .guide-before, html.contrast .guide-number {background: #fff;}
html.contrast :is(.guide-frame, .guide-before, .guide-policies details, .guide-payment) {border-color: #435950;}
html.contrast .guide-number {outline: 1px solid #435950;}
html.contrast .visit-guide :is(p, h2, h3, strong, summary, .guide-period) {color: #101820;}
html[data-page=""] .guide-image img {object-position: 50% 34%;}
