/* ==========================================================================
   Bolomoto — Option 2: Cinematic Darkroom (Mobile-First, Zero AI Slop)
   Warm charcoal darkroom surfaces let real wedding photography carry the light.
   ========================================================================== */

:root {
  --bg: #141311;
  --surface: #1c1a17;
  --surface-raised: #24211d;
  --border: rgba(239, 233, 222, 0.10);
  --border-strong: rgba(239, 233, 222, 0.18);
  --text-1: #efe9de;
  --text-2: #a8a095;
  --text-3: #867e73;
  --accent: #d4824a;
  --accent-soft: rgba(212, 130, 74, 0.14);
  --accent-border: rgba(212, 130, 74, 0.42);
  --ok: #4cc38a;
  --ok-soft: rgba(76, 195, 138, 0.14);
  --warn: #e5a93b;
  --warn-soft: rgba(229, 169, 59, 0.14);
  --err: #e56b6b;
  --err-soft: rgba(229, 107, 107, 0.14);

  --font-display: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --max-w: 1160px;
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
  color: var(--text-1);
  -webkit-text-size-adjust: 100%;
}

body.public-body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text-1);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

/* Keyboard Focus & Skip Link */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--text-1);
  color: var(--bg);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
}
.skip-link:focus { left: 12px; }

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

/* Container */
.container {
  width: min(100%, var(--max-w));
  margin: 0 auto;
  padding-inline: 24px;
}

/* ==========================================================================
   Navigation (Quiet Sticky Bar — Primary Booking CTA Always Visible)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(20, 19, 17, 0.90);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-nav {
  width: min(100%, var(--max-w));
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  min-height: 44px;
  align-items: center;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--text-1);
  text-transform: capitalize;
}

.brand-meta {
  font-size: 13px;
  color: var(--text-3);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-2);
  border-radius: var(--radius-sm);
  transition: color 150ms var(--ease), background-color 150ms var(--ease);
}
.nav-item:hover {
  color: var(--text-1);
  background: rgba(239, 233, 222, 0.05);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 18px;
  border-radius: var(--radius-sm);
  background: var(--text-1);
  color: var(--bg);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color 150ms var(--ease), transform 120ms var(--ease);
}
.nav-cta:hover { background: #ffffff; }
.nav-cta:active { transform: scale(0.98); }

/* ==========================================================================
   Flash Alert
   ========================================================================== */
.public-alert {
  width: min(calc(100% - 32px), 720px);
  margin: 20px auto 0;
  padding: 14px 44px 14px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  position: relative;
}
.public-alert.ok { border-color: rgba(76, 195, 138, 0.35); background: #17211c; color: #c7f0dc; }
.public-alert.err { border-color: rgba(229, 107, 107, 0.38); background: #241717; color: #f7c5c5; }
.public-alert > span {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-size: 13px;
  font-weight: 600;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.08);
}
.public-alert > button {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  color: inherit;
  opacity: 0.7;
  font-size: 20px;
  cursor: pointer;
  border-radius: var(--radius-sm);
}
.public-alert > button:hover { opacity: 1; background: rgba(255, 255, 255, 0.06); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 150ms var(--ease), border-color 150ms var(--ease), color 150ms var(--ease), transform 120ms var(--ease);
}
.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--text-1);
  color: var(--bg);
}
.btn-primary:hover { background: #ffffff; }

.btn-secondary {
  background: var(--surface-raised);
  color: var(--text-1);
  border-color: var(--border-strong);
}
.btn-secondary:hover {
  background: #2c2823;
  border-color: rgba(239, 233, 222, 0.30);
}

.btn-ghost {
  background: transparent;
  color: var(--text-2);
  padding-inline: 12px;
}
.btn-ghost:hover { color: var(--text-1); }

.btn-wide { width: 100%; }

/* Backward-compatible button classes used on inner pages */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 150ms var(--ease), border-color 150ms var(--ease), transform 120ms var(--ease);
}
.button:active { transform: scale(0.98); }
.button-dark { background: var(--text-1); color: var(--bg); }
.button-dark:hover { background: #ffffff; }
.button-outline { background: transparent; color: var(--text-1); border-color: var(--border-strong); }
.button-outline:hover { background: var(--surface-raised); }
.button-wide { width: 100%; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  color: var(--text-2);
  font-size: 14px;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: color 150ms var(--ease), border-color 150ms var(--ease);
}
.text-link:hover {
  color: var(--text-1);
  border-bottom-color: var(--accent);
}

/* ==========================================================================
   Hero — Cinematic Darkroom Gallery
   ========================================================================== */
.hero {
  padding: 48px 0 64px;
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.hero-location {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-2);
  margin-bottom: 16px;
}

.hero-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.hero h1 {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(2.85rem, 5.8vw, 4.65rem);
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: -0.02em;
  color: var(--text-1);
}

.hero-lead {
  margin: 0 0 28px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-2);
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.hero-facts {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  font-size: 13px;
  color: var(--text-3);
}
.hero-facts strong {
  color: var(--text-1);
  font-weight: 500;
}

/* Hero Visual Frame (Real Uploaded Slides or Calm Darkroom Frame) */
.hero-stage {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  aspect-ratio: 4 / 3;
}

.hero-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 700ms var(--ease);
}
.hero-slide.is-active { opacity: 1; }

.hero-stage-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 19, 17, 0.04) 55%, rgba(20, 19, 17, 0.65) 100%);
  pointer-events: none;
}

.hero-stage-bar {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  z-index: 2;
}

.hero-stage-caption {
  font-size: 12px;
  color: rgba(239, 233, 222, 0.85);
}

.hero-slide-controls {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.slide-btn {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(239, 233, 222, 0.22);
  background: rgba(20, 19, 17, 0.68);
  color: var(--text-1);
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  font-size: 14px;
  transition: background-color 150ms var(--ease), border-color 150ms var(--ease);
}
.slide-btn:hover {
  background: rgba(20, 19, 17, 0.9);
  border-color: rgba(239, 233, 222, 0.45);
}

/* Calm Darkroom Spec Card when no gallery photos uploaded yet */
.hero-empty-frame {
  width: 100%;
  height: 100%;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(110% 90% at 85% 15%, rgba(212, 130, 74, 0.12) 0%, transparent 60%),
    linear-gradient(180deg, #1d1b18 0%, #151412 100%);
}

.hero-frame-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-3);
}

.hero-frame-center {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
  display: grid;
  gap: 14px;
}

.hero-frame-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
}
.hero-frame-row span { color: var(--text-2); }
.hero-frame-row strong { font-weight: 500; color: var(--text-1); text-align: right; }

.hero-frame-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--text-2);
}

/* ==========================================================================
   Packages Section — 5 Category Tabs + Gallery Pricelist
   ========================================================================== */
.section {
  padding: 72px 0;
  scroll-margin-top: 72px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text-1);
}

.section-head p {
  margin: 0;
  font-size: 14px;
  color: var(--text-2);
  max-width: 40ch;
}

/* Category Tabs (Horizontal scroll-snap on mobile) */
.cat-tabs-wrap {
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.cat-tabs-wrap::-webkit-scrollbar { display: none; }

.cat-tabs {
  display: flex;
  gap: 4px;
  min-width: max-content;
}

.cat-tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 16px 2px;
  border: 0;
  background: transparent;
  color: var(--text-2);
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 150ms var(--ease), border-color 150ms var(--ease);
}
.cat-tab:hover { color: var(--text-1); }
.cat-tab.is-active {
  color: var(--text-1);
  font-weight: 500;
  border-bottom-color: var(--accent);
}
.cat-tab-count {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
}
.cat-tab.is-active .cat-tab-count { color: var(--accent); }

/* Package Panel & Rows */
.pkg-panel[hidden] { display: none; }

.pkg-list {
  display: grid;
  border-top: 1px solid var(--border);
}

.pkg-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1.7fr) auto auto;
  gap: 20px;
  align-items: center;
  padding: 22px 16px;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  transition: background-color 150ms var(--ease), border-color 150ms var(--ease);
}

.pkg-row:hover {
  background: rgba(239, 233, 222, 0.025);
}

.pkg-row.is-popular {
  background: var(--surface);
  box-shadow: inset 2px 0 0 var(--accent);
}

.pkg-row.is-selected {
  background: #211d18;
  box-shadow: inset 2px 0 0 var(--text-1);
}

.pkg-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-3);
}

.pkg-info {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.pkg-title-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.pkg-name {
  margin: 0;
  font-size: 17px;
  font-weight: 500;
  color: var(--text-1);
  line-height: 1.3;
}

.pkg-badge {
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
}

.pkg-specs {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.5;
}

.pkg-specs li {
  position: relative;
}
.pkg-specs li:not(:last-child)::after {
  content: '·';
  margin-left: 14px;
  color: var(--text-3);
}

.pkg-price {
  text-align: right;
  white-space: nowrap;
}
.pkg-price small {
  display: block;
  font-size: 12px;
  color: var(--text-3);
  margin-bottom: 2px;
}
.pkg-price b {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--text-1);
}

.pkg-select-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text-1);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 150ms var(--ease), color 150ms var(--ease), border-color 150ms var(--ease);
}
.pkg-select-btn:hover,
.pkg-row.is-popular .pkg-select-btn {
  background: var(--text-1);
  color: var(--bg);
  border-color: var(--text-1);
}
.pkg-row.is-popular .pkg-select-btn:hover {
  background: #ffffff;
}
.pkg-row.is-selected .pkg-select-btn,
.pkg-row.is-popular.is-selected .pkg-select-btn {
  background: var(--accent);
  color: #141311;
  border-color: var(--accent);
}
.pkg-row.is-selected .pkg-select-btn:hover,
.pkg-row.is-popular.is-selected .pkg-select-btn:hover {
  background: #df9059;
}

/* ==========================================================================
   Booking Section — Fast Mobile Form + Live DP Summary
   ========================================================================== */
.booking-section {
  background: #171513;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 48px;
  align-items: start;
}

.booking-intro {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 20px;
}

.booking-intro h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.2vw, 3.2rem);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.02em;
}

.booking-intro > p {
  margin: 0;
  color: var(--text-2);
  font-size: 15px;
  max-width: 38ch;
}

.booking-steps {
  display: grid;
  gap: 12px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.booking-step {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  align-items: baseline;
  font-size: 14px;
  color: var(--text-2);
}

.booking-step b {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
}

.dp-note {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.5;
}

/* Form Card */
.booking-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: grid;
  gap: 20px;
}

.form-heading {
  display: grid;
  gap: 4px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.form-heading h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  color: var(--text-1);
}
.form-heading p {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-2);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  display: grid;
  gap: 6px;
  align-content: start;
}
.field.full { grid-column: 1 / -1; }

.field > span {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
}

.field input:not([type="checkbox"]):not([type="radio"]),
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--surface-raised);
  color: var(--text-1);
  font-size: 15px;
  transition: border-color 150ms var(--ease), background-color 150ms var(--ease);
}

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

.field input::placeholder,
.field textarea::placeholder {
  color: var(--text-3);
}

.field input:not([type="checkbox"]):focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #28241f;
  box-shadow: 0 0 0 3px var(--accent-soft);
}

/* Native date/time picker dark mode support */
.field input[type="date"],
.field input[type="time"],
.field select {
  color-scheme: dark;
}

/* Add-ons (FIXED checkbox sizing — never stretches 100%!) */
.addon-group {
  display: grid;
  gap: 10px;
}
.addon-group-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
}

.addon-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.addon-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface-raised);
  cursor: pointer;
  transition: border-color 150ms var(--ease), background-color 150ms var(--ease);
}
.addon-card:hover { border-color: var(--border-strong); }
.addon-card:has(input:checked) {
  border-color: var(--accent-border);
  background: #27211b;
}

.addon-card input[type="checkbox"] {
  width: 20px;
  height: 20px;
  min-height: 0;
  margin: 2px 0 0;
  padding: 0;
  flex: 0 0 20px;
  accent-color: var(--accent);
  cursor: pointer;
}

.addon-card-body {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.addon-card-body strong {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-1);
  line-height: 1.35;
}
.addon-card-price {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--accent);
}
.addon-card-desc {
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.45;
}

/* Live DP Summary */
.dp-summary {
  padding: 18px;
  border-radius: var(--radius-md);
  background: var(--surface-raised);
  border: 1px solid var(--border-strong);
  display: grid;
  gap: 10px;
}
.dp-summary[hidden] { display: none; }

.dp-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  color: var(--text-2);
}
.dp-row b {
  font-family: var(--font-mono);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--text-1);
  white-space: nowrap;
  flex-shrink: 0;
}
.dp-row.dp-highlight {
  padding: 10px 12px;
  margin: 2px -4px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: var(--text-1);
}
.dp-row.dp-highlight b {
  color: var(--accent);
  font-size: 16px;
}
.dp-summary small {
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.45;
}

/* Collapsible Optional Details */
.optional-details {
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
.optional-details > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  border: 1px dashed var(--border-strong);
  background: rgba(239, 233, 222, 0.02);
  color: var(--text-1);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  transition: background-color 150ms var(--ease), border-color 150ms var(--ease);
}
.optional-details > summary::-webkit-details-marker { display: none; }
.optional-details > summary:hover {
  background: rgba(239, 233, 222, 0.05);
  border-color: rgba(239, 233, 222, 0.30);
}
.optional-details > summary::after {
  content: '+';
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--accent);
}
.optional-details[open] > summary::after { content: '−'; }
.optional-body {
  padding-top: 18px;
  display: grid;
  gap: 16px;
}

/* Vendor Rows (Clean alignment on both desktop and mobile) */
#vendorTagList {
  display: grid;
  gap: 10px;
}

.vendor-tag-row {
  display: grid;
  grid-template-columns: minmax(130px, 0.9fr) minmax(0, 1.3fr) 44px;
  gap: 8px;
  align-items: center;
}

.vendor-tag-remove {
  width: 44px;
  height: 46px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--surface-raised);
  color: var(--text-2);
  font-size: 18px;
  cursor: pointer;
  display: inline-grid;
  place-items: center;
}
.vendor-tag-remove:hover { color: var(--err); border-color: rgba(229, 107, 107, 0.45); }

.vendor-tag-add {
  margin-top: 8px;
  width: 100%;
  min-height: 42px;
  border-radius: var(--radius-sm);
  border: 1px dashed var(--border-strong);
  background: transparent;
  color: var(--text-2);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
}
.vendor-tag-add:hover { color: var(--text-1); border-color: rgba(239, 233, 222, 0.35); }

.form-hint,
.form-footnote {
  display: block;
  font-size: 12.5px;
  color: var(--text-3);
  line-height: 1.5;
}
.form-footnote { text-align: center; }

/* Consent Checkbox */
.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.5;
  cursor: pointer;
}
.consent-row input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  flex: 0 0 20px;
  accent-color: var(--accent);
  cursor: pointer;
}

/* ==========================================================================
   Footer (Quiet, Admin link discreetly placed here)
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  font-size: 13px;
  color: var(--text-3);
}

.footer-inner {
  width: min(100%, var(--max-w));
  margin: 0 auto;
  padding-inline: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.footer-links a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  color: var(--text-2);
  transition: color 150ms var(--ease);
}
.footer-links a:hover { color: var(--text-1); }
.footer-admin { color: var(--text-3) !important; }
.footer-admin:hover { color: var(--text-2) !important; }

/* ==========================================================================
   Mobile Sticky Bottom Booking Bar (Phone Only < 768px)
   ========================================================================== */
.mobile-sticky-bar {
  display: none;
}

/* ==========================================================================
   Inner Public Pages (success, invoice, edit-booking, reschedule, 404)
   ========================================================================== */
.narrow-page {
  width: min(calc(100% - 32px), 640px);
  margin: 48px auto 72px;
  display: grid;
  gap: 20px;
  text-align: left;
}

.narrow-page .eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.04em;
}

.narrow-page h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 6vw, 3rem);
  font-weight: 400;
  line-height: 1.08;
  color: var(--text-1);
}
.narrow-page h1 em {
  font-style: normal;
  color: var(--accent);
}
.narrow-page .lead {
  margin: 0;
  font-size: 15px;
  color: var(--text-2);
}

.status-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 20px;
  background: var(--surface-raised);
  border: 1px solid var(--border-strong);
  color: var(--text-1);
}
.status-icon.success-icon {
  background: var(--ok-soft);
  border-color: rgba(76, 195, 138, 0.35);
  color: var(--ok);
}

.booking-code-card,
.status-callout,
.invoice-sheet,
.bank-card,
.proof-form,
.section-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: grid;
  gap: 10px;
}

.booking-code-card > span { font-size: 12px; color: var(--text-3); }
.booking-code-card > b {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 500;
  color: var(--text-1);
}
.booking-code-card > small { font-size: 13.5px; color: var(--text-2); }

.status-callout,
.invoice-status {
  display: flex;
  align-items: center;
  gap: 12px;
}
.invoice-status {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 14px;
}
.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--text-3);
  flex-shrink: 0;
}
.status-dot.green { background: var(--ok); }
.status-dot.amber { background: var(--warn); }
.status-callout b { display: block; font-size: 14px; font-weight: 500; color: var(--text-1); }
.status-callout small { font-size: 13px; color: var(--text-2); }

.invoice-row,
.invoice-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.invoice-row span { color: var(--text-2); }
.invoice-row b { font-weight: 500; color: var(--text-1); text-align: right; }
.invoice-total {
  border-bottom: 0;
  padding-top: 12px;
  font-size: 15px;
}
.invoice-total b {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 500;
  color: var(--accent);
}
.invoice-due { font-size: 13px; color: var(--text-2); }

.bank-name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
}
.bank-logo {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-sm);
  background: var(--surface-raised);
  border: 1px solid var(--border-strong);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
}
.bank-number {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--text-1);
}
.copy-btn {
  min-height: 36px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--surface-raised);
  color: var(--text-1);
  font-family: var(--font-sans);
  font-size: 13px;
  cursor: pointer;
}
.copy-btn:hover { border-color: var(--accent); }
.bank-note {
  padding: 12px;
  border-radius: var(--radius-sm);
  background: var(--surface-raised);
  font-size: 13px;
  color: var(--text-2);
}
.bank-note b { color: var(--text-1); font-family: var(--font-mono); }

.proof-received {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: var(--ok-soft);
  border: 1px solid rgba(76, 195, 138, 0.32);
  color: #c7f0dc;
  font-size: 14px;
}

.proof-form h3 { margin: 0; font-size: 17px; font-weight: 500; }
.proof-form > p { margin: 0; font-size: 14px; color: var(--text-2); }
.upload-area {
  display: grid;
  place-items: center;
  text-align: center;
  gap: 6px;
  padding: 24px 16px;
  border-radius: var(--radius-md);
  border: 1px dashed var(--border-strong);
  background: var(--surface-raised);
  cursor: pointer;
}
.upload-area:hover { border-color: var(--accent); }
.upload-area input[type="file"] { font-size: 13px; max-width: 100%; margin-top: 8px; }
.upload-area small { font-size: 12px; color: var(--text-3); }

.section-card .section-head {
  margin-bottom: 8px;
  align-items: center;
}
.section-card .section-head h2 {
  font-family: var(--font-mono);
  font-size: 20px;
}
.detail-grid {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.detail-grid dt { font-size: 12px; color: var(--text-3); margin-bottom: 2px; }
.detail-grid dd { margin: 0; font-size: 14px; color: var(--text-1); }
.detail-grid dd small { display: block; font-size: 12px; color: var(--text-3); margin-top: 2px; }

.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 500;
  background: var(--surface-raised);
  color: var(--text-1);
  border: 1px solid var(--border-strong);
}
.status-badge.status-confirmed,
.status-badge.status-done { background: var(--ok-soft); color: var(--ok); border-color: rgba(76, 195, 138, 0.3); }
.status-badge.status-pending { background: var(--warn-soft); color: var(--warn); border-color: rgba(229, 169, 59, 0.3); }
.status-badge.status-cancelled { background: var(--err-soft); color: var(--err); border-color: rgba(229, 107, 107, 0.3); }

.stack-form { display: grid; gap: 16px; }
.fine-print { margin: 0; font-size: 13px; color: var(--text-3); line-height: 1.55; }

/* ==========================================================================
   Responsive Breakpoints (Mobile-First Ergonomics)
   ========================================================================== */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .booking-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .booking-intro { position: static; }
}

@media (max-width: 767px) {
  .container,
  .site-nav,
  .footer-inner {
    padding-inline: 18px;
  }

  .site-nav { height: 56px; }
  .brand-meta { display: none; }
  .nav-item { padding: 0 10px; font-size: 13.5px; }
  .nav-cta { padding: 0 14px; font-size: 13.5px; min-height: 38px; }

  .hero { padding: 24px 0 40px; }
  .hero h1 { font-size: clamp(2.35rem, 10.5vw, 3.1rem); margin-bottom: 12px; }
  .hero-lead { font-size: 15px; margin-bottom: 20px; }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn { min-height: 48px; width: 100%; }
  .hero-facts { margin-top: 22px; padding-top: 16px; gap: 8px 20px; }
  .hero-stage { aspect-ratio: 16 / 10; }
  .hero-stage:has(.hero-empty-frame) { aspect-ratio: auto; }
  .hero-empty-frame { padding: 20px; gap: 18px; }
  .hero-frame-center { padding: 16px 0; }

  .section { padding: 48px 0; }
  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 20px;
  }

  /* Packages transform into clean tactile cards on phone */
  .pkg-list {
    border-top: 0;
    gap: 12px;
  }
  .pkg-row {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
  }
  .pkg-row.is-popular {
    border-color: var(--accent-border);
    box-shadow: none;
  }
  .pkg-row.is-selected {
    border-color: var(--text-1);
    box-shadow: none;
  }
  .pkg-num { display: none; }
  .pkg-price {
    text-align: left;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px solid var(--border);
  }
  .pkg-select-btn {
    width: 100%;
    min-height: 46px;
  }

  /* Mobile Form: 16px inputs prevent iOS auto-zoom */
  .booking-form { padding: 20px 16px; }
  .form-grid,
  .addon-grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .field input:not([type="checkbox"]):not([type="radio"]),
  .field select,
  .field textarea {
    font-size: 16px;
    min-height: 48px;
  }

  /* Mobile Vendor Row: stack select nicely so label never wraps weirdly */
  .vendor-tag-row {
    grid-template-columns: 1fr 44px;
  }
  .vendor-tag-row select {
    grid-column: 1 / -1;
  }

  /* Leave breathing room for sticky bar at very bottom */
  .site-footer {
    padding-bottom: 92px;
  }

  /* Floating Mobile Sticky Booking Bar */
  .mobile-sticky-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(28, 26, 23, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--border-strong);
    box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.45);
    transform: translateY(0);
    transition: transform 220ms var(--ease), opacity 220ms var(--ease);
  }
  .mobile-sticky-bar.is-hidden {
    transform: translateY(110%);
    opacity: 0;
    pointer-events: none;
  }
  .msb-info {
    min-width: 0;
    display: grid;
    gap: 1px;
  }
  .msb-label {
    font-size: 11.5px;
    color: var(--text-2);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .msb-value {
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-1);
    white-space: nowrap;
  }
  .msb-value.is-accent { color: var(--accent); }
  .msb-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 44px;
    padding: 0 18px;
    border-radius: var(--radius-sm);
    background: var(--text-1);
    color: var(--bg);
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .msb-cta:active { transform: scale(0.98); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
