/* Stellar — dark-luxury cosmic UI. Design tokens first, then components. */

:root {
  --bg: #04050f;
  --bg-deep: #02030a;
  --ink: #eef1fb;
  --ink-soft: rgba(232, 236, 250, 0.66);
  --ink-faint: rgba(232, 236, 250, 0.42);
  --gold: #d9b25a;
  --gold-bright: #f0cd7c;
  --gold-soft: rgba(217, 178, 90, 0.16);
  --terra: #d97757;
  --terra-bright: #eb9273;
  --terra-soft: rgba(217, 119, 87, 0.16);
  --script: 'Great Vibes', cursive;
  --line: rgba(150, 170, 240, 0.14);
  --panel: rgba(14, 20, 46, 0.72);
  --panel-solid: #0b1030;
  --blue: #6f8cff;

  --heading: 'Space Grotesk', system-ui, sans-serif;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;

  --r-lg: 20px;
  --r-md: 13px;
  --r-sm: 9px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.85);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  background: var(--bg-deep);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

body { overflow-x: hidden; }

h1, h2, h3 { margin: 0; font-family: var(--heading); font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---- ambient background --------------------------------------------- */

.hero-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  display: block;
}
body[data-view="explore"] .hero-canvas { display: none; }

.vignette {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 0%, transparent 40%, rgba(2, 3, 10, 0.55) 100%),
    radial-gradient(70% 45% at 50% 108%, rgba(217, 119, 87, 0.13), transparent 62%),
    radial-gradient(80% 60% at 50% 110%, rgba(30, 20, 60, 0.35), transparent 60%);
}
body[data-view="explore"] .vignette { display: none; }

/* ---- top bar -------------------------------------------------------- */

.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px clamp(20px, 4vw, 56px);
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 9px;
  text-decoration: none;
  color: var(--ink);
  cursor: pointer;
  user-select: none;
}
.brand-mark { color: var(--gold); font-size: 18px; transform: translateY(1px); }
.brand-name { font-family: var(--heading); font-weight: 700; letter-spacing: 0.32em; font-size: 18px; }
.brand-sub { font-family: var(--heading); font-weight: 600; font-size: 11px; letter-spacing: 0.3em; color: var(--ink-faint); text-transform: uppercase; }

.nav { display: flex; gap: 4px; background: rgba(10, 14, 34, 0.5); padding: 5px; border-radius: 999px; border: 1px solid var(--line); backdrop-filter: blur(14px); }
.nav button {
  border: 0; background: transparent; color: var(--ink-soft);
  padding: 9px 18px; border-radius: 999px; font-size: 13px; font-weight: 500;
  letter-spacing: 0.02em; transition: color 0.25s, background 0.25s;
}
.nav button:hover { color: var(--ink); }
.nav button.active { background: var(--gold-soft); color: var(--gold-bright); }

/* ---- buttons -------------------------------------------------------- */

.btn {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 26px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 0.25s var(--ease), box-shadow 0.3s, background 0.3s, border-color 0.3s;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-lg { padding: 15px 34px; font-size: 15px; }

.btn-gold {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: #241a06;
  box-shadow: 0 12px 30px -12px rgba(217, 178, 90, 0.7);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -14px rgba(217, 178, 90, 0.85); }
.btn-gold:disabled { opacity: 0.7; transform: none; cursor: default; }

.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--line);
  color: var(--ink);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: rgba(217, 178, 90, 0.55); color: var(--gold-bright); }

/* ---- views / layout ------------------------------------------------- */

main { position: relative; z-index: 10; }
.view { display: none; }
.view.active { display: block; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.36em;
  font-size: 11px;
  color: var(--ink-faint);
  margin-bottom: 20px;
}
.eyebrow.gold { color: var(--gold); }

/* ---- home / hero ---------------------------------------------------- */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 clamp(22px, 7vw, 120px);
  max-width: 960px;
}
.hero h1 {
  font-family: var(--heading);
  font-weight: 700;
  font-size: clamp(2.4rem, 1.1rem + 4.2vw, 5.4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 26px;
  text-wrap: balance;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold-bright);
}
.lede {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(1.1rem, 0.95rem + 0.9vw, 1.5rem);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 30em;
}
.lede.small { font-size: 1.15rem; max-width: 34em; }

.hero-cta { display: flex; gap: 14px; margin-top: 38px; flex-wrap: wrap; }

.hero-price {
  margin-top: 14px;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
}
.hero-price strong { color: var(--terra-bright); font-size: 15px; font-weight: 600; }
.hero-price span { color: var(--ink-faint); margin-left: 6px; }

.hero-stats {
  display: flex;
  gap: clamp(24px, 4vw, 48px);
  margin: 40px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  max-width: 620px;
  opacity: 0.88;
}
.hero-stats div { display: flex; flex-direction: column; gap: 3px; }
.hero-stats dt { font-family: var(--heading); font-weight: 700; font-size: 1.7rem; color: var(--gold-bright); line-height: 1; }
.hero-stats dd { margin: 0; font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); }

.scroll-cue {
  padding: 0 clamp(22px, 7vw, 120px) 140px;
  max-width: 900px;
}
.scroll-cue > span {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 11px;
  color: var(--ink-faint);
  margin-bottom: 8px;
}

/* Editorial timeline, not a repeated card grid: a running rule threads
   through large outlined numerals so the three steps read as one sequence. */
.how { position: relative; }
.how-item {
  display: flex;
  align-items: flex-start;
  gap: clamp(20px, 4vw, 48px);
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
}
.how-item:first-child { padding-top: 32px; }
.how-item:last-child { border-bottom: none; }
.how-n {
  flex: none;
  width: clamp(64px, 9vw, 104px);
  font-family: var(--heading);
  font-weight: 700;
  font-size: clamp(2.6rem, 2rem + 2vw, 3.6rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--terra);
  transition: color 0.35s var(--ease), -webkit-text-stroke-color 0.35s;
}
.how-item:hover .how-n { color: var(--terra-bright); -webkit-text-stroke: 1.5px var(--terra-bright); }
.how-body h3 { font-size: 1.5rem; margin-bottom: 10px; text-wrap: balance; }
.how-body p { color: var(--ink-soft); font-size: 0.98rem; line-height: 1.6; max-width: 46em; }
.how-body p em { color: var(--terra-bright); font-style: italic; }

/* ---- explore -------------------------------------------------------- */

.sky-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 5;
  display: block;
  cursor: grab;
}
.sky-canvas:active { cursor: grabbing; }

.sky-toolbar {
  position: fixed;
  top: 84px; left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px;
  background: rgba(9, 12, 30, 0.66);
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: blur(16px);
}
.tool {
  border: 0; background: transparent; color: var(--ink-soft);
  padding: 8px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 500;
  letter-spacing: 0.02em; transition: background 0.2s, color 0.2s;
}
.tool:hover { background: rgba(255, 255, 255, 0.06); color: var(--ink); }
.tool.on { background: var(--gold-soft); color: var(--gold-bright); }
.tool-sep { width: 1px; height: 20px; background: var(--line); margin: 0 3px; }

.sky-search {
  position: fixed;
  top: 84px; left: clamp(16px, 4vw, 40px);
  z-index: 22;
  width: min(300px, 70vw);
}
.sky-search .search-icon {
  position: absolute; left: 15px; top: 12px;
  color: var(--gold); font-size: 15px; pointer-events: none;
}
#star-search {
  width: 100%;
  background: rgba(9, 12, 30, 0.72);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 16px 11px 38px;
  color: var(--ink);
  font-size: 14px;
  font-family: var(--sans);
  backdrop-filter: blur(16px);
  transition: border-color 0.25s, box-shadow 0.25s;
}
#star-search::placeholder { color: var(--ink-faint); }
#star-search:focus { outline: 0; border-color: rgba(217, 178, 90, 0.6); box-shadow: 0 0 0 4px var(--gold-soft); }

.search-results {
  display: none;
  margin-top: 8px;
  background: rgba(10, 14, 34, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 6px;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.search-results.open { display: block; }
.search-head {
  padding: 10px 12px 8px;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: var(--terra-bright);
  border-bottom: 1px solid var(--line);
  margin-bottom: 4px;
}
.search-head strong { color: var(--ink); }
.search-item.is-claimed { background: rgba(217, 119, 87, 0.07); }
.search-item.is-claimed .search-item-con { color: var(--terra-bright); }
.search-request {
  width: 100%;
  margin-top: 6px;
  padding: 11px 12px;
  border: 1px solid rgba(217, 119, 87, 0.4);
  background: var(--terra-soft);
  color: var(--terra-bright);
  border-radius: var(--r-sm);
  font-size: 12.5px;
  font-weight: 500;
  text-align: left;
  transition: background 0.2s, border-color 0.2s;
}
.search-request:hover { background: rgba(217, 119, 87, 0.22); border-color: var(--terra); }

.verify-status {
  margin-top: 6px !important;
  font-size: 12px !important;
  letter-spacing: 0.04em;
  color: var(--terra-bright) !important;
}
.search-item {
  width: 100%;
  display: flex; align-items: center; gap: 11px;
  padding: 10px 12px;
  border: 0; background: transparent;
  border-radius: var(--r-sm);
  text-align: left;
  transition: background 0.15s;
}
.search-item:hover { background: rgba(217, 178, 90, 0.12); }
.search-dot { width: 10px; height: 10px; border-radius: 50%; box-shadow: 0 0 10px 1px currentColor; flex: none; }
.search-item-name { font-family: var(--sans); font-weight: 500; font-size: 1.1rem; color: var(--ink); flex: 1; }
.search-item-con { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-faint); }

.hover-hint {
  position: fixed;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
  background: rgba(6, 8, 22, 0.5);
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  pointer-events: none;
}

.star-panel {
  position: fixed;
  top: 0; right: 0;
  z-index: 25;
  width: min(370px, 92vw);
  height: 100vh;
  padding: 96px 26px 26px;
  background: linear-gradient(200deg, rgba(11, 16, 42, 0.9), rgba(6, 9, 24, 0.82));
  border-left: 1px solid var(--line);
  backdrop-filter: blur(20px);
  transform: translateX(100%);
  transition: transform 0.5s var(--ease);
  overflow-y: auto;
}
.star-panel.filled { transform: translateX(0); }
/* keep the empty prompt visible until a star is chosen */
.star-panel:not(.filled) { transform: translateX(0); background: transparent; border: 0; backdrop-filter: none; pointer-events: none; }
.star-panel:not(.filled) .panel-empty { pointer-events: auto; }

.panel-empty { margin-top: 8vh; text-align: center; color: var(--ink-soft); background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 40px 26px; backdrop-filter: blur(16px); }
.panel-empty-star { font-size: 30px; color: var(--gold); display: block; margin-bottom: 14px; }
.panel-empty h3 { font-family: var(--heading); font-size: 1.6rem; margin-bottom: 10px; }
.panel-empty p { font-size: 0.92rem; line-height: 1.55; }

.panel-star-head { display: flex; gap: 14px; align-items: center; margin-bottom: 24px; }
.panel-star-head .dot { width: 16px; height: 16px; border-radius: 50%; box-shadow: 0 0 18px 3px currentColor; flex: none; }
.panel-star-head h3 { font-family: var(--heading); font-size: 2rem; line-height: 1; }
.panel-desig { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); margin-top: 6px; }

.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; margin-bottom: 24px; }
.stat { background: var(--panel-solid); padding: 13px 15px; display: flex; flex-direction: column; gap: 5px; }
.stat span { font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); }
.stat strong { font-family: var(--sans); font-size: 1.15rem; font-weight: 600; color: var(--ink); }

.dot { width: 14px; height: 14px; border-radius: 50%; }

.panel-fine { font-size: 12px; color: var(--ink-faint); margin-top: 12px; text-align: center; line-height: 1.5; }
#panel-name, #panel-view-cert { width: 100%; }

.claimed-badge { text-align: center; font-family: var(--heading); font-weight: 700; font-size: 1.3rem; color: var(--gold-bright); background: var(--gold-soft); border: 1px solid rgba(217, 178, 90, 0.35); border-radius: var(--r-md); padding: 14px; margin-bottom: 10px; }
.claimed-note { text-align: center; color: var(--ink-soft); font-size: 0.9rem; margin-bottom: 16px; }

/* ---- registry ------------------------------------------------------- */

.registry-wrap { max-width: 820px; margin: 0 auto; padding: 140px clamp(22px, 6vw, 40px) 100px; }
.registry-wrap h2 { font-family: var(--heading); font-size: clamp(2.2rem, 1.4rem + 3vw, 3.6rem); margin-bottom: 16px; }

.verify-box { display: flex; gap: 10px; margin: 34px 0 20px; }
.verify-box input {
  flex: 1;
  background: rgba(9, 12, 30, 0.7);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 16px 20px;
  color: var(--ink);
  font-size: 16px;
  font-family: var(--sans);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.verify-box input:focus { outline: 0; border-color: rgba(217, 178, 90, 0.6); box-shadow: 0 0 0 4px var(--gold-soft); }
.verify-box .btn { flex: none; }

.verify-result { min-height: 40px; margin-bottom: 50px; }
.verify-empty { color: var(--ink-faint); font-size: 0.95rem; padding: 10px 0; }

.verify-card { display: flex; gap: 18px; align-items: center; padding: 20px 24px; border-radius: var(--r-md); border: 1px solid var(--line); margin-bottom: 22px; }
.verify-ok { background: rgba(40, 90, 60, 0.2); border-color: rgba(110, 220, 150, 0.35); }
.verify-fail { background: rgba(90, 40, 50, 0.2); border-color: rgba(230, 120, 130, 0.32); }
.verify-mark { width: 42px; height: 42px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 20px; font-weight: 700; }
.verify-ok .verify-mark { background: rgba(110, 220, 150, 0.2); color: #7fe6a5; }
.verify-fail .verify-mark { background: rgba(230, 120, 130, 0.2); color: #f0949e; }
.verify-card h3 { font-family: var(--heading); font-size: 1.5rem; margin-bottom: 4px; }
.verify-card p { color: var(--ink-soft); font-size: 0.92rem; }

.verify-cert { margin: 8px 0 20px; }
.verify-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.cert-canvas { width: 100%; max-width: 100%; height: auto; border-radius: var(--r-md); box-shadow: var(--shadow); display: block; }

.recent-heading { font-family: var(--heading); font-size: 1.5rem; margin: 40px 0 18px; color: var(--ink); }
.recent-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.recent-chip {
  text-align: left;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 16px 18px;
  display: flex; flex-direction: column; gap: 6px;
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.recent-chip:hover { transform: translateY(-3px); border-color: rgba(217, 178, 90, 0.4); }
.recent-name { font-family: var(--sans); font-weight: 500; font-size: 1.15rem; color: var(--ink); }
.recent-meta { font-size: 11px; letter-spacing: 0.1em; color: var(--gold); }

.browse-wall {
  max-height: 440px;
  overflow-y: auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  padding-right: 4px;
}
.browse-chip {
  text-align: left;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 14px 16px;
  display: flex; flex-direction: column; gap: 4px;
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.browse-chip:hover { transform: translateY(-3px); border-color: rgba(217, 119, 87, 0.45); }
.bc-name { font-family: var(--sans); font-weight: 500; font-size: 1.05rem; color: var(--ink); }
.bc-meta { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--terra-bright); }

/* ---- modals --------------------------------------------------------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(2, 3, 10, 0.72);
  backdrop-filter: blur(10px);
}
.modal.open { display: flex; animation: fade 0.3s var(--ease); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.modal-card {
  position: relative;
  width: min(520px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  background: linear-gradient(200deg, #0e1436, #080b22);
  border: 1px solid rgba(217, 178, 90, 0.22);
  border-radius: var(--r-lg);
  padding: 34px clamp(22px, 4vw, 40px);
  box-shadow: var(--shadow);
  animation: rise 0.4s var(--ease);
}
.modal-wide { width: min(720px, 100%); }
@keyframes rise { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.modal-x {
  position: absolute; top: 16px; right: 16px;
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03);
  color: var(--ink-soft); font-size: 13px;
}
.modal-x:hover { color: var(--ink); border-color: rgba(217, 178, 90, 0.5); }
.modal-card h2 { font-family: var(--heading); font-size: 2rem; margin-bottom: 18px; }

.price-banner {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 13px 16px;
  background: var(--terra-soft);
  border: 1px solid rgba(217, 119, 87, 0.35);
  border-radius: var(--r-md);
  margin-bottom: 16px;
}
.price-label { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--terra-bright); }
.price-usd { font-family: var(--heading); font-size: 1.7rem; font-weight: 700; color: var(--ink); margin-left: auto; }
.price-inr { font-size: 13px; color: var(--ink-soft); }
.price-validity { font-size: 12px; color: var(--ink-faint); margin: -8px 0 16px 2px; }

.booking-fine {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink-faint);
  padding: 12px 14px;
  background: rgba(217, 119, 87, 0.06);
  border: 1px solid rgba(217, 119, 87, 0.18);
  border-radius: var(--r-sm);
}
.booking-fine strong { color: var(--terra-bright); }

.cert-team-note {
  text-align: center;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-soft);
  background: var(--terra-soft);
  border: 1px solid rgba(217, 119, 87, 0.3);
  border-radius: var(--r-md);
  padding: 12px 18px;
  margin: 0 0 18px;
}

.booking-star { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: rgba(9, 12, 30, 0.6); border: 1px solid var(--line); border-radius: var(--r-md); margin-bottom: 16px; }
.booking-star .dot { width: 14px; height: 14px; border-radius: 50%; box-shadow: 0 0 14px 2px currentColor; }
.booking-star strong { display: block; font-family: var(--heading); font-weight: 700; font-size: 1.25rem; }
.booking-star span { font-size: 12px; color: var(--ink-faint); letter-spacing: 0.04em; }

.booking-form { display: flex; flex-direction: column; gap: 14px; }
.booking-form label { display: flex; flex-direction: column; gap: 7px; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-faint); }
.booking-form label span { color: var(--gold); }
.booking-form input, .booking-form select, .booking-form textarea {
  background: rgba(9, 12, 30, 0.7);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  color: var(--ink);
  font-size: 15px;
  font-family: var(--sans);
  text-transform: none;
  letter-spacing: normal;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.booking-form textarea { resize: vertical; }
.booking-form input:focus, .booking-form select:focus, .booking-form textarea:focus {
  outline: 0; border-color: rgba(217, 178, 90, 0.6); box-shadow: 0 0 0 3px var(--gold-soft);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.booking-error { color: #f0949e; font-size: 13px; min-height: 16px; }
.booking-actions { display: flex; gap: 12px; justify-content: flex-end; margin-top: 6px; }

.booking-steps { display: flex; flex-direction: column; gap: 4px; padding: 12px 0 8px; }
.issue-step {
  display: flex; align-items: center; gap: 14px;
  padding: 15px 16px;
  border-radius: var(--r-sm);
  font-size: 15px;
  color: var(--ink-faint);
  border: 1px solid transparent;
  transition: color 0.3s, background 0.3s, border-color 0.3s;
}
.issue-step .tick { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--ink-faint); flex: none; position: relative; transition: all 0.3s; }
.issue-step.active { color: var(--ink); background: rgba(217, 178, 90, 0.07); border-color: rgba(217, 178, 90, 0.25); }
.issue-step.active .tick { border-color: var(--gold); border-top-color: transparent; animation: spin 0.7s linear infinite; }
.issue-step.done { color: var(--ink-soft); }
.issue-step.done .tick { border-color: var(--gold); background: var(--gold); animation: none; }
.issue-step.done .tick::after { content: '✓'; position: absolute; inset: 0; display: grid; place-items: center; font-size: 11px; color: #241a06; }
@keyframes spin { to { transform: rotate(360deg); } }

.cert-recipient { text-align: center; font-family: var(--sans); font-weight: 400; font-size: 1.3rem; color: var(--ink-soft); margin-bottom: 18px; }
.cert-holder { border-radius: var(--r-md); overflow: hidden; }
.cert-idline { text-align: center; margin: 18px 0; font-size: 13px; letter-spacing: 0.08em; color: var(--ink-faint); }
.cert-idline strong { color: var(--gold-bright); letter-spacing: 0.14em; }
.cert-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.hidden { display: none !important; }

/* ---- responsive ----------------------------------------------------- */

@media (max-width: 720px) {
  .nav { position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%); top: auto; }
  .brand-sub { display: none; }
  .how-item { flex-direction: column; gap: 8px; padding: 30px 0; }
  .how-n { font-size: 2.2rem; }
  .star-panel { width: 100vw; height: auto; bottom: 0; top: auto; padding: 24px 20px 90px; border-left: 0; border-top: 1px solid var(--line); transform: translateY(100%); }
  .star-panel.filled { transform: translateY(0); }
  .star-panel:not(.filled) { transform: translateY(0); }
  .star-panel:not(.filled) .panel-empty { margin-top: 0; }
  .sky-toolbar { top: auto; bottom: 78px; flex-wrap: wrap; justify-content: center; max-width: 92vw; }
  .hover-hint { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
}

/* ---- footer ----------------------------------------------------------- */

.site-footer {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 48px 24px 56px;
  border-top: 1px solid var(--line);
}
body[data-view="explore"] .site-footer { display: none; }
.footer-mark { color: var(--terra); font-size: 16px; display: block; margin-bottom: 12px; }
.footer-org { font-family: var(--heading); font-weight: 700; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); margin-bottom: 6px; }
.footer-address { font-size: 12.5px; color: var(--ink-soft); margin-bottom: 4px; }
.footer-copy { font-size: 11.5px; color: var(--ink-faint); }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.05ms !important; }
}
