/* Shared base for all 3D / glass booking variants (book-3d-v1 → v20).
   Each variant adds its own aesthetic on top; this provides the boring scaffolding. */

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100vh; overflow-x: hidden; }
body { font-family: 'Inter', -apple-system, system-ui, sans-serif; }

.shell-3d { max-width: 1400px; margin: 0 auto; padding: 32px 40px 120px; position: relative; z-index: 1; }
.bar-3d {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 22px; border-radius: 999px; margin-bottom: 36px;
  backdrop-filter: blur(18px);
}
.brand-3d { font-weight: 600; font-size: 18px; letter-spacing: -0.01em; }
.back-3d { font-size: 12px; text-decoration: none; opacity: 0.75; letter-spacing: 0.04em; }
.back-3d:hover { opacity: 1; }

.step-3d { display: none; }
.step-3d.is-active { display: block; animation: rise-3d 0.7s cubic-bezier(.16,1,.3,1); }
@keyframes rise-3d {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}

.hd-3d { text-align: center; margin-bottom: 48px; }
.hd-3d .lab { font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; opacity: 0.7; margin-bottom: 14px; }
.hd-3d h1 { font-size: clamp(40px, 6vw, 84px); font-weight: 300; letter-spacing: -0.03em; line-height: 0.95; margin: 0; max-width: 14ch; margin: 0 auto; }
.hd-3d h1 em { font-style: italic; font-weight: 500; }
.hd-3d p { font-size: 16px; opacity: 0.7; max-width: 46ch; margin: 22px auto 0; line-height: 1.55; }

/* Default vehicle img */
.car-img-3d {
  display: block; width: 100%; height: auto; object-fit: contain;
  user-select: none; -webkit-user-drag: none;
  filter: drop-shadow(0 18px 36px rgba(0,0,0,0.32));
  transition: transform 0.6s cubic-bezier(.2,.7,.2,1), filter 0.6s;
}

/* Simplified package list (most variants share this) */
.pkgrid-3d { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; }
.pkg-3d {
  background: rgba(255,255,255,0.08); backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.15); border-radius: 24px; padding: 26px;
  cursor: pointer; text-align: left; color: inherit; font-family: inherit;
  display: flex; flex-direction: column; gap: 8px; min-height: 240px; position: relative;
  transition: all 0.35s;
}
.pkg-3d:hover { transform: translateY(-3px); background: rgba(255,255,255,0.12); }
.pkg-3d.is-on { background: rgba(255,255,255,0.95); color: #111; border-color: white; box-shadow: 0 24px 48px -16px rgba(255,255,255,0.5); }
.pkg-3d .pkg-tag { font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; opacity: 0.75; }
.pkg-3d .pkg-name { font-size: 26px; font-weight: 500; letter-spacing: -0.02em; }
.pkg-3d .pkg-hint { font-size: 13px; line-height: 1.5; opacity: 0.7; margin-bottom: auto; }
.pkg-3d .pkg-price { font-size: 34px; font-weight: 500; letter-spacing: -0.02em; }
.pkg-3d .pkg-best { position: absolute; top: -10px; right: 18px; background: #fb923c; color: white; padding: 5px 12px; border-radius: 999px; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; }

/* Add-on chips */
.addons-3d { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.addon-3d {
  display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,0.08); backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.15); border-radius: 18px; padding: 16px 20px;
  cursor: pointer; text-align: left; color: inherit; font-family: inherit; transition: all 0.3s;
}
.addon-3d:hover { background: rgba(255,255,255,0.14); }
.addon-3d.is-on { background: rgba(255,255,255,0.95); color: #111; border-color: white; }
.addon-3d .ck { width: 18px; height: 18px; border: 1px solid rgba(255,255,255,0.3); border-radius: 6px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.addon-3d.is-on .ck { background: #fb923c; border-color: #fb923c; }
.addon-3d.is-on .ck::after { content:''; width: 8px; height: 5px; border-left: 2px solid white; border-bottom: 2px solid white; transform: rotate(-45deg) translate(1px, -1px); }
.addon-3d .n { flex: 1; font-size: 15px; }
.addon-3d .p { font-size: 13px; opacity: 0.7; }

/* Form fields */
.form-3d { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 760px; margin: 0 auto; }
.field-3d { display: flex; flex-direction: column; gap: 6px; }
.field-3d.wide { grid-column: 1 / 3; }
.field-3d label { font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; opacity: 0.7; }
.field-3d input, .field-3d textarea {
  background: rgba(255,255,255,0.08); backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,0.2);
  color: inherit; padding: 14px 18px; border-radius: 14px; outline: none; font-family: inherit; font-size: 16px;
  transition: all 0.3s;
}
.field-3d input:focus, .field-3d textarea:focus { background: rgba(255,255,255,0.16); border-color: white; }
.field-3d textarea { min-height: 90px; resize: vertical; }

/* Step 2 — Package categories */
.pkg-cats { display: flex; flex-direction: column; gap: 32px; }
.pkg-cat-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding-bottom: 10px; margin-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.pkg-cat-name {
  font-family: 'Fraunces', serif; font-size: 26px; font-weight: 500; letter-spacing: -0.01em; margin: 0;
}
.pkg-cat-hint { font-size: 12px; letter-spacing: 0.04em; opacity: 0.6; font-style: italic; }

/* Step 4 — Calendly-style date + slot picker */
.dt-picker {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 22px;
  max-width: 960px; margin: 0 auto;
}
.dt-cal, .dt-slots {
  background: rgba(255,255,255,0.08); backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.18); border-radius: 26px;
  padding: 24px;
}
.dt-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.dt-cal-month { font-family: 'Fraunces', serif; font-size: 22px; font-weight: 500; letter-spacing: -0.01em; }
.dt-cal-nav {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08); color: inherit; cursor: pointer; font-size: 16px;
  font-family: inherit; transition: all 0.2s;
  display: flex; align-items: center; justify-content: center;
}
.dt-cal-nav:hover { background: rgba(255,255,255,0.2); }
.dt-cal-weekdays { display: grid; grid-template-columns: repeat(7,1fr); gap: 4px; margin-bottom: 6px; }
.dt-cal-weekdays span { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.55; text-align: center; padding: 6px 0; }
.dt-cal-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.dt-cal-day {
  aspect-ratio: 1; position: relative;
  background: transparent; border: none; cursor: pointer;
  font-family: inherit; font-size: 14px; font-weight: 500; color: inherit;
  border-radius: 14px; transition: all 0.2s;
}
.dt-cal-day:disabled { opacity: 0.22; cursor: not-allowed; }
.dt-cal-day:hover:not(:disabled):not(.is-on) { background: rgba(255,255,255,0.12); }
.dt-cal-day.is-today { font-weight: 700; }
.dt-cal-day.is-on { background: white; color: #111; box-shadow: 0 8px 18px -8px rgba(0,0,0,0.4); }
.dt-cal-day.is-other-month { opacity: 0.25; }
.dt-avail-dot {
  position: absolute; bottom: 5px; left: 50%; transform: translateX(-50%);
  width: 3px; height: 3px; border-radius: 50%; background: #34c759;
}
.dt-cal-day.is-on .dt-avail-dot { background: #111; }

.dt-slots-head { font-family: 'Fraunces', serif; font-size: 18px; font-weight: 500; margin: 0 0 4px; letter-spacing: -0.01em; }
.dt-slots-sub { font-size: 12px; opacity: 0.6; margin-bottom: 12px; }
.dt-slots-body { display: block; }
.dt-slots-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.dt-slot {
  padding: 14px 10px; border-radius: 14px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.16);
  color: inherit; font-family: inherit; font-size: 14px; font-weight: 600;
  cursor: pointer; transition: all 0.2s;
}
.dt-slot:hover:not(:disabled) { border-color: rgba(255,255,255,0.5); transform: translateY(-1px); }
.dt-slot:disabled { opacity: 0.28; cursor: not-allowed; text-decoration: line-through; }
.dt-slot.is-on { background: white; color: #111; border-color: white; box-shadow: 0 12px 22px -8px rgba(0,0,0,0.4); }
.dt-slots-empty { text-align: center; padding: 60px 20px; opacity: 0.55; font-style: italic; font-size: 14px; }

@media (max-width: 760px) {
  .dt-picker { grid-template-columns: 1fr; }
}

/* Nav */
.nav-3d {
  display: flex; justify-content: space-between; align-items: center; margin-top: 48px;
  padding: 16px 22px; background: rgba(255,255,255,0.08); backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.15); border-radius: 999px;
}
.btn-3d {
  font-family: inherit; font-size: 14px; font-weight: 500; padding: 14px 26px; border-radius: 999px;
  cursor: pointer; background: transparent; border: none; color: inherit; transition: all 0.3s;
}
.btn-3d:hover:not(:disabled) { background: rgba(255,255,255,0.12); }
.btn-3d:disabled { opacity: 0.4; cursor: not-allowed; }
.btn-3d-primary { background: white; color: #111; font-weight: 600; padding: 14px 30px; }
.btn-3d-primary:hover:not(:disabled) { background: rgba(255,255,255,0.85); }
.btn-3d-primary:disabled { background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.4); }
.tot-3d { font-size: 13px; opacity: 0.85; letter-spacing: 0.04em; }
.tot-3d b { font-size: 22px; font-weight: 600; margin-left: 8px; }

@media (max-width: 900px) {
  .shell-3d { padding: 20px 18px 80px; }
  .pkgrid-3d { grid-template-columns: 1fr; }
  .addons-3d { grid-template-columns: 1fr 1fr; }
  .form-3d { grid-template-columns: 1fr; }
  .field-3d.wide { grid-column: 1; }
}
