:root {
  --bg: #0e0e10;
  --bg-elev: #161618;
  --bg-card: #1d1d20;
  --bg-card-hover: #25252a;
  --text: #ece9e3;
  --text-muted: #9a958c;
  --accent: #c9a961;
  --accent-hover: #d9b974;
  --accent-soft: rgba(201, 169, 97, 0.12);
  --border: #2a2a2e;
  --border-strong: #3a3a40;
  --success: #4ade80;
  --error: #f87171;
  --warning: #fbbf24;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --radius: 4px;
  --radius-lg: 8px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-weight: 300;
  isolation: isolate;
  position: relative;
}

/* ---------- Half moon background (interactive) ---------- */
.moon-bg {
  position: fixed;
  top: 6vh;
  right: 4vw;
  width: clamp(120px, 14vw, 200px);
  aspect-ratio: 1;
  pointer-events: auto;
  z-index: 5;
  opacity: 0.55;
  cursor: grab;
  filter: drop-shadow(0 0 28px rgba(255, 240, 200, 0.45));
  animation: moonGlow 7s ease-in-out infinite;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s, filter 0.3s;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}
.moon-bg:hover  { opacity: 0.78; }
.moon-bg:active { cursor: grabbing; }
.moon-bg.dragging {
  transition: none;
  opacity: 0.95;
  filter: drop-shadow(0 0 40px rgba(255, 230, 150, 0.85));
  cursor: grabbing;
}
.moon-bg.near-logo {
  opacity: 0.85;
  filter: drop-shadow(0 0 42px rgba(255, 235, 180, 0.75));
}
.moon-inner {
  width: 100%;
  height: 100%;
  transform-origin: 50% 50%;
}
.moon-bg.bounce .moon-inner {
  animation: moonBounce 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes moonBounce {
  0%   { transform: scale(1) rotate(0); }
  35%  { transform: scale(1.28) rotate(-18deg); }
  60%  { transform: scale(0.92) rotate(8deg); }
  100% { transform: scale(1) rotate(0); }
}
.moon-bg svg { width: 100%; height: 100%; display: block; }
@keyframes moonGlow {
  0%, 100% { opacity: 0.42; }
  50%      { opacity: 0.6; }
}
@media (prefers-reduced-motion: reduce) {
  .moon-bg { animation: none; opacity: 0.5; }
  .moon-bg.bounce .moon-inner { animation: none; }
}

/* Star particles (trail + burst) */
.particle-star {
  position: fixed;
  width: 6px;
  height: 6px;
  background: #fdf6d8;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 10px #fdf6d8, 0 0 20px rgba(253, 246, 216, 0.5);
  z-index: 99;
}
.particle-star.trail {
  animation: trailFade 0.8s ease-out forwards;
}
.particle-star.burst {
  animation: burstFly 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes trailFade {
  0%   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(0.2); }
}
@keyframes burstFly {
  0%   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(calc(-50% + var(--tx)), calc(-50% + var(--ty))) scale(0.3); }
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.75rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.75rem); }
h3 { font-size: 1.4rem; }
h1 em { font-style: italic; color: var(--accent); }

.muted { color: var(--text-muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.18s ease;
  text-decoration: none;
  background: none;
  color: inherit;
}
.btn-primary {
  background: var(--accent);
  color: #1a1408;
}
.btn-primary:hover:not(:disabled) {
  background: var(--accent-hover);
  transform: translateY(-1px);
}
.btn-primary:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.btn-ghost {
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem clamp(1rem, 4vw, 3rem);
  background: rgba(14, 14, 16, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: var(--serif);
  font-size: 1.5rem;
  text-decoration: none;
  letter-spacing: 0.02em;
  background: linear-gradient(
    100deg,
    #4ade80 0%,
    #22d3ee 22%,
    #a78bfa 44%,
    #f472b6 66%,
    #c9a961 84%,
    #4ade80 100%
  );
  background-size: 280% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: auroraShift 7s linear infinite;
  filter: drop-shadow(0 0 8px rgba(120, 220, 180, 0.25));
}
.nav-logo span {
  -webkit-text-fill-color: transparent;
  color: transparent;
}
@keyframes auroraShift {
  to { background-position: 280% center; }
}
@media (prefers-reduced-motion: reduce) {
  .nav-logo { animation: none; background-position: 30% center; }
}
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.18s;
}
.nav-links a:hover { color: var(--accent); }
.nav-cta { padding: 0.6rem 1.2rem; font-size: 0.85rem; }
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
  padding: 0.4rem;
}
.nav-toggle span {
  width: 22px;
  height: 1.5px;
  background: var(--text);
}

@media (max-width: 720px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 4vw, 3rem);
  min-height: 88vh;
}
.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.75rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.hero-lead {
  margin: 1.5rem 0 2rem;
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 30rem;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-meta {
  margin-top: 3.5rem;
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.hero-meta div {
  display: flex;
  flex-direction: column;
}
.hero-meta strong {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--accent);
  font-weight: 500;
}
.hero-meta span {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.hero-image {
  height: 75vh;
  border-radius: var(--radius-lg);
  background-image: url("photo-aurora.jpg");
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.45));
  border-radius: var(--radius-lg);
  z-index: 1;
  pointer-events: none;
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-image { height: 50vh; order: -1; }
}

/* ---------- Sections ---------- */
.section {
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 4vw, 3rem);
  max-width: 1400px;
  margin: 0 auto;
}
.section-alt {
  background: var(--bg-elev);
  max-width: none;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-alt > * {
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}
.section-head { text-align: center; max-width: 36rem; margin: 0 auto 3rem; }
.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.72rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.section-lead {
  color: var(--text-muted);
  margin-top: 0.75rem;
}

/* ---------- Portfolio ---------- */
.filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}
.filter-btn {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.18s;
  font-family: var(--sans);
}
.filter-btn:hover {
  color: var(--text);
  border-color: var(--border-strong);
}
.filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #1a1408;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery-item {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: all 0.3s;
  filter: grayscale(0.15);
}
.gallery-item:nth-child(4n) { aspect-ratio: 4 / 3; grid-column: span 2; }
.gallery-item:hover {
  filter: grayscale(0);
  transform: translateY(-2px);
}
.gallery-item::after {
  content: attr(data-label);
  position: absolute;
  inset: auto 0 0 0;
  padding: 1rem;
  background: linear-gradient(0deg, rgba(0,0,0,0.7), transparent);
  color: white;
  font-family: var(--serif);
  font-size: 1.1rem;
  opacity: 0;
  transition: opacity 0.2s;
}
.gallery-item:hover::after { opacity: 1; }
.gallery-item.hidden { display: none; }
.gallery-item.has-video {
  cursor: zoom-in;
}
.gallery-item.has-video::before {
  content: "▶";
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.65);
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  z-index: 2;
  backdrop-filter: blur(4px);
  transition: transform 0.2s, background 0.2s;
}
.gallery-item.has-video:hover::before {
  transform: scale(1.1);
  background: var(--accent);
  color: #1a1408;
}
.gallery-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 1;
}
.gallery-item.has-video:hover .gallery-video {
  opacity: 1;
}

@media (max-width: 720px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery-item:nth-child(4n) { grid-column: span 2; }
}

/* ---------- Services ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 2.25rem 1.75rem;
  border-radius: var(--radius);
  position: relative;
  display: flex;
  flex-direction: column;
}
.service-card--featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, var(--accent-soft), var(--bg-card));
}
.service-card .badge {
  position: absolute;
  top: -10px;
  left: 1.5rem;
  background: var(--accent);
  color: #1a1408;
  padding: 0.2rem 0.7rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 99px;
}
.service-price {
  font-family: var(--serif);
  font-size: 2.25rem;
  color: var(--accent);
  margin: 0.75rem 0 1.25rem;
}
.service-card ul {
  list-style: none;
  margin-bottom: 2rem;
  flex: 1;
}
.service-card li {
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-muted);
}
.service-card li:last-child { border-bottom: 0; }
.service-card li::before { content: "— "; color: var(--accent); }

/* ---------- Calendar ---------- */
.calendar-wrap {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}
.calendar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}
.cal-nav {
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  width: 32px;
  height: 32px;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}
.cal-nav:hover { border-color: var(--accent); color: var(--accent); }
.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.15s;
  position: relative;
  background: transparent;
  color: var(--text);
  font-family: var(--sans);
}
.cal-day:hover:not(:disabled):not(.busy) {
  background: var(--accent-soft);
  border-color: var(--accent);
}
.cal-day.empty {
  background: none;
  cursor: default;
  pointer-events: none;
}
.cal-day.past, .cal-day:disabled {
  color: var(--border-strong);
  cursor: not-allowed;
}
.cal-day.busy {
  color: var(--text-muted);
  background: var(--bg-elev);
  cursor: not-allowed;
  text-decoration: line-through;
}
.cal-day.today { font-weight: 600; color: var(--accent); }
.cal-day.selected {
  background: var(--accent);
  color: #1a1408;
  border-color: var(--accent);
  font-weight: 600;
}
.calendar-legend {
  display: flex;
  gap: 1.25rem;
  margin-top: 1.25rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  align-items: center;
  flex-wrap: wrap;
}
.legend-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  margin-right: 0.3rem;
}
.legend-dot--free { background: var(--accent); }
.legend-dot--busy { background: var(--bg-elev); border: 1px solid var(--border); }
.legend-dot--past { background: var(--border-strong); }

.slots, .modal-slots {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.slots h3 { margin-bottom: 1rem; }
.slot-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}
.slot {
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.6rem;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.15s;
  font-family: var(--sans);
}
.slot:hover:not(:disabled) {
  border-color: var(--accent);
  color: var(--accent);
}
.slot:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  text-decoration: line-through;
}
.slot.selected {
  background: var(--accent);
  color: #1a1408;
  border-color: var(--accent);
}

@media (max-width: 800px) {
  .calendar-wrap { grid-template-columns: 1fr; }
}

/* ---------- About ---------- */
.about {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.about-img {
  aspect-ratio: 3 / 4;
  background-image: url("photo-moon-twilight.jpg");
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-lg);
  filter: grayscale(0.2);
}
.about-text p { margin: 1rem 0; color: var(--text-muted); }
.about-text .btn { margin-top: 1rem; }
@media (max-width: 800px) {
  .about { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-elev);
  border-top: 1px solid var(--border);
  padding: 3rem clamp(1rem, 4vw, 3rem) 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto 2rem;
}
.footer h4 {
  font-family: var(--sans);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 0.75rem;
  font-weight: 500;
}
.footer-bottom {
  text-align: center;
  font-size: 0.8rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  max-width: 1200px;
  margin: 0 auto;
}

/* ---------- Modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal.open { display: flex; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  animation: fadeIn 0.2s;
}
.modal-panel {
  position: relative;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 720px;
  max-height: 90vh;
  overflow-y: auto;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: 1px solid var(--border);
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.modal-close:hover { color: var(--text); border-color: var(--accent); }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Stepper ---------- */
.stepper {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 2rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}
.step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.7rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  border-bottom: 2px solid var(--border);
  white-space: nowrap;
  flex: 1;
  min-width: max-content;
}
.step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--border);
  font-size: 0.72rem;
  font-weight: 600;
  font-family: var(--sans);
}
.step em { font-style: normal; font-size: 0.8rem; }
.step.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.step.active span {
  background: var(--accent);
  color: #1a1408;
}
.step.done {
  color: var(--text);
  border-bottom-color: var(--success);
}
.step.done span {
  background: var(--success);
  color: #04200a;
}

/* ---------- Step panes ---------- */
.step-pane { display: none; }
.step-pane.active { display: block; animation: fadeIn 0.25s; }
.step-pane h2 { margin-bottom: 0.5rem; }
.step-pane > .muted { margin-bottom: 1.5rem; }

.modal-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  gap: 1rem;
}
.modal-actions.center { justify-content: center; }

.modal-calendar {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}
.modal-calendar .calendar { padding: 1rem; }
@media (max-width: 600px) {
  .modal-calendar { grid-template-columns: 1fr; }
}

/* ---------- Form ---------- */
.field-block { margin-bottom: 1.75rem; }
.field-label {
  font-size: 0.85rem;
  color: var(--text);
  margin-bottom: 0.6rem;
  font-weight: 500;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-grid .full { grid-column: span 2; }
.form-grid label,
.field-block label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 0.92rem;
  transition: border-color 0.15s;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
}
textarea { resize: vertical; }
@media (max-width: 540px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .full { grid-column: span 1; }
}

.form-error {
  background: rgba(248, 113, 113, 0.1);
  border: 1px solid rgba(248, 113, 113, 0.3);
  color: var(--error);
  padding: 0.7rem 1rem;
  border-radius: var(--radius);
  font-size: 0.85rem;
  margin-top: 1rem;
}

/* ---------- Radio cards (duration) ---------- */
.radio-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.6rem;
}
.radio-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.9rem;
  cursor: pointer;
  text-align: center;
  transition: all 0.15s;
}
.radio-card input { position: absolute; opacity: 0; pointer-events: none; }
.radio-card:hover:not(.disabled) {
  border-color: var(--border-strong);
  background: var(--bg-card-hover);
}
.radio-card.selected {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.radio-card.disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.radio-card .rc-title {
  font-family: var(--serif);
  font-size: 1.2rem;
  display: block;
  margin-bottom: 0.2rem;
}
.radio-card .rc-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
}
.radio-card .rc-price {
  font-size: 0.78rem;
  color: var(--accent);
  margin-top: 0.3rem;
  display: block;
  font-weight: 500;
}

/* ---------- Theme chips ---------- */
.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.chip {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  font-size: 0.85rem;
  cursor: pointer;
  font-family: var(--sans);
  transition: all 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.chip:hover:not(.disabled) {
  color: var(--text);
  border-color: var(--border-strong);
}
.chip.selected {
  background: var(--accent);
  color: #1a1408;
  border-color: var(--accent);
}
.chip.selected::before { content: "✓"; font-weight: 600; }
.chip.disabled {
  opacity: 0.35;
  cursor: not-allowed;
  text-decoration: line-through;
}
.chip-tag {
  display: inline-block;
  background: rgba(251, 191, 36, 0.15);
  color: var(--warning);
  font-size: 0.65rem;
  padding: 0.05rem 0.4rem;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-left: 0.3rem;
}
.theme-hint {
  margin-top: 0.6rem;
  font-size: 0.78rem;
}

.price-running {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 0.85rem 1.1rem;
  margin-bottom: 1.75rem;
}
.price-running strong {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--accent);
  font-weight: 500;
}

/* ---------- OTP input ---------- */
.otp-input {
  display: flex;
  gap: 0.5rem;
  margin: 1.5rem 0;
  justify-content: center;
}
.otp-input input {
  width: 3rem;
  height: 3.4rem;
  text-align: center;
  font-size: 1.4rem;
  font-family: var(--serif);
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: var(--radius);
}
.otp-input input:focus { border-color: var(--accent); }
.otp-input input.filled { border-color: var(--accent); background: var(--accent-soft); }

.demo-hint {
  background: rgba(201, 169, 97, 0.08);
  border: 1px dashed var(--accent);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  font-size: 0.85rem;
  margin: 1rem 0;
  color: var(--text-muted);
}
.demo-hint strong {
  color: var(--accent);
  font-family: var(--serif);
  font-size: 1.2rem;
  letter-spacing: 0.15em;
  margin: 0 0.2rem;
}
.demo-tag {
  background: var(--accent);
  color: #1a1408;
  font-size: 0.65rem;
  padding: 0.1rem 0.5rem;
  border-radius: 99px;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-right: 0.5rem;
}
.demo-hint small { display: block; margin-top: 0.3rem; opacity: 0.7; }

.resend { font-size: 0.8rem; }
.resend a { color: var(--accent); text-decoration: none; }
.resend a:hover { text-decoration: underline; }

/* ---------- Summary ---------- */
.summary {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
}
.summary > div {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.summary > div:last-child { border-bottom: 0; }
.summary-total {
  font-size: 1.05rem !important;
  padding-top: 0.85rem !important;
  margin-top: 0.25rem;
  border-top: 1px solid var(--border-strong) !important;
}
.summary-total strong {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--accent);
}

/* ---------- Policy ---------- */
.policy { margin: 1rem 0; }
.check {
  display: flex !important;
  flex-direction: row !important;
  gap: 0.6rem !important;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
}
.check input[type="checkbox"] { margin-top: 0.2rem; accent-color: var(--accent); }
.check a { color: var(--accent); }

/* ---------- Success ---------- */
.success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--success);
  color: #04200a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 600;
  margin: 0 auto 1.25rem;
  animation: pop 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes pop {
  from { transform: scale(0.6); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.step-pane[data-pane="6"] { text-align: center; }
.step-pane[data-pane="6"] .summary { text-align: left; }

/* ---------- Blog ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.2s;
}
.blog-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
}
.blog-img {
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
  filter: grayscale(0.1);
}
.blog-body { padding: 1.25rem 1.25rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.blog-meta {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.blog-card h3 { font-size: 1.25rem; margin-bottom: 0.6rem; }
.blog-body > p { color: var(--text-muted); font-size: 0.92rem; flex: 1; margin-bottom: 1rem; }
.blog-link {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
}
.blog-link:hover { text-decoration: underline; }

/* ---------- Socials ---------- */
.socials {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.socials a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.15s;
}
.socials a:hover { color: var(--accent); }
.socials svg { flex-shrink: 0; }

/* ---------- Location map ---------- */
.loc-map {
  height: 280px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--bg-card);
  z-index: 1;
}
.loc-map .leaflet-control-attribution {
  background: rgba(14, 14, 16, 0.7);
  color: var(--text-muted);
}
.loc-map .leaflet-control-attribution a { color: var(--accent); }
.loc-map .leaflet-tile-pane { filter: brightness(0.8) saturate(0.6) hue-rotate(190deg); }
.loc-info {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 0.85rem;
  padding: 0.6rem 0.9rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.85rem;
  flex-wrap: wrap;
}
.loc-info > div {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.loc-info .muted { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; }
.loc-info strong {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--accent);
  font-weight: 500;
}
.loc-hint { font-size: 0.78rem; margin-top: 0.5rem; }
.map-pin {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.85rem;
  box-shadow: 0 0 0 3px rgba(0,0,0,0.5);
}
.map-pin--studio {
  background: var(--accent);
  color: #1a1408;
}
.map-pin--user {
  background: var(--success);
  width: 22px;
  height: 22px;
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.3), 0 0 0 2px rgba(0,0,0,0.5);
  animation: pulse 1.4s ease-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

.btn-link {
  background: none;
  border: 0;
  color: var(--accent);
  font-size: 0.82rem;
  cursor: pointer;
  font-family: var(--sans);
  margin-left: auto;
  text-decoration: underline;
}
.btn-link:hover { color: var(--accent-hover); }

/* ---------- Price breakdown extension ---------- */
.price-breakdown {
  display: block;
  font-size: 0.78rem;
  margin-top: 0.2rem;
}
.deposit-preview {
  text-align: right;
}
.deposit-preview .muted {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.deposit-preview strong {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--accent);
  font-weight: 500;
}

/* ---------- Express checkout (Apple/Google Pay) ---------- */
.express-checkout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin: 1rem 0 0.5rem;
}
.pay-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  height: 48px;
  border-radius: 6px;
  border: 1px solid #000;
  font-family: -apple-system, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  font-size: 1.05rem;
  cursor: pointer;
  transition: all 0.15s;
  letter-spacing: 0.01em;
}
.pay-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.pay-btn:not(:disabled):hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}
.pay-btn--apple {
  background: #000;
  color: #fff;
  border-color: #000;
}
.pay-btn--apple svg {
  margin-bottom: 2px;
}
.pay-btn--google {
  background: #fff;
  color: #3c4043;
  border-color: #dadce0;
  font-family: "Roboto", -apple-system, system-ui, sans-serif;
}
.gpay-logo { font-weight: 500; font-size: 1rem; }
.g-blue   { color: #4285F4; }
.g-red    { color: #EA4335; }
.g-yellow { color: #FBBC05; }
.g-green  { color: #34A853; }

@media (max-width: 480px) {
  .express-checkout { grid-template-columns: 1fr; }
}

/* ---------- Divider text ---------- */
.divider-text {
  display: flex;
  align-items: center;
  margin: 1.25rem 0 1rem;
  color: var(--text-muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
.divider-text::before,
.divider-text::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}
.divider-text span { padding: 0 1rem; }

/* ---------- Modal price-running upgrade ---------- */
.price-running {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}
.price-running > div:first-child {
  display: flex;
  flex-direction: column;
}
.price-running > div:first-child > strong {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--accent);
  font-weight: 500;
}
