/* 06. Final visual review: readable labels, aligned icons, consistent banners. */
.popover-close {
  display: grid;
  place-items: center;
  padding: 0;
  line-height: 1;
}
.popover-close svg, .circle-arrow svg { display: block; flex: none; }
.visual-caption .circle-arrow { padding: 0; line-height: 1; }

/* Use the main typeface for small labels: Cyrillic remains clear at this size. */
.eyebrow {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  line-height: 1.6;
}
.hero-copy > .eyebrow { font-size: 13px; color: var(--green); }
.image-label {
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .8px;
  background: #163c31e6;
  border-color: #ffffff75;
}
.visual-caption small { font-family: var(--font); font-size: 12px; font-weight: 500; }
.footer-contact { font-size: 16px; }
.footer-links > a[href^="tel:"] { font-size: 16px; }

/* Share the same width, column gap and height across the four hero visuals. */
.home-hero { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 38px; }
.hero-copy { padding-block: 0; }
.hero-visual { min-height: 540px; }
.page-hero .split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 38px;
  align-items: stretch;
  min-height: 540px;
}
.page-hero .split > div:first-child { align-self: center; }
.page-hero-image, .page-hero-image.medical {
  width: 100%;
  height: 540px;
  min-height: 540px;
  aspect-ratio: auto;
  object-fit: cover;
}
.page-hero-image.medical { object-position: 65% center; }

/* Give the supporting CTA line the full width below its headline and button. */
.cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 40px; }
.cta > div { display: contents; }
.cta h2 { grid-column: 1; grid-row: 1; }
.cta > .button { grid-column: 2; grid-row: 1; }
.cta p { grid-column: 1 / -1; grid-row: 2; max-width: none; margin-top: 0; }

.software-section { padding-block: 80px; }
.software-section h2 { margin-block: 18px 24px; }
.software-section .software-intro { margin-bottom: 40px; }
.software-section .text-link { margin-top: 16px; }
.process-band { margin-top: 0; }
.preparation-steps {
  grid-template-columns: repeat(3, minmax(0, 300px));
  justify-content: space-between;
  gap: 40px;
}
.preparation-steps .step p { max-width: 300px; }

@media (max-width: 1000px) {
  .home-hero, .page-hero .split { grid-template-columns: 1fr; min-height: auto; }
  .hero-visual { min-height: 420px; }
  .page-hero-image, .page-hero-image.medical { min-height: 0; height: 420px; }
  .cta { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }
  .cta > div { display: block; }
  .cta p { margin-top: 18px; }
  .preparation-steps { gap: 26px; }
}
@media (max-width: 760px) {
  .hero-visual { min-height: 380px; }
  .page-hero-image, .page-hero-image.medical { height: 380px; }
  .software-section { padding-block: 56px; }
  .preparation-steps { grid-template-columns: 1fr; gap: 32px; }
  .preparation-steps .step p { max-width: 34ch; }
  .eyebrow, .hero-copy > .eyebrow { font-size: 12px; letter-spacing: .6px; }
  .image-label { font-size: 11px; }
}
@media (max-width: 360px) {
  .hero-visual { min-height: 325px; }
  .page-hero-image, .page-hero-image.medical { height: 325px; }
  .image-label { font-size: 10px; letter-spacing: .3px; }
  .visual-caption small { font-size: 11px; }
}
