/* A.T. Crank It Up! / rockerDJ.com — quote wizard
   Brand from Bandzoogle nocturne theme on rockerdj.com */

:root {
  --bg: hsl(0, 0%, 3%);
  --bg-elevated: hsl(0, 0%, 8%);
  --bg-card: hsl(0, 0%, 10%);
  --bg-option: hsl(0, 0%, 12%);
  --border: hsl(0, 0%, 22%);
  --border-strong: hsl(0, 0%, 32%);
  --text: hsl(36, 100%, 95%);
  --text-muted: hsl(36, 20%, 70%);
  --heading: hsl(36, 100%, 95%);
  --accent: hsl(63, 99%, 51%);          /* electric lime links */
  --accent-gold: hsl(52, 91%, 58%);     /* feature titles */
  --accent-yellow: hsl(61, 92%, 53%);   /* page titles */
  --accent-orange: hsl(27, 100%, 57%);  /* rollover */
  --accent-red: hsl(0, 77%, 50%);       /* button hover */
  --button-fg: hsl(30, 17%, 91%);
  --submenu: hsl(0, 0%, 24%);
  --success: hsl(145, 70%, 45%);
  --danger: hsl(0, 85%, 62%);
  --radius: 14px;
  --radius-pill: 999px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
  --font-body: "Open Sans", system-ui, sans-serif;
  --font-head: "Chivo", "Open Sans", sans-serif;
  --max: 760px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-orange); }

abbr { text-decoration: none; color: var(--accent-orange); }

.bg-glow {
  position: fixed;
  inset: -20% 0 auto 0;
  height: 55vh;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, hsla(63, 99%, 51%, 0.12), transparent 70%),
    radial-gradient(ellipse 40% 40% at 85% 20%, hsla(27, 100%, 57%, 0.1), transparent 60%),
    radial-gradient(ellipse 35% 35% at 10% 30%, hsla(0, 77%, 50%, 0.08), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(hsla(63, 99%, 51%, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, hsla(63, 99%, 51%, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.45), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.site-header,
.wizard-shell,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: calc(var(--max) + 4rem);
  margin: 0 auto;
  padding: 1.25rem 1.25rem 0.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: inherit;
}

.brand:hover { color: inherit; }

.brand-logo {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--border);
  box-shadow: 0 0 24px hsla(63, 99%, 51%, 0.2);
}

.brand-text { display: flex; flex-direction: column; gap: 0.1rem; }

.brand-name {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-yellow);
}

.brand-tag {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.header-link {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.55rem 1rem;
  border: 1px solid var(--button-fg);
  border-radius: var(--radius-pill);
  color: var(--button-fg);
}

.header-link:hover {
  border-color: var(--accent-orange);
  color: var(--accent-orange);
}

.wizard-shell {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.25rem 3rem;
}

.hero-intro { margin: 1.5rem 0 1.75rem; text-align: center; }

.eyebrow {
  display: inline-block;
  margin: 0 0 0.65rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bg);
  background: linear-gradient(90deg, var(--accent), var(--accent-gold));
  border-radius: var(--radius-pill);
}

.hero-intro h1 {
  margin: 0 0 0.75rem;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(1.55rem, 4.5vw, 2.15rem);
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--heading);
}

.lede {
  margin: 0 auto;
  max-width: 38rem;
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* Progress */
.progress-wrap {
  margin-bottom: 1.25rem;
  padding: 1rem 1.1rem 1.15rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.progress-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.65rem;
  font-size: 0.82rem;
}

#progress-label {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}

#progress-title {
  color: var(--text-muted);
  font-weight: 600;
}

.progress-track {
  height: 6px;
  background: var(--submenu);
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin-bottom: 0.9rem;
}

.progress-fill {
  height: 100%;
  width: 20%;
  background: linear-gradient(90deg, var(--accent), var(--accent-orange));
  border-radius: var(--radius-pill);
  transition: width 0.35s ease;
  box-shadow: 0 0 12px hsla(63, 99%, 51%, 0.55);
}

.progress-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.35rem;
}

.progress-steps li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  color: var(--text-muted);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
}

.progress-steps span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--bg);
  font-size: 0.75rem;
  transition: all 0.25s ease;
}

.progress-steps em {
  font-style: normal;
  opacity: 0.85;
}

.progress-steps li.active span,
.progress-steps li.done span {
  border-color: var(--accent);
  color: var(--bg);
  background: var(--accent);
  box-shadow: 0 0 14px hsla(63, 99%, 51%, 0.4);
}

.progress-steps li.active { color: var(--accent); }
.progress-steps li.done { color: var(--accent-gold); }
.progress-steps li.done span {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: var(--bg);
}

@media (max-width: 520px) {
  .progress-steps em { display: none; }
}

/* Card */
.wizard-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.5rem 1.35rem 1.25rem;
  box-shadow: var(--shadow);
}

.step { border: 0; margin: 0; padding: 0; min-width: 0; }

.step[hidden],
.result[hidden] { display: none !important; }

.step legend {
  padding: 0;
  margin: 0 0 0.35rem;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--accent-yellow);
}

.step-hint {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* Option cards (event type) */
.option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
}

.option-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 1rem 0.85rem;
  background: var(--bg-option);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.2s, transform 0.15s, box-shadow 0.2s;
  text-align: center;
  container-type: inline-size;
  min-height: 9.5rem;
}

.option-card:hover {
  border-color: var(--accent-orange);
  transform: translateY(-2px);
}

.option-card:has(input:checked),
.option-card.selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent), 0 0 18px hsla(115, 90%, 45%, 0.55), 0 0 36px hsla(63, 99%, 51%, 0.4);
  background: linear-gradient(180deg, hsla(115, 85%, 45%, 0.28), hsla(63, 99%, 51%, 0.12) 55%, var(--bg-option));
}

.option-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.option-icon {
  font-size: 2.75rem; /* fallback ≈ half card */
  font-size: 50cqi; /* half the button width */
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 50%;
  aspect-ratio: 1;
  margin: 0 auto;
}
.option-label {
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.92rem;
}
.option-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.35;
}


.start-end-stack {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.start-end-stack > .field {
  margin-top: 0.15rem;
}

.start-end-stack > .field[hidden] {
  display: none !important;
}

.start-end-stack > .field > em.field-note {
  font-style: normal;
  margin: 0.25rem 0 0;
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 400;
}


/* Ensure [hidden] wins over display:grid / flex utilities */
[hidden],
.form-grid[hidden],
.bars-block[hidden],
.field[hidden],
.step[hidden] {
  display: none !important;
}

/* Form fields */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.field-span-2 { grid-column: 1 / -1; }

.optional {
  text-transform: none;
  font-weight: 400;
  letter-spacing: 0;
  opacity: 0.75;
}

.field input,
.field select,
.field textarea {
  font: 400 1rem var(--font-body);
  text-transform: none;
  letter-spacing: 0;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 0.75rem 0.85rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}

.field textarea { resize: vertical; min-height: 88px; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px hsla(63, 99%, 51%, 0.2);
}

.field input.invalid,
.field select.invalid {
  border-color: var(--danger);
}

.field-error {
  margin: 0.9rem 0 0;
  color: var(--danger);
  font-size: 0.88rem;
  font-weight: 600;
}

.field-note {
  margin: 0.85rem 0 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

@media (max-width: 560px) {
  .form-grid { grid-template-columns: 1fr; }
  .field-span-2 { grid-column: auto; }
}





/* Custom select mark: white circle + green check mark at 3× circle size */
.check-card {
  position: relative;
}

.check-card input[type="checkbox"],
.radio-pill input[type="checkbox"],
.radio-pill input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 1.2rem;
  height: 1.2rem;
  margin: 0;
  flex-shrink: 0;
  border-radius: 50%;
  border: 2px solid #1a1a1a;
  background: #fff;
  cursor: pointer;
  position: relative;
  z-index: 1;
}

/* Oversized X centered on the checkbox/radio (3× the 1.2rem circle) */
.check-card:has(> input[type="checkbox"]:checked)::before,
.check-card-main:has(> input[type="checkbox"]:checked)::before,
.radio-pill:has(> input:checked)::before {
  content: "";
  position: absolute;
  width: 2.1rem;
  height: 2.1rem;
  filter: drop-shadow(0 0 3px rgba(80, 255, 90, 0.95)) drop-shadow(0 0 8px hsla(115, 85%, 45%, 0.7));
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M2.8 8.2 L6.4 12.1 L13.4 3.6' stroke='%23000' stroke-width='3.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M2.8 8.2 L6.4 12.1 L13.4 3.6' stroke='%2339d52a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  pointer-events: none;
  z-index: 2;
}

.check-card:has(> input[type="checkbox"]:checked)::before,
.check-card-main:has(> input[type="checkbox"]:checked)::before {
  left: calc(1rem + 0.6rem);
  top: 50%;
  transform: translate(-50%, -50%);
}

.radio-pill {
  position: relative;
}

.radio-pill:has(> input:checked)::before {
  left: calc(1rem + 0.6rem);
  top: 50%;
  transform: translate(-50%, -50%);
}

/* Event-type cards: white circle + 3× X in the corner */
.option-card::after {
  content: "";
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  border: 2px solid #1a1a1a;
  background: #fff;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.15s ease, transform 0.15s ease;
  pointer-events: none;
  z-index: 1;
}

.option-card::before {
  content: "";
  position: absolute;
  top: calc(0.55rem + 0.575rem);
  right: calc(0.55rem + 0.575rem);
  width: 2.01rem;
  height: 2.01rem;
  filter: drop-shadow(0 0 3px rgba(80, 255, 90, 0.95)) drop-shadow(0 0 8px hsla(115, 85%, 45%, 0.7));
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M2.8 8.2 L6.4 12.1 L13.4 3.6' stroke='%23000' stroke-width='3.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M2.8 8.2 L6.4 12.1 L13.4 3.6' stroke='%2339d52a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: 0;
  transform: translate(50%, -50%) scale(0.85);
  transition: opacity 0.15s ease, transform 0.15s ease;
  pointer-events: none;
  z-index: 2;
}

.option-card:has(input:checked)::after,
.option-card.selected::after {
  opacity: 1;
  transform: scale(1);
}

.option-card:has(input:checked)::before,
.option-card.selected::before {
  opacity: 1;
  transform: translate(50%, -50%) scale(1);
}

/* Services checkboxes */


.check-card:has(.service-emoji) {
  grid-template-columns: auto auto 1fr;
}

.service-emoji {
  font-size: 1.75rem;
  line-height: 1;
  width: 2rem;
  text-align: center;
  flex-shrink: 0;
}

.check-grid {
  display: grid;
  gap: 0.65rem;
}

.check-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 1rem;
  background: var(--bg-option);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.check-card:hover { border-color: var(--accent-orange); }

.check-card:has(input:checked),
.check-card.checked {
  border-color: var(--accent);
  background: linear-gradient(180deg, hsla(115, 85%, 45%, 0.22), var(--bg-option));
  box-shadow: inset 0 0 0 1px hsla(63, 99%, 51%, 0.45), 0 0 14px hsla(115, 90%, 45%, 0.45), 0 0 26px hsla(63, 99%, 51%, 0.25);
}

.check-card.locked {
  cursor: default;
  opacity: 0.95;
}

/* check-card input: see custom select mark above */

.check-body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.check-body strong {
  font-family: var(--font-head);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.check-body em {
  font-style: normal;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.badge {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.55rem;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--bg);
}

/* Review */
.review-box {
  margin-bottom: 1.15rem;
  padding: 1rem 1.1rem;
  background: linear-gradient(135deg, hsla(63, 99%, 51%, 0.08), hsla(27, 100%, 57%, 0.06));
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  font-size: 0.9rem;
}

.review-box dl {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 0.4rem 0.75rem;
  margin: 0;
}

.review-box dt {
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding-top: 0.15rem;
}

.review-box dd {
  margin: 0;
  font-weight: 600;
}

/* Nav buttons */
.wizard-nav {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 5;
  pointer-events: auto;
}
.wizard-nav .btn {
  pointer-events: auto;
  position: relative;
  z-index: 6;
}

.btn {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.8rem 1.4rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}

.btn:active { transform: scale(0.98); }

.btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
}

.btn-primary {
  --btn-green: hsl(142, 48%, 38%);
  --btn-green-soft: hsl(142, 42%, 44%);
  --btn-green-deep: hsl(142, 52%, 32%);
  background: linear-gradient(180deg, var(--btn-green-soft), var(--btn-green));
  color: hsl(40, 40%, 98%);
  border-color: hsl(142, 40%, 28%);
  margin-left: auto;
  box-shadow: 0 0 16px hsla(142, 70%, 45%, 0.45), 0 0 32px hsla(142, 55%, 40%, 0.28), inset 0 1px 0 hsla(0, 0%, 100%, 0.12);
  animation: btn-green-glow 2.4s ease-in-out infinite;
}

@keyframes btn-green-glow {
  0%, 100% { box-shadow: 0 0 14px hsla(142, 70%, 45%, 0.4), 0 0 28px hsla(142, 55%, 40%, 0.22), inset 0 1px 0 hsla(0, 0%, 100%, 0.12); }
  50% { box-shadow: 0 0 22px hsla(142, 75%, 48%, 0.55), 0 0 40px hsla(142, 60%, 42%, 0.35), inset 0 1px 0 hsla(0, 0%, 100%, 0.14); }
}

.btn-primary:hover:not(:disabled) {
  color: hsl(40, 40%, 98%);
  background: linear-gradient(180deg, hsl(142, 48%, 48%), var(--btn-green-soft));
  border-color: hsl(142, 45%, 30%);
  box-shadow: 0 0 28px hsla(142, 55%, 42%, 0.5), inset 0 1px 0 hsla(0, 0%, 100%, 0.15);
}

.btn-primary.is-submit {
  background: linear-gradient(180deg, hsl(142, 50%, 46%), var(--btn-green-deep));
  color: hsl(40, 40%, 98%);
  border-color: hsl(142, 45%, 26%);
  box-shadow: 0 0 22px hsla(142, 55%, 40%, 0.4), inset 0 1px 0 hsla(0, 0%, 100%, 0.12);
}

.btn-primary.is-submit:hover:not(:disabled) {
  background: linear-gradient(180deg, hsl(142, 52%, 50%), hsl(142, 48%, 38%));
  color: var(--bg);
  border-color: var(--accent-orange);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: var(--border-strong);
}

.btn-ghost:hover:not(:disabled) {
  color: var(--accent-orange);
  border-color: var(--accent-orange);
}

/* Result */
.result {
  text-align: center;
  padding: 0.5rem 0 0.25rem;
}

.result-badge {
  display: inline-block;
  margin-bottom: 0.85rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--success);
  border-radius: var(--radius-pill);
}

.result-title {
  margin: 0 0 0.6rem;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.55rem;
  text-transform: uppercase;
  color: var(--accent-yellow);
}

.result-lede {
  margin: 0 auto 1.25rem;
  max-width: 28rem;
  color: var(--text-muted);
}

.placeholder-quote {
  margin: 0 auto 1.25rem;
  padding: 1.25rem;
  max-width: 22rem;
  background: var(--bg);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: 0 0 30px hsla(63, 99%, 51%, 0.15);
}

.pq-label {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-orange);
  margin-bottom: 0.35rem;
}

.pq-range {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 2rem;
  color: var(--accent);
  letter-spacing: 0.02em;
}

.pq-note {
  margin: 0.65rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.result-summary {
  text-align: left;
  margin: 0 0 1.25rem;
  padding: 1rem;
  background: var(--bg-option);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  font-size: 0.88rem;
}

.result-summary dl {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 0.35rem 0.75rem;
  margin: 0;
}

.result-summary dt {
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.result-summary dd { margin: 0; font-weight: 600; }

.site-footer {
  text-align: center;
  padding: 0 1.25rem 2.5rem;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.site-footer p { margin: 0.25rem 0; }
.footer-note { opacity: 0.7; font-size: 0.72rem; }

/* Date/time inputs on dark — fix WebKit */
input[type="date"],
input[type="time"] {
  color-scheme: dark;
}

/* Large custom calendar for event and bar show dates */
.rdj-date-picker {
  position: relative;
  width: 100%;
}

.field .rdj-date-source {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  opacity: 0 !important;
}

.rdj-date-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  min-height: 3.15rem;
  padding: 0.75rem 0.85rem;
  font: 400 1rem var(--font-body);
  text-align: left;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text-muted);
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, color 0.2s;
}

.rdj-date-trigger:hover,
.rdj-date-picker.is-open .rdj-date-trigger {
  border-color: var(--accent);
}

.rdj-date-trigger:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px hsla(63, 99%, 51%, 0.2);
}

.rdj-date-trigger.has-value { color: var(--text); }
.rdj-date-trigger-icon { color: var(--accent); font-size: 1.3rem; line-height: 1; }

/* Availability indicator next to date + start-time (indicator only — does not block submit) */
.date-avail {
  display: block;
  margin-top: 0.4rem;
  min-height: 1.25em;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.3;
}
.date-avail.is-empty { min-height: 0; }
.date-avail.is-available { color: var(--success); }
.date-avail.is-booked { color: var(--danger); }
.date-avail.is-outside,
.date-avail.is-request {
  display: inline-flex;
  align-items: center;
  margin-top: 0.45rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid hsla(63, 99%, 51%, 0.45);
  border-radius: 999px;
  color: var(--accent-yellow);
  background: hsla(63, 99%, 51%, 0.1);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 0 10px hsla(63, 99%, 51%, 0.12);
}
.date-avail.is-muted,
.date-avail.is-checking {
  color: var(--text-muted);
  font-weight: 500;
}

.rdj-calendar {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  z-index: 30;
  width: min(100%, 390px);
  min-width: 300px;
  padding: 1rem;
  color: var(--text);
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.7), 0 0 0 1px hsla(63, 99%, 51%, 0.08);
}

.rdj-calendar[hidden] { display: none !important; }
.rdj-calendar-header { display: grid; grid-template-columns: 2.75rem 1fr 2.75rem; align-items: center; gap: 0.55rem; margin-bottom: 1rem; }
.rdj-calendar-month { color: var(--accent-yellow); font: 900 1.25rem/1.2 var(--font-head); text-align: center; }
.rdj-calendar-nav,
.rdj-calendar-today {
  border: 1px solid var(--border-strong);
  color: var(--text);
  background: var(--bg);
  cursor: pointer;
}
.rdj-calendar-nav { width: 2.75rem; height: 2.75rem; border-radius: 10px; font-size: 2rem; line-height: 1; }
.rdj-calendar-nav:hover:not(:disabled),
.rdj-calendar-today:hover { color: var(--bg); background: var(--accent); border-color: var(--accent); }
.rdj-calendar-nav:disabled { opacity: 0.3; cursor: not-allowed; }
.rdj-calendar-nav:focus-visible,
.rdj-calendar-today:focus-visible,
.rdj-calendar-day:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.rdj-calendar-weekdays,
.rdj-calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0.3rem; }
.rdj-calendar-weekdays { margin-bottom: 0.3rem; color: var(--text-muted); font-size: 0.7rem; font-weight: 800; text-align: center; text-transform: uppercase; letter-spacing: 0.04em; }
.rdj-calendar-day { min-width: 0; min-height: 2.9rem; padding: 0.25rem; border: 1px solid transparent; border-radius: 9px; color: var(--text); background: transparent; cursor: pointer; font: 700 1.12rem/1 var(--font-body); }
.rdj-calendar-day:hover:not(:disabled) { background: hsla(63, 99%, 51%, 0.13); border-color: var(--accent); }
.rdj-calendar-day.is-adjacent { color: var(--text-muted); opacity: 0.32; }
.rdj-calendar-day:disabled { cursor: not-allowed; }
.rdj-calendar-day.is-today { border-color: var(--accent-orange); color: var(--accent-orange); }
.rdj-calendar-day.is-selected { color: var(--bg); background: var(--accent); border-color: var(--accent); box-shadow: 0 0 12px hsla(63, 99%, 51%, 0.28); }
.rdj-calendar-day.is-selected.is-today { color: var(--bg); border-color: var(--accent); }
/* Open-event available days — green box; selected state above still wins */
.rdj-calendar-day.is-open-day:not(:disabled):not(.is-selected) {
  color: hsl(145, 80%, 72%);
  background: hsla(145, 70%, 45%, 0.22);
  border-color: var(--success);
  box-shadow: 0 0 12px hsla(145, 70%, 45%, 0.3);
}
.rdj-calendar-day.is-open-day.is-today:not(.is-selected) {
  color: hsl(145, 80%, 72%);
  border-color: var(--success);
}
.rdj-calendar-day.is-open-day:hover:not(:disabled):not(.is-selected) {
  background: hsla(145, 70%, 45%, 0.34);
  border-color: var(--success);
}
.rdj-calendar-today { display: block; width: 100%; margin-top: 0.9rem; padding: 0.65rem; border-radius: 9px; font: 700 0.9rem var(--font-head); text-transform: uppercase; letter-spacing: 0.05em; }

@media (max-width: 560px) {
  .rdj-calendar { width: 100%; min-width: 0; }
  .rdj-calendar-day { min-height: 3rem; font-size: 1.15rem; }
}

/* ---- Pricing update: venue Qs, bars multi-date, quote breakdown ---- */

.field-help {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.75rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text-muted);
  line-height: 1.4;
}

.info-callout {
  margin: 0 0 1.1rem;
  padding: 0.95rem 1.05rem;
  background: linear-gradient(135deg, hsla(63, 99%, 51%, 0.1), hsla(27, 100%, 57%, 0.08));
  border: 1px solid var(--border-strong);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  font-size: 0.88rem;
  color: var(--text-muted);
}

.info-callout strong {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--font-head);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
}

.info-callout p {
  margin: 0;
  line-height: 1.45;
}

.info-callout p strong {
  display: inline;
  font-family: var(--font-body);
  font-size: inherit;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text);
}

.bars-block {
  margin-top: 0.25rem;
}

.show-dates {
  margin-top: 1rem;
  display: grid;
  gap: 0.75rem;
}

.travel-preview {
  margin-top: 0.85rem;
  padding: 0.85rem 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 0.88rem;
}

.tp-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.25rem 0;
}

.tp-row span { color: var(--text-muted); }
.tp-row strong { color: var(--accent); font-weight: 700; }
.tp-row em {
  font-style: normal;
  font-weight: 400;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Venue questions */
.venue-questions {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

.mini-fieldset {
  margin: 0;
  padding: 1rem 1.05rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-option);
}

.mini-legend {
  padding: 0 0.35rem;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.65rem;
}

.radio-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1rem;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.radio-pill:hover { border-color: var(--accent-orange); }

.radio-pill:has(input:checked),
.radio-pill.selected {
  border-color: var(--accent);
  background: linear-gradient(180deg, hsla(115, 85%, 45%, 0.26), hsla(63, 99%, 51%, 0.12) 60%, var(--bg));
  box-shadow: 0 0 0 2px var(--accent), 0 0 14px hsla(115, 90%, 45%, 0.5), 0 0 24px hsla(63, 99%, 51%, 0.28);
}

/* radio-pill input: see custom select mark above */

/* Quote breakdown */

.qb-pay-schedule {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 0.85rem;
}

.qb-pay-block {
  padding: 0.7rem 0.75rem 0.55rem;
  border-radius: calc(var(--radius) - 2px);
  border: 1px solid var(--border);
  background: hsla(0, 0%, 100%, 0.03);
}

.qb-pay-today {
  border-color: hsla(45, 80%, 50%, 0.45);
  background: linear-gradient(180deg, hsla(45, 70%, 45%, 0.12), transparent);
}

.qb-pay-later {
  border-color: hsla(142, 55%, 42%, 0.4);
  background: linear-gradient(180deg, hsla(142, 55%, 40%, 0.1), transparent);
}

.qb-pay-label {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.qb-pay-today .qb-pay-label { color: var(--accent-gold); }
.qb-pay-later .qb-pay-label { color: hsl(142, 55%, 55%); }

.qb-pay-block .qb-row {
  border-bottom: 0;
  padding: 0.25rem 0;
}

.qb-pay-block .qb-row.qb-balance-due {
  margin-top: 0.15rem;
  padding: 0.55rem 0.45rem;
}

.qb-pay-hint {
  margin: 0.2rem 0 0;
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.quote-breakdown .qb-header {
  margin-bottom: 0.55rem;
}



.qb-details {
  margin: 0 0 0.35rem;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) - 2px);
  background: hsla(0, 0%, 100%, 0.02);
}

.qb-summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-orange);
  user-select: none;
}

.qb-summary::-webkit-details-marker { display: none; }

.qb-summary::after {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid var(--accent-orange);
  border-bottom: 2px solid var(--accent-orange);
  transform: rotate(45deg);
  transition: transform 0.15s ease;
  flex-shrink: 0;
  margin-top: -0.15rem;
}

.qb-details[open] > .qb-summary::after {
  transform: rotate(-135deg);
  margin-top: 0.15rem;
}

.qb-details-body {
  padding: 0 0.85rem 0.55rem;
  border-top: 1px solid var(--border);
}

.qb-details-body .qb-row:last-child {
  border-bottom: 0;
}

.quote-breakdown {
  margin: 0 0 1.25rem;
  padding: 1.1rem 1.15rem;
  background: var(--bg);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: 0 0 28px hsla(63, 99%, 51%, 0.12);
  text-align: left;
}

.quote-breakdown--final {
  margin: 0 auto 1.25rem;
  max-width: 28rem;
}

.qb-header {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-orange);
  margin-bottom: 0.75rem;
}

.qb-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.qb-row:last-of-type { border-bottom: 0; }

.qb-row span { color: var(--text-muted); }
.qb-row strong { color: var(--text); font-weight: 700; white-space: nowrap; }
.qb-row em {
  font-style: normal;
  font-weight: 400;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.qb-row.qb-total {
  margin-top: 0.35rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--accent);
  border-bottom: 0;
}

.qb-row.qb-total span,
.qb-row.qb-total strong {
  font-family: var(--font-head);
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent);
}


.qb-row.qb-balance-due {
  margin-top: 0.55rem;
  padding: 0.85rem 0.65rem;
  border-radius: calc(var(--radius) - 2px);
  border-top: 1px solid hsl(142, 55%, 42%);
  background: linear-gradient(180deg, hsla(142, 55%, 40%, 0.18), transparent);
  box-shadow: 0 0 18px hsla(142, 70%, 42%, 0.45), 0 0 36px hsla(142, 60%, 38%, 0.28);
}

.qb-row.qb-balance-due span,
.qb-row.qb-balance-due strong {
  font-family: var(--font-head);
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: hsl(142, 70%, 58%);
  text-shadow: 0 0 10px hsla(142, 80%, 50%, 0.65), 0 0 22px hsla(142, 70%, 40%, 0.45);
}

.qb-row.qb-balance-due strong {
  font-size: 1.55rem;
  white-space: nowrap;
}

.qb-row.qb-deposit span { color: var(--accent-gold); }
.qb-row.qb-deposit strong { color: var(--accent-gold); }

.qb-row.qb-note {
  flex-wrap: wrap;
  border-bottom: 1px dashed var(--border);
}

.qb-row.qb-note strong {
  white-space: normal;
  text-align: right;
  font-weight: 600;
  font-size: 0.82rem;
}

.qb-footnote {
  margin: 0.75rem 0 0;
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Slightly denser option grid for 8 event types */
.option-grid {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

/* Priced lighting add-ons */
.price-tag { color: var(--accent); font-weight: 700; }

.badge-price {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.check-card--expandable {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 0;
  cursor: default;
}

.check-card-main {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 1rem;
  cursor: pointer;
}

/* Uplighting expandable: same green check as other service cards */
.check-card-main {
  position: relative;
}

.check-card--expandable:has(input[type="checkbox"]:checked)::before {
  content: none; /* check sits on the main row, not the whole expandable */
}

.check-card-main:has(> input[type="checkbox"]:checked)::before {
  content: "";
  position: absolute;
  width: 2.1rem;
  height: 2.1rem;
  left: calc(1rem + 0.6rem);
  top: 50%;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 0 3px rgba(80, 255, 90, 0.95)) drop-shadow(0 0 8px hsla(115, 85%, 45%, 0.7));
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M2.8 8.2 L6.4 12.1 L13.4 3.6' stroke='%23000' stroke-width='3.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M2.8 8.2 L6.4 12.1 L13.4 3.6' stroke='%2339d52a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  pointer-events: none;
  z-index: 2;
}

.check-card--expandable:has(input[type="checkbox"]:checked),
.check-card--expandable.checked {
  border-color: var(--accent);
  background: linear-gradient(180deg, hsla(115, 85%, 45%, 0.22), var(--bg-option));
  box-shadow: inset 0 0 0 1px hsla(63, 99%, 51%, 0.45), 0 0 14px hsla(115, 90%, 45%, 0.45), 0 0 26px hsla(63, 99%, 51%, 0.25);
}


.check-card--expandable .addon-extra {
  padding: 0 1rem 0.95rem;
  border-top: 1px dashed var(--border);
}

.field-inline {
  margin-top: 0.75rem;
  max-width: 14rem;
}

.field-inline input {
  margin-top: 0.35rem;
}


/* Wedding parts + muted badge */
.wedding-parts {
  margin-bottom: 1.25rem;
  padding: 1rem 1.05rem;
  background: linear-gradient(135deg, hsla(63, 99%, 51%, 0.07), hsla(27, 100%, 57%, 0.05));
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.subhead {
  margin: 0 0 0.35rem;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-yellow);
}

.wedding-parts-grid {
  margin-top: 0.75rem;
}

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

/* Setup window + overtime + festival PA */
.setup-preview,
.overtime-preview {
  margin-top: 0.85rem;
  padding: 0.85rem 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.setup-preview strong,
.overtime-preview strong {
  color: var(--accent);
}

.setup-preview em {
  display: block;
  margin-top: 0.25rem;
  font-style: normal;
  font-size: 0.78rem;
  opacity: 0.85;
}

.festival-pa-block {
  margin: 1.15rem 0 0;
}

.best-value-tag {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.15rem 0.45rem;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--bg);
  background: var(--accent);
  border-radius: var(--radius-pill);
  vertical-align: middle;
}

.power-distance-wrap{margin-top:.25rem;padding-top:.35rem;border-top:1px dashed var(--border);}


/* Venue name Nominatim autocomplete */
.venue-name-field .venue-suggest-wrap {
  position: relative;
  width: 100%;
}

.venue-suggest {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  margin: 0;
  padding: 0.35rem 0;
  list-style: none;
  z-index: 40;
  max-height: min(280px, 45vh);
  overflow-y: auto;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  box-shadow: var(--shadow);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}

.venue-suggest[hidden] {
  display: none !important;
}

.venue-suggest-item {
  display: block;
  width: 100%;
  padding: 0.65rem 0.85rem;
  cursor: pointer;
  border: none;
  background: transparent;
  color: var(--text);
  text-align: left;
  font: 400 0.95rem var(--font-body);
  border-left: 3px solid transparent;
}

.venue-suggest-item:hover,
.venue-suggest-item.is-active,
.venue-suggest-item[aria-selected="true"] {
  background: color-mix(in srgb, var(--accent) 12%, var(--bg-card));
  border-left-color: var(--accent);
}

.venue-suggest-name {
  display: block;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.venue-suggest-addr {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.35;
  font-weight: 400;
}

.venue-suggest-empty,
.venue-suggest-status {
  padding: 0.75rem 0.85rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

@media (max-width: 560px) {
  .venue-suggest {
    max-height: min(240px, 40vh);
  }
}

.geocode-status {
  margin-top: 0.85rem;
  padding: 0.75rem 1rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.geocode-status strong { color: var(--accent); }
.geocode-status.is-ok {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
  background: color-mix(in srgb, var(--accent) 10%, var(--bg));
  color: var(--text);
}
.geocode-status.is-err {
  border-color: color-mix(in srgb, #e85d5d 50%, var(--border));
  background: color-mix(in srgb, #e85d5d 10%, var(--bg));
  color: var(--text);
}


/* Shown until JS marks root data-rdj-ready — Bandzoogle script-strip warning */
.rdj-script-fallback {
  display: block;
  margin: 0.75rem 1.25rem 0;
  padding: 0.75rem 1rem;
  background: #3b0000;
  color: #ffc9c9;
  border: 1px solid hsl(0, 77%, 50%);
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  text-align: center;
  line-height: 1.35;
}
#rockerdj-quote-root[data-rdj-ready="1"] .rdj-script-fallback,
.rdj-script-fallback[hidden] {
  display: none !important;
}


/* Iframe embed: allow vertical overflow as safety; sticky nav keeps Next/Request visible */
html.rdj-iframe, html.rdj-iframe body {
  min-height: 0;
  height: auto;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--bg);
}
html.rdj-iframe #rockerdj-quote-root {
  min-height: 0;
  overflow: visible;
  padding-bottom: 0.5rem;
}
html.rdj-iframe .wizard-card {
  overflow: visible;
  padding-bottom: 1.75rem;
}
html.rdj-iframe .wizard-nav {
  position: sticky;
  bottom: 0;
  z-index: 40;
  margin-top: 1.25rem;
  padding-top: 1rem;
  padding-bottom: calc(1.35rem + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, hsla(0, 0%, 10%, 0), var(--bg-card) 32%, var(--bg-card));
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.35);
}
#rockerdj-quote-root {
  min-height: 0;
}

#custom-hours-wrap[hidden] {
  display: none !important;
}

#uplightCount {
  font-size: 1.25rem;
  font-weight: 600;
  min-height: 3rem;
  padding: 0.85rem 1rem;
}

#power-custom-ft-wrap[hidden] {
  display: none !important;
}

.qb-row.qb-pay-on-time {
  margin: 0.35rem 0;
  padding: 0.65rem 0.55rem;
  border-radius: 10px;
  background: hsla(63, 99%, 51%, 0.12);
  border: 1px solid hsla(63, 99%, 51%, 0.45);
  border-bottom: 1px solid hsla(63, 99%, 51%, 0.45);
}
.qb-row.qb-pay-on-time span,
.qb-row.qb-pay-on-time strong {
  color: var(--accent);
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.25;
}

#eventDate {
  font-size: 1.25rem;
  font-weight: 600;
  min-height: 3rem;
  padding: 0.85rem 1rem;
}

.rdj-date-source {
  pointer-events: none !important;
}
input[type="date"].rdj-date-source::-webkit-calendar-picker-indicator {
  display: none !important;
}

.progress-steps li.is-clickable {
  cursor: pointer;
}
.progress-steps li.is-clickable:hover span {
  transform: scale(1.08);
  box-shadow: 0 0 16px hsla(45, 90%, 55%, 0.55);
}
.progress-steps li.is-clickable:focus-visible span {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.qb-wait {
  margin: 0.85rem 0 0;
  padding: 1rem 1.1rem;
  border: 1px dashed var(--border-strong);
  border-radius: 12px;
  color: var(--text-muted);
  font-size: 0.95rem;
  text-align: center;
}

.radio-pill small {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.72rem;
  font-weight: 500;
  opacity: 0.8;
  text-transform: none;
  letter-spacing: 0;
}


/* Bars: apply start/end times to all show dates (check-card styling) */
.bars-apply-times.check-card {
  grid-column: 1 / -1;
  margin-top: 0.35rem;
  margin-bottom: 0;
}
#bars-times-vary-note {
  margin-top: 0.25rem;
  grid-column: 1 / -1;
}

.show-date-row {
  display: grid;
  gap: 0.65rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
  grid-column: 1 / -1;
}
.show-date-row .show-date-time {
  display: grid;
  gap: 0.5rem;
}
@media (min-width: 640px) {
  .show-date-row {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: end;
  }
}
.show-dates.per-show-times {
  display: grid;
  gap: 0.75rem;
}

/* Bars multi-show savings — green glow */
.bars-savings-glow {
  display: inline-block;
  margin-top: 0.45rem;
  padding: 0.45rem 0.7rem;
  border-radius: 10px;
  color: hsl(142, 70%, 62%);
  background: linear-gradient(180deg, hsla(142, 55%, 40%, 0.2), hsla(142, 50%, 30%, 0.08));
  border: 1px solid hsla(142, 55%, 42%, 0.55);
  box-shadow: 0 0 16px hsla(142, 70%, 42%, 0.45), 0 0 32px hsla(142, 60%, 38%, 0.28);
  animation: bars-savings-pulse 2.4s ease-in-out infinite;
}
.bars-savings-glow strong {
  color: hsl(142, 75%, 68%);
  text-shadow: 0 0 10px hsla(142, 80%, 50%, 0.65), 0 0 20px hsla(142, 70%, 40%, 0.4);
}
.qb-row.qb-bars-savings {
  margin-top: 0.35rem;
  padding: 0.7rem 0.65rem;
  border-radius: calc(var(--radius) - 2px);
  border-top: 1px solid hsl(142, 55%, 42%);
  background: linear-gradient(180deg, hsla(142, 55%, 40%, 0.18), transparent);
  box-shadow: 0 0 18px hsla(142, 70%, 42%, 0.45), 0 0 36px hsla(142, 60%, 38%, 0.28);
  animation: bars-savings-pulse 2.4s ease-in-out infinite;
}
.qb-row.qb-bars-savings span,
.qb-row.qb-bars-savings strong {
  color: hsl(142, 70%, 58%);
  text-shadow: 0 0 10px hsla(142, 80%, 50%, 0.65), 0 0 22px hsla(142, 70%, 40%, 0.45);
}
@keyframes bars-savings-pulse {
  0%, 100% { box-shadow: 0 0 14px hsla(142, 70%, 45%, 0.4), 0 0 28px hsla(142, 55%, 40%, 0.22); }
  50% { box-shadow: 0 0 22px hsla(142, 75%, 48%, 0.55), 0 0 40px hsla(142, 60%, 42%, 0.35); }
}


/* Bars: Number of shows + savings pop-up to the right */
.bars-showcount-row {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.15rem;
  grid-column: 1 / -1;
  width: 100%;
}
.bars-showcount-field {
  flex: 0 0 auto;
  min-width: 12rem;
  max-width: 15rem;
}
.bars-showcount-field > span {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}
.bars-showcount-input,
#showCount.bars-showcount-input,
.bars-showcount-field input[type="number"] {
  width: 9.5rem !important;
  min-height: 5rem !important;
  height: 5rem !important;
  padding: 0.5rem 0.65rem !important;
  font-size: 3.2rem !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  letter-spacing: 0.02em;
  text-align: center;
  border-radius: 14px !important;
  border: 2px solid hsla(142, 55%, 48%, 0.55) !important;
  background: linear-gradient(180deg, hsla(0,0%,100%,0.08), hsla(0,0%,0%,0.25)) !important;
  box-shadow: 0 0 0 1px hsla(142, 50%, 40%, 0.25), 0 0 18px hsla(142, 60%, 40%, 0.25);
  color: #fff !important;
}
.bars-showcount-field input[type="number"]:focus {
  outline: none;
  border-color: hsl(142, 70%, 55%) !important;
  box-shadow: 0 0 0 3px hsla(142, 70%, 45%, 0.35), 0 0 24px hsla(142, 65%, 42%, 0.4);
}
.bars-savings-popup {
  position: relative;
  display: none;
  flex: 1 1 16rem;
  max-width: 26rem;
  padding: 0.95rem 1.05rem;
  border-radius: 14px;
  color: hsl(38, 95%, 78%);
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.35;
  background: linear-gradient(180deg, hsla(38, 75%, 42%, 0.38), hsla(38, 65%, 24%, 0.22));
  border: 2px solid hsla(38, 85%, 55%, 0.75);
  box-shadow: 0 0 22px hsla(38, 90%, 48%, 0.5), 0 10px 28px rgba(0,0,0,0.4);
  animation: bars-savings-pulse 2.4s ease-in-out infinite, bars-popup-in 0.28s ease-out;
  z-index: 2;
}
.bars-savings-popup.is-open,
.bars-savings-popup:not([hidden]) {
  display: block;
}
.bars-savings-popup[hidden] {
  display: none !important;
}
.bars-savings-popup strong {
  color: hsl(42, 100%, 80%);
  font-size: 1.12em;
  text-shadow: 0 0 12px hsla(42, 95%, 55%, 0.65);
}
.bars-savings-popup::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 1.35rem;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 10px solid hsla(38, 85%, 55%, 0.95);
}
@keyframes bars-popup-in {
  from { opacity: 0; transform: translateX(-8px) scale(0.97); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}
@media (max-width: 560px) {
  .bars-showcount-row {
    align-items: stretch;
  }
  .bars-showcount-field,
  .bars-showcount-field input[type="number"] {
    max-width: none;
    width: 100% !important;
  }
  .bars-savings-popup {
    max-width: none;
  }
  .bars-savings-popup::before {
    left: 1.4rem;
    top: -10px;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid hsla(38, 85%, 55%, 0.95);
    border-top: 0;
  }
}

.bars-savings-nudge {
  display: inline-block;
  margin-top: 0.45rem;
  padding: 0.45rem 0.7rem;
  border-radius: 10px;
  color: hsl(38, 90%, 68%);
  background: linear-gradient(180deg, hsla(38, 70%, 40%, 0.22), hsla(38, 60%, 28%, 0.1));
  border: 1px solid hsla(38, 75%, 48%, 0.55);
  box-shadow: 0 0 14px hsla(38, 80%, 45%, 0.35), 0 0 28px hsla(38, 70%, 40%, 0.2);
  animation: bars-savings-pulse 2.4s ease-in-out infinite;
}
.bars-savings-nudge strong {
  color: hsl(42, 95%, 72%);
  text-shadow: 0 0 10px hsla(42, 90%, 55%, 0.55);
}

.check-card.invalid {
  outline: 2px solid rgba(255, 90, 90, 0.85);
  outline-offset: 2px;
}


/* Step 5: Guest acknowledgement — Hilton/Marriott-style final confirmation */
.quote-certify-block {
  margin-top: 1.75rem;
  padding: 1.35rem 1.4rem 1.45rem;
  border-radius: 12px;
  border: 1px solid hsla(42, 45%, 55%, 0.35);
  border-top: 3px solid hsl(42, 72%, 58%);
  background:
    linear-gradient(180deg, hsla(40, 30%, 18%, 0.55), hsla(0, 0%, 6%, 0.72));
  box-shadow:
    0 1px 0 hsla(42, 80%, 70%, 0.12) inset,
    0 12px 32px rgba(0, 0, 0, 0.4);
}
.quote-certify-eyebrow {
  margin: 0 0 0.35rem;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: hsl(42, 55%, 62%);
}
.quote-certify-heading {
  margin: 0 0 0.45rem;
  font-family: var(--font-head);
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  color: hsl(40, 90%, 92%);
}
.quote-certify-lede {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 38rem;
}
.quote-certify-card.check-card,
#quote-certify-card.check-card {
  margin-top: 0;
  padding: 1rem 1.05rem;
  border-width: 1px;
  border-radius: 10px;
  border-color: hsla(42, 40%, 50%, 0.4);
  background: linear-gradient(180deg, hsla(0, 0%, 100%, 0.05), hsla(0, 0%, 0%, 0.22));
  box-shadow: none;
}
.quote-certify-card.check-card:hover,
#quote-certify-card.check-card:hover {
  border-color: hsl(42, 70%, 58%);
  background: linear-gradient(180deg, hsla(42, 40%, 40%, 0.12), hsla(0, 0%, 0%, 0.22));
}
.quote-certify-card.check-card:has(input:checked),
#quote-certify-card.check-card:has(input:checked),
.quote-certify-card.check-card.checked,
#quote-certify-card.check-card.checked {
  border-color: hsl(145, 55%, 48%);
  background: linear-gradient(180deg, hsla(145, 50%, 35%, 0.18), var(--bg-option));
  box-shadow: 0 0 0 1px hsla(145, 55%, 45%, 0.25);
}
.quote-certify-block:has(#quote-certify-card.invalid),
.quote-certify-card.check-card.invalid,
#quote-certify-card.check-card.invalid {
  border-color: hsl(0, 70%, 55%);
  box-shadow: 0 0 0 2px hsla(0, 70%, 50%, 0.3);
}
.quote-certify-card .check-body strong {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.45;
  color: hsl(36, 40%, 90%);
  letter-spacing: 0.01em;
}

/* ==========================================================================
   Mobile polish (~375–430px phones + iframe embed)
   Visual/layout only — no copy or behavior changes
   ========================================================================== */

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html,
body,
#rockerdj-quote-root,
.wizard-shell,
.wizard-card,
.step {
  overflow-x: clip;
  max-width: 100%;
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .site-header {
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 0.85rem 0.9rem 0.35rem;
  }

  .brand-logo {
    width: 48px;
    height: 48px;
  }

  .brand-name {
    font-size: 0.95rem;
  }

  .header-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 0.65rem 1rem;
  }

  .wizard-shell {
    padding: 0.65rem 0.75rem 2rem;
  }

  .hero-intro {
    margin: 1rem 0 1.15rem;
  }

  .hero-intro h1 {
    font-size: clamp(1.35rem, 6.5vw, 1.75rem);
  }

  .lede {
    font-size: 0.95rem;
    line-height: 1.45;
    padding: 0 0.15rem;
  }

  .progress-wrap {
    padding: 0.85rem 0.8rem 0.95rem;
    margin-bottom: 1rem;
  }

  .progress-meta {
    flex-wrap: wrap;
    gap: 0.35rem 0.75rem;
    font-size: 0.8rem;
  }

  .progress-steps span {
    width: 32px;
    height: 32px;
    font-size: 0.8rem;
  }

  .wizard-card {
    padding: 1.15rem 0.9rem 1.05rem;
    border-radius: 14px;
  }

  .step legend {
    font-size: 1.2rem;
    line-height: 1.2;
  }

  .step-hint {
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.45;
  }

  /* Option grids: comfortable 2-col on phones, no squeeze */
  .option-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }

  .option-card {
    min-height: 8.5rem;
    padding: 0.85rem 0.55rem;
    /* ≥44px tap feel via height + padding */
  }

  .option-label {
    font-size: 0.82rem;
  }

  .option-desc {
    font-size: 0.78rem;
    line-height: 1.35;
  }

  /* Form controls — larger tap targets */
  .field {
    font-size: 0.8rem;
  }

  .field input,
  .field select,
  .field textarea {
    font-size: 1.05rem;
    min-height: 48px;
    padding: 0.85rem 0.9rem;
    border-radius: 12px;
  }

  .field textarea {
    min-height: 110px;
  }

  .field-note,
  .field-help,
  .start-end-stack > .field > em.field-note {
    font-size: 0.85rem;
    line-height: 1.4;
  }

  .info-callout {
    font-size: 0.92rem;
    padding: 0.9rem 0.95rem;
  }

  /* Check cards & radio pills */
  .check-card {
    gap: 0.7rem;
    padding: 0.95rem 0.85rem;
    min-height: 52px;
  }

  .check-body strong {
    font-size: 0.92rem;
  }

  .check-body em {
    font-size: 0.85rem;
    line-height: 1.35;
  }

  .radio-row {
    gap: 0.55rem;
  }

  .radio-pill {
    min-height: 44px;
    padding: 0.7rem 1.05rem;
    font-size: 0.95rem;
  }

  .check-card input[type="checkbox"],
  .radio-pill input[type="checkbox"],
  .radio-pill input[type="radio"] {
    width: 1.35rem;
    height: 1.35rem;
  }

  /* Nav buttons — full-width friendly, ≥44px */
  .wizard-nav {
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.25rem;
    padding-top: 1rem;
  }

  .wizard-nav .btn {
    min-height: 48px;
    padding: 0.9rem 1.25rem;
    font-size: 0.92rem;
    flex: 1 1 auto;
  }

  .btn-primary {
    min-width: min(100%, 11rem);
  }

  /* Review / quote breakdown */
  .review-box {
    padding: 0.9rem 0.85rem;
    font-size: 0.92rem;
  }

  .review-box dl {
    grid-template-columns: 1fr;
    gap: 0.15rem 0;
  }

  .review-box dt {
    margin-top: 0.45rem;
  }

  .review-box dt:first-child {
    margin-top: 0;
  }

  .quote-breakdown {
    padding: 0.95rem 0.85rem;
  }

  .qb-row {
    gap: 0.65rem;
    font-size: 0.92rem;
    align-items: flex-start;
  }

  .qb-row span {
    min-width: 0;
    flex: 1 1 auto;
    line-height: 1.35;
  }

  .qb-row strong {
    flex: 0 0 auto;
  }

  .qb-row.qb-pay-on-time span,
  .qb-row.qb-pay-on-time strong {
    font-size: 1.05rem;
  }

  .qb-pay-hint {
    font-size: 0.8rem;
  }

  /* Calendar — fill iframe width, no horizontal spill */
  .rdj-calendar {
    width: 100%;
    min-width: 0;
    left: 0;
    right: 0;
    padding: 0.75rem;
  }

  .rdj-date-trigger {
    min-height: 48px;
    font-size: 1.05rem;
    padding: 0.85rem 0.9rem;
  }

  .rdj-calendar-day {
    min-height: 44px;
    font-size: 1.05rem;
  }

  .rdj-calendar-nav,
  .rdj-calendar-today {
    min-height: 44px;
  }

  .rdj-calendar-month {
    font-size: 1.1rem;
  }

  /* Bars show-count + savings popup stack */
  .bars-showcount-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .bars-showcount-field {
    min-width: 0;
    max-width: none;
    width: 100%;
  }

  .bars-showcount-input,
  #showCount.bars-showcount-input,
  .bars-showcount-field input[type="number"] {
    width: 100% !important;
    max-width: none;
    min-height: 4.25rem !important;
    height: 4.25rem !important;
    font-size: 2.75rem !important;
  }

  .bars-savings-popup {
    flex: 1 1 auto;
    max-width: none;
    width: 100%;
    font-size: 1rem;
    padding: 0.9rem 0.95rem;
  }

  .bars-savings-popup::before {
    left: 1.4rem;
    top: -10px;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid hsla(38, 85%, 55%, 0.95);
    border-top: 0;
    border-right-color: transparent; /* reset desktop side arrow */
  }

  .show-date-row {
    padding: 0.85rem 0.75rem;
  }

  /* Guest acknowledgement */
  .quote-certify-block {
    margin-top: 1.35rem;
    padding: 1.1rem 0.95rem 1.2rem;
  }

  .quote-certify-eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
  }

  .quote-certify-heading {
    font-size: 1.15rem;
    line-height: 1.25;
  }

  .quote-certify-lede {
    font-size: 0.95rem;
  }

  .quote-certify-card.check-card,
  #quote-certify-card.check-card {
    padding: 1rem 0.9rem;
    min-height: 52px;
  }

  .quote-certify-card .check-body strong {
    font-size: 0.95rem;
    line-height: 1.45;
  }

  .site-footer {
    padding: 1rem 0.9rem 1.5rem;
    font-size: 0.85rem;
  }

  /* Uplight / date inputs already large — keep comfortable */
  #uplightCount,
  #eventDate {
    min-height: 48px;
    font-size: 1.15rem;
  }
}

/* Narrow phones (~375 and below) */
@media (max-width: 480px) {
  .wizard-shell {
    padding: 0.5rem 0.55rem 1.75rem;
  }

  .wizard-card {
    padding: 1rem 0.75rem 0.95rem;
  }

  .option-grid {
    gap: 0.55rem;
  }

  .option-card {
    min-height: 7.75rem;
    padding: 0.75rem 0.4rem;
  }

  .option-label {
    font-size: 0.78rem;
    letter-spacing: 0.03em;
  }

  .wizard-nav .btn {
    width: 100%;
    flex: 1 1 100%;
  }

  .btn-primary {
    margin-left: 0;
    order: -1; /* Next/Submit first on mobile stack */
  }

  .progress-steps {
    gap: 0.2rem;
  }

  .progress-steps span {
    width: 30px;
    height: 30px;
  }

  .bars-showcount-input,
  #showCount.bars-showcount-input,
  .bars-showcount-field input[type="number"] {
    font-size: 2.5rem !important;
    min-height: 4rem !important;
    height: 4rem !important;
  }

  .qb-row.qb-total span,
  .qb-row.qb-total strong {
    font-size: 0.98rem;
  }
}

/* Iframe embed: tighten padding when html.rdj-iframe is set on small screens */
@media (max-width: 640px) {
  html.rdj-iframe .site-header {
    padding-top: 0.65rem;
  }
  html.rdj-iframe .wizard-shell {
    padding-left: 0.55rem;
    padding-right: 0.55rem;
  }
  html.rdj-iframe .hero-intro {
    margin-top: 0.75rem;
  }
}


/* Iframe embed: extra bottom room so green Next / Request quote never clips */
html.rdj-iframe .wizard-shell {
  padding-bottom: 5rem;
}
@media (max-width: 640px) {
  html.rdj-iframe .wizard-shell {
    padding-bottom: 6.5rem !important;
  }
  html.rdj-iframe .wizard-card {
    padding-bottom: 2.25rem !important;
    border-radius: 14px;
  }
  html.rdj-iframe .wizard-nav {
    padding-bottom: calc(1.75rem + env(safe-area-inset-bottom, 0px));
  }
  html.rdj-iframe .wizard-nav .btn-primary {
    box-shadow: 0 0 0 2px hsla(142, 55%, 45%, 0.35), 0 6px 18px rgba(0, 0, 0, 0.35);
  }
  html.rdj-iframe #quote-certify-block {
    margin-bottom: 1.5rem;
  }
}
@media (max-width: 480px) {
  html.rdj-iframe .wizard-shell {
    padding-bottom: 7rem !important;
  }
}

/* Iframe embed: all-steps anti-clip (1-5 + result) */
html.rdj-iframe .step, html.rdj-iframe .result, html.rdj-iframe .option-grid, html.rdj-iframe .form-grid, html.rdj-iframe .option-card, html.rdj-iframe .check-card, html.rdj-iframe .mini-fieldset, html.rdj-iframe .bars-block, html.rdj-iframe .bars-showcount-row, html.rdj-iframe .bars-savings-popup, html.rdj-iframe .quote-certify-block, html.rdj-iframe .quote-breakdown, html.rdj-iframe .review-box, html.rdj-iframe .rdj-date-picker, html.rdj-iframe .rdj-calendar { overflow: visible !important; }
html.rdj-iframe .step, html.rdj-iframe .result { padding-bottom: 0.75rem; }
@media (max-width: 640px) { html.rdj-iframe .wizard-nav { position: sticky; bottom: 0; z-index: 50; padding-bottom: calc(1.85rem + env(safe-area-inset-bottom, 0px)) !important; } html.rdj-iframe .wizard-nav .btn { min-height: 52px; } }

.quote-notify-status {
  margin: 0.85rem 0 0;
  text-align: center;
  color: var(--accent, #7CFF6B);
  font-weight: 700;
}
