/* The 360 tour as a section of its own.
   It used to be a small link inside service card 03 and visitors walked past
   it. This gives it a stage on the front page, high enough that nobody has to
   go looking. Loaded last, so it may lean on the tokens in style.css. */

.tour-feature {
  padding-top: 118px;
  padding-bottom: 60px;
  background: radial-gradient(ellipse at 20% 30%, #36636b33, transparent 58%);
}

.tour-head {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 80px;
  align-items: end;
  margin: 22px 0 42px;
}

.tour-head h2 { margin-top: 0; }
.tour-head .muted { max-width: 430px; }

/* the stage */

.tour-stage {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px 14px 0 0;
  aspect-ratio: 16 / 9;
  background: #0a2129;
}

.tour-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.01);
  transition: transform 1.2s cubic-bezier(.2, .7, .2, 1);
}

.tour-stage:hover img,
.tour-stage:focus-visible img { transform: scale(1.045); }

.tour-veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 50%, #02161c66, transparent 62%),
    linear-gradient(180deg, #02161c4d, transparent 32%, #021a21b3);
  pointer-events: none;
}

.tour-badge {
  position: absolute;
  left: 22px;
  top: 20px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 10px;
  letter-spacing: 2px;
  color: #d7e5e2;
  background: #04212799;
  border: 1px solid #ffffff2e;
  padding: 8px 13px;
  border-radius: 3px;
  backdrop-filter: blur(4px);
}

.tour-badge i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 12px var(--mint);
}

.tour-cta {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  justify-items: center;
  gap: 18px;
  text-align: center;
}

.tour-ring {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 15px;
  letter-spacing: 2px;
  color: var(--mint);
  border: 1px solid #a8d5c6a6;
  background: #042127a6;
  backdrop-filter: blur(4px);
  transition: background .35s, color .35s, transform .35s;
}

.tour-stage:hover .tour-ring,
.tour-stage:focus-visible .tour-ring {
  background: var(--mint);
  color: #07262a;
  transform: scale(1.07);
}

.tour-cta b {
  font-weight: 400;
  font-size: 15px;
  letter-spacing: .5px;
  color: var(--white);
  text-shadow: 0 2px 18px #02161ccc;
}

/* the four viewpoints, as a strip welded to the bottom of the stage */

.tour-points {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 0 0 14px 14px;
  overflow: hidden;
}

.tour-points article {
  background: #08232a;
  padding: 24px 22px 26px;
}

.tour-points span {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--mint);
}

.tour-points h3 {
  font-size: 17px;
  margin-top: 12px;
}

.tour-points p {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  margin-top: 9px;
}

.tour-note {
  font-size: 11px;
  color: var(--muted);
  padding-top: 18px;
}

.tour-note a { color: var(--mint); border-bottom: 1px solid #a8d5c64d; }

@media (max-width: 1050px) {
  .tour-head { grid-template-columns: 1fr; gap: 26px; align-items: start; }
  .tour-head .muted { max-width: none; }
  .tour-points { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .tour-feature { padding-top: 74px; }
  .tour-stage { aspect-ratio: 4 / 3; }
  .tour-ring { width: 74px; height: 74px; font-size: 13px; }
  .tour-cta b { font-size: 13px; }
  .tour-points { grid-template-columns: 1fr; }
  .tour-points article { padding: 18px 18px 20px; }
  .tour-badge { left: 12px; top: 12px; font-size: 9px; padding: 7px 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .tour-stage img, .tour-ring { transition: none; }
  .tour-stage:hover img { transform: scale(1.01); }
}

/* the tour itself, once the visitor has clicked the stage */
.tour-frame {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: 460px;
  border: 1px solid var(--line);
  border-radius: 14px 14px 0 0;
  background: #0a2129;
}

@media (max-width: 760px) {
  .tour-frame { aspect-ratio: 3 / 4; min-height: 420px; }
}

