/* Native CSS 3D: no WebGL runtime, models, video or third-party tracking. */
.brand-sculpture {
  transition: transform 1.1s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.spatial-scene[data-stage="1"] .brand-sculpture {
  transform: translate(-50%, -50%) translateZ(-240px) rotateX(32deg)
    rotateY(-8deg) rotateZ(8deg);
}
.spatial-scene[data-stage="2"] .brand-sculpture {
  transform: translate(-50%, -50%) translateZ(-240px) rotateX(12deg)
    rotateY(25deg) rotateZ(32deg);
}
@media (prefers-reduced-motion: reduce) {
  .spatial-scene .brand-sculpture {
    transition: none;
    transform: translate(-50%, -50%) translateZ(-240px) rotateZ(-28deg);
  }
}
.hero {
  background:
    radial-gradient(ellipse at 76% 35%, #49305b 0, transparent 48%), #211728;
  overflow: clip;
}
.hero-orbit {
  display: none;
}
.hero-grid {
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 24px;
  padding: 74px 0 42px;
  min-height: 730px;
}
.hero-copy {
  position: relative;
  z-index: 2;
}
.hero-copy h1 {
  font-size: clamp(75px, 8.3vw, 132px);
}
.hero-description {
  max-width: 350px;
}
.spatial-wrap {
  position: relative;
  min-width: 0;
  padding: 0;
}
.spatial-scene {
  position: relative;
  height: 530px;
  perspective: 1400px;
  isolation: isolate;
  --rx: 0deg;
  --ry: 0deg;
  --assemble: 0;
}
.spatial-world {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 0.18s ease-out;
}
.spatial-light {
  position: absolute;
  inset: 14% -10% 0;
  background: radial-gradient(ellipse, #b69adc27, transparent 65%);
  filter: blur(25px);
  pointer-events: none;
}
.brand-sculpture {
  position: absolute;
  width: 390px;
  height: 390px;
  left: 50%;
  top: 44%;
  transform: translate(-50%, -50%) translateZ(-240px) rotateX(16deg)
    rotateY(-20deg) rotateZ(-28deg);
  transform-style: preserve-3d;
  pointer-events: none;
}
.sculpture-ring {
  position: absolute;
  inset: 0;
  border: 46px solid #ccb2df;
  border-radius: 50%;
  background: transparent;
  box-shadow:
    inset 5px 5px 8px #fceeffc9,
    inset -10px -12px 16px #553364,
    8px 12px 0 #735484,
    14px 22px 0 #52375f,
    20px 34px 35px #10081766;
  transform: rotateY(38deg);
}
.ring-two {
  inset: 65px -20px 65px -20px;
  border-width: 30px;
  border-color: #e3f291;
  transform: rotateX(72deg) rotateY(-22deg) translateZ(30px);
  box-shadow:
    inset 4px 5px 8px #faffd5,
    inset -7px -8px 10px #789043,
    5px 10px 0 #92a74c,
    8px 16px 0 #60752e,
    10px 25px 30px #10081755;
}
.sculpture-pearl {
  position: absolute;
  right: -12px;
  top: 16px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 28% 24%,
    #fff,
    #e5f2ad 26%,
    #adbd6d 60%,
    #526138
  );
  box-shadow: 10px 25px 30px #0d071733;
  transform: translateZ(95px);
}
.space-card {
  position: absolute;
  width: 290px;
  min-height: 335px;
  padding: 24px;
  border-radius: 18px;
  background: linear-gradient(135deg, #fffef9, #eee8e2);
  color: #302436;
  border: 1px solid #ffffffbb;
  box-shadow:
    1px 1px 0 #ffffff,
    2px 3px 0 #cbc1cf,
    4px 6px 0 #998b9f,
    12px 22px 42px #10071955;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  transition:
    transform 0.85s cubic-bezier(0.2, 0.7, 0.2, 1),
    opacity 0.65s,
    filter 0.65s;
  will-change: transform;
}
.space-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #76677e;
}
.space-icon {
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0;
}
.space-card h2 {
  font: 46px/0.98 var(--serif);
  letter-spacing: -1.5px;
  margin: 20px 0;
}
.space-service {
  font-size: 13px;
  font-weight: 600;
}
.space-service > span {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: #76677e;
  margin-top: 6px;
}
.space-time {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  background: #e6eed1;
  border: 1px solid #d1deae;
  padding: 14px;
  border-radius: 10px;
  font-size: 11px;
}
.space-time strong {
  font-size: 20px;
  margin-left: auto;
}
.space-time b {
  font-weight: 400;
}
.space-card-foot {
  font-size: 10px;
  color: #76677e;
  line-height: 1.5;
  border-top: 1px solid #d8cfdc;
  padding-top: 12px;
}
.space-booking {
  left: 3%;
  top: 55px;
  transform: translateZ(80px) rotateY(-16deg) rotateZ(-8deg);
  z-index: 3;
}
.space-agenda {
  right: -1%;
  top: 115px;
  transform: translateZ(-40px) rotateY(-18deg) rotateZ(9deg) scale(0.83);
  z-index: 2;
  opacity: 0.7;
  filter: brightness(0.82);
}
.space-payment {
  left: 30%;
  top: 200px;
  transform: translateZ(-130px) rotateX(8deg) rotateZ(18deg) scale(0.65);
  z-index: 1;
  opacity: 0.35;
  filter: brightness(0.7);
}
.space-agenda-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  border-top: 1px solid #dfd6e3;
  padding: 13px 0;
}
.space-agenda-row time {
  font-size: 10px;
  color: #74647d;
}
.space-agenda-row small {
  display: block;
  font-size: 10px;
  margin-top: 4px;
  color: #74647d;
}
.space-new {
  background: #e4d9f0;
  margin: 0 -10px;
  padding: 13px 10px;
  border-radius: 8px;
  border: 1px solid #cdb8e0;
}
.space-new b {
  margin-left: auto;
  color: #725187;
}
.space-totals {
  display: flex;
  gap: 25px;
  margin-top: 20px;
  font-size: 9px;
  color: #74647d;
}
.space-totals strong {
  display: block;
  font-size: 24px;
  font-weight: 500;
  color: #302436;
  margin-top: 6px;
}
.space-totals strong span {
  font-size: 9px;
  display: block;
  margin-top: 2px;
  color: #74647d;
}
.space-payment {
  background: linear-gradient(130deg, #eff8c4, #d6e497);
  border-color: #f2ffd0;
}
.space-payment .space-card-foot {
  border-color: #acbd73;
  color: #526033;
}
.space-paid-mark {
  width: 40px;
  height: 40px;
  border: 1px solid #92a65b;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-top: 18px;
  color: #526033;
}
.space-payment h2 {
  font-size: 40px;
  margin: 15px 0;
}
.space-amount {
  font-size: 47px;
  letter-spacing: -2px;
  margin: 18px 0;
}
.space-amount span {
  font-size: 27px;
}
.spatial-scene[data-stage="1"] .space-booking {
  transform: translate(-15px, -10px) translateZ(-60px) rotateY(12deg)
    rotateZ(-14deg) scale(0.76);
  opacity: 0.5;
  filter: brightness(0.8);
  z-index: 1;
}
.spatial-scene[data-stage="1"] .space-agenda {
  transform: translate(-48px, -35px) translateZ(100px) rotateY(-8deg)
    rotateZ(2deg);
  opacity: 1;
  filter: none;
  z-index: 3;
}
.spatial-scene[data-stage="1"] .space-payment {
  transform: translate(-10px, 5px) translateZ(-60px) rotateZ(12deg) scale(0.76);
  opacity: 0.55;
  z-index: 2;
}
.spatial-scene[data-stage="2"] .space-booking {
  transform: translate(-12px, -15px) translateZ(-120px) rotateZ(-18deg)
    scale(0.7);
  opacity: 0.35;
  filter: brightness(0.7);
  z-index: 1;
}
.spatial-scene[data-stage="2"] .space-agenda {
  transform: translate(10px, -30px) translateZ(-70px) rotateZ(13deg) scale(0.75);
  opacity: 0.55;
  filter: brightness(0.8);
  z-index: 2;
}
.spatial-scene[data-stage="2"] .space-payment {
  transform: translate(-25px, -115px) translateZ(120px) rotateY(-10deg)
    rotateZ(-4deg);
  opacity: 1;
  filter: none;
  z-index: 3;
}
.space-path {
  position: absolute;
  bottom: 36px;
  left: 18%;
  right: 18%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #d8c9ef66, transparent);
  display: flex;
  justify-content: space-between;
}
.space-path span {
  width: 7px;
  height: 7px;
  border: 1px solid #b4a2c3;
  border-radius: 50%;
  transform: translateY(-3px);
}
.space-path span:first-child {
  background: var(--lime);
  box-shadow: 0 0 20px #e3f291;
}
.spatial-scene[data-stage="1"] .space-path span:nth-child(2),
.spatial-scene[data-stage="2"] .space-path span:nth-child(3) {
  background: var(--lime);
  box-shadow: 0 0 20px #e3f291;
}
.spatial-caption {
  text-align: center;
  min-height: 46px;
  margin-top: -12px;
  position: relative;
}
.spatial-caption strong {
  font-size: 14px;
  font-weight: 500;
  display: block;
}
.spatial-caption > span {
  font-size: 11px;
  color: #c1b0ce;
  display: block;
  margin-top: 6px;
}
.spatial-wrap .scene-controls {
  justify-content: center;
  margin-top: 20px;
}
.spatial-wrap .scene-steps {
  flex: none;
}
.spatial-wrap .scene-steps button {
  font-size: 12px;
  padding: 10px 15px;
}
.spatial-wrap .scene-note {
  text-align: center;
  font-size: 10px;
}
.spatial-wrap .scene-overline {
  font-size: 9px;
  letter-spacing: 1px;
}
@media (min-width: 1500px) {
  .spatial-scene {
    height: 580px;
  }
  .space-card {
    width: 320px;
    padding: 28px;
  }
  .space-card h2 {
    font-size: 50px;
  }
  .space-booking {
    left: 8%;
    top: 70px;
  }
  .space-agenda {
    right: 3%;
    top: 140px;
  }
  .brand-sculpture {
    width: 450px;
    height: 450px;
  }
}
@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-copy h1 {
    font-size: 82px;
  }
  .space-card {
    width: 255px;
    padding: 20px;
  }
  .space-card h2 {
    font-size: 40px;
  }
  .space-booking {
    left: 0;
  }
  .space-agenda {
    right: -2%;
  }
  .brand-sculpture {
    width: 320px;
    height: 320px;
  }
  .spatial-wrap .scene-steps button {
    padding: 10px;
  }
  .spatial-wrap .scene-overline > span:last-child {
    display: none;
  }
}
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    padding: 50px 0 30px;
    gap: 40px;
  }
  .hero-copy {
    max-width: 650px;
  }
  .hero-copy h1 {
    font-size: clamp(72px, 12vw, 110px);
  }
  .spatial-wrap {
    width: 100%;
    max-width: 650px;
    margin: auto;
  }
  .spatial-scene {
    height: 510px;
  }
  .space-card {
    width: 290px;
    padding: 24px;
  }
  .space-booking {
    left: 10%;
  }
  .space-agenda {
    right: 6%;
  }
  .brand-sculpture {
    width: 380px;
    height: 380px;
  }
  .hero-description {
    max-width: none;
  }
  .spatial-wrap .scene-overline > span:last-child {
    display: block;
  }
}
@media (max-width: 540px) {
  .hero-grid {
    padding-top: 40px;
    gap: 36px;
  }
  .hero-copy h1 {
    font-size: clamp(63px, 16vw, 86px);
    margin-bottom: 24px;
  }
  .hero-sub {
    font-size: 17px;
  }
  .hero-description {
    font-size: 13px;
  }
  .spatial-scene {
    height: 390px;
    perspective: 1100px;
  }
  .space-card {
    width: 235px;
    min-height: 290px;
    padding: 18px;
    border-radius: 14px;
  }
  .space-card h2 {
    font-size: 36px;
    margin: 16px 0;
  }
  .space-booking {
    left: 5%;
    top: 30px;
    transform: translateZ(20px) rotateY(-8deg) rotateZ(-5deg);
  }
  .space-agenda {
    right: -5%;
    top: 65px;
    transform: translateZ(-80px) rotateZ(8deg) scale(0.7);
  }
  .space-payment {
    left: 30%;
    top: 120px;
    transform: translateZ(-120px) rotateZ(15deg) scale(0.6);
  }
  .brand-sculpture {
    width: 270px;
    height: 270px;
    top: 45%;
  }
  .sculpture-ring {
    border-width: 33px;
  }
  .ring-two {
    border-width: 22px;
    inset: 48px -10px;
  }
  .sculpture-pearl {
    width: 43px;
    height: 43px;
  }
  .space-card-top {
    font-size: 8px;
    letter-spacing: 0.5px;
  }
  .space-service {
    font-size: 12px;
  }
  .space-time {
    margin: 16px 0;
    padding: 11px;
  }
  .space-card-foot {
    font-size: 9px;
  }
  .space-totals {
    margin-top: 13px;
  }
  .space-paid-mark {
    width: 32px;
    height: 32px;
    margin-top: 12px;
  }
  .space-payment h2 {
    font-size: 35px;
  }
  .space-amount {
    font-size: 40px;
    margin: 12px 0;
  }
  .spatial-scene[data-stage="1"] .space-agenda {
    transform: translate(-20px, -20px) translateZ(30px) rotateZ(2deg);
  }
  .spatial-scene[data-stage="2"] .space-payment {
    transform: translate(-35px, -85px) translateZ(40px) rotateZ(-3deg);
  }
  .spatial-wrap .scene-overline {
    font-size: 8px;
  }
  .spatial-wrap .scene-overline > span:last-child {
    display: none;
  }
  .spatial-caption {
    margin-top: 0;
  }
  .spatial-caption strong {
    font-size: 13px;
  }
  .spatial-wrap .scene-steps button {
    font-size: 11px;
    padding: 10px 12px;
  }
  .space-path {
    bottom: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .spatial-world,
  .space-card {
    transition: none !important;
    will-change: auto;
  }
  .spatial-world {
    transform: none !important;
  }
  .brand-sculpture {
    transform: translate(-50%, -50%) translateZ(-240px) rotateZ(-28deg);
  }
}
