:root {
  color-scheme: light;
  --page-bg: #eef7ff;
  --paper: #ffffff;
  --shadow: rgba(17, 72, 124, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--page-bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(90deg, rgba(214, 237, 253, 0.9), rgba(255, 255, 255, 0) 18%, rgba(255, 255, 255, 0) 82%, rgba(214, 237, 253, 0.9)),
    var(--page-bg);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
}

.loading-enabled:not(.loader-done) body {
  overflow: hidden;
}

.loader {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: #ffffff;
  opacity: 1;
  visibility: visible;
  transition:
    opacity 360ms ease,
    visibility 360ms ease;
}

.loader__video {
  display: block;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-width: 100vw;
  max-height: 100vh;
  max-height: 100dvh;
  object-fit: contain;
  object-position: center center;
  background: #ffffff;
}

.loader-done .loader {
  opacity: 0;
  visibility: hidden;
}

.lp {
  width: min(100%, 1024px);
  margin: 0 auto;
  background: var(--paper);
  box-shadow: 0 0 44px var(--shadow);
  overflow: hidden;
}

.lp-panel {
  position: relative;
  margin: 0;
  background: var(--paper);
}

.lp-panel::after {
  content: "";
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: -2px;
  left: 0;
  height: 5px;
  background: var(--paper);
  pointer-events: none;
}

.lp-panel + .lp-panel::before {
  content: "";
  position: relative;
  z-index: 1;
  display: block;
  height: clamp(18px, 4vw, 42px);
  margin-top: -2px;
  margin-bottom: -2px;
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 100%);
}

.lp-panel + .lp-panel.lp-panel--tight::before {
  height: 0;
  margin: 0;
}

.lp-panel img {
  display: block;
  width: 100%;
  height: auto;
  background: var(--paper);
}

.lp-panel--solution {
  overflow: hidden;
}

.lp-panel--solution > img {
  width: 106%;
  max-width: none;
  margin-left: -3%;
}

.photo-insert {
  padding: clamp(18px, 4vw, 42px) clamp(24px, 5vw, 66px) clamp(34px, 6vw, 66px);
  background: #ffffff;
}

.photo-insert--pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 3vw, 28px);
  align-items: center;
  padding-top: clamp(20px, 4vw, 44px);
  padding-right: clamp(34px, 7vw, 92px);
  padding-left: clamp(34px, 7vw, 92px);
}

.photo-insert__frame {
  position: relative;
  margin: 0 auto;
  overflow: hidden;
  background: transparent;
  filter: drop-shadow(0 14px 26px rgba(30, 102, 157, 0.13));
}

.photo-insert__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: transparent;
}

.photo-insert__frame--visit {
  width: min(80%, 660px);
  aspect-ratio: 1;
  border-radius: 50%;
}

.photo-insert__frame--visit img {
  object-position: center center;
}

.photo-insert__frame--children {
  width: min(100%, 310px);
  aspect-ratio: 1;
  border-radius: 50%;
}

.photo-insert__frame--children img {
  object-position: 50% 70%;
}

.photo-insert__frame--team {
  width: min(100%, 310px);
  aspect-ratio: 1;
  border-radius: 50%;
}

.photo-insert__frame--team img {
  object-position: center center;
}

.has-hotspot {
  line-height: 0;
}

.hotspot {
  position: absolute;
  z-index: 2;
  display: block;
  border-radius: 999px;
  outline-offset: 4px;
}

.hotspot:focus-visible {
  outline: 3px solid rgba(0, 91, 179, 0.55);
}

.hotspot--cta-wide {
  left: 10%;
  right: 10%;
  bottom: 5.7%;
  height: 8.5%;
}

.hotspot--phone {
  left: 4.5%;
  right: 4.5%;
  top: 45%;
  height: 15.5%;
}

.hotspot--email {
  left: 4.5%;
  right: 4.5%;
  top: 77.5%;
  height: 9.5%;
}

@media (max-width: 480px) {
  body {
    background: var(--paper);
  }

  .lp {
    width: 100%;
    box-shadow: none;
  }

  .lp-panel + .lp-panel::before {
    height: 18px;
  }

  .photo-insert {
    padding: 18px 18px 40px;
  }

  .photo-insert--pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding-right: 18px;
    padding-left: 18px;
  }

  .photo-insert__frame--visit {
    width: min(78%, 340px);
  }

  .photo-insert__frame--children {
    width: min(100%, 156px);
  }

  .photo-insert__frame--team {
    width: min(100%, 156px);
  }
}
