/* ============================================================
   Alpha Advantage — main.css
   Design tokens, reset, components, booking flow styles.
   ============================================================ */

/* === Design Tokens === */
:root {
  --bg-primary:         #080912;
  --bg-secondary:       #0d0e1f;
  --bg-card:            #111326;
  --border:             #1c1e35;
  --border-hover:       #2a2e50;
  --accent:             #4a9fff;
  --accent-hover:       #69b2ff;
  --accent-glow:        rgba(74, 159, 255, 0.12);
  --accent-glow-strong: rgba(74, 159, 255, 0.25);
  --gold:               #f0a030;
  --gold-muted:         rgba(240, 160, 48, 0.12);
  --success:            #22c55e;
  --success-glow:       rgba(34, 197, 94, 0.12);
  --danger:             #ef4444;
  --danger-glow:        rgba(239, 68, 68, 0.12);
  --warning:            #f59e0b;
  --text-primary:       #eef0ff;
  --text-secondary:     #8892b0;
  --text-muted:         #4e5270;
  --max-width:          1200px;
  --nav-height:         72px;
  --radius:             12px;
  --radius-lg:          20px;
  --shadow-card:        0 4px 24px rgba(0, 0, 0, 0.4);
}

/* === Reset & Base === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* === Typography === */
h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.2rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }

p { color: var(--text-secondary); }

/* === Layout === */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--accent);
}

/* === Nav === */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(8, 9, 18, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.nav-logo span {
  color: var(--accent);
}

.btn-nav {
  background: var(--accent);
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}

.btn-nav:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

/* === Buttons === */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  text-align: center;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--accent-glow-strong);
}

.btn-primary:disabled,
.btn-primary[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--text-primary);
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  border: 1px solid var(--border-hover);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  text-align: center;
}

.btn-secondary:hover {
  border-color: var(--accent);
  background: var(--accent-glow);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--text-secondary);
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}

.btn-ghost:hover {
  color: var(--text-primary);
  background: var(--accent-glow);
}

/* === Card === */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

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

/* === Badge === */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
}

.badge--accent {
  color: var(--accent);
  background: var(--accent-glow);
}

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

.badge--success {
  color: var(--success);
  background: var(--success-glow);
}

.badge--muted {
  color: var(--text-muted);
  background: rgba(78, 82, 112, 0.15);
}

/* === Flash Messages === */
.flash-container {
  position: fixed;
  top: calc(var(--nav-height) + 12px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: min(560px, calc(100vw - 32px));
}

.flash {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid;
  animation: flash-in 0.2s ease;
}

@keyframes flash-in {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.flash--success {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.3);
  color: var(--success);
}

.flash--error {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.3);
  color: var(--danger);
}

.flash--info {
  background: var(--accent-glow);
  border-color: rgba(74, 159, 255, 0.3);
  color: var(--accent);
}

.flash-text {
  flex: 1;
}

.flash-close {
  background: none;
  border: none;
  color: inherit;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.7;
  padding: 0 2px;
  flex-shrink: 0;
}

.flash-close:hover {
  opacity: 1;
}

/* === Forms === */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.form-label--required::after {
  content: ' *';
  color: var(--danger);
}

.form-input,
.form-select,
.form-textarea {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text-primary);
  width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238892b0' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-error {
  font-size: 0.8rem;
  color: var(--danger);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* === Service List Page === */
.page-header {
  padding: 56px 0 48px;
  border-bottom: 1px solid var(--border);
}

.page-header h1 {
  margin-bottom: 12px;
}

.page-header p {
  font-size: 1.05rem;
  max-width: 480px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  padding: 48px 0;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  cursor: pointer;
}

.service-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card), 0 0 40px var(--accent-glow);
}

.service-icon {
  width: 52px;
  height: 52px;
  background: var(--accent-glow);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.service-card h3 {
  color: var(--text-primary);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.9rem;
  line-height: 1.65;
  flex: 1;
}

.service-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.service-card-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.service-card-price span {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-muted);
}

.service-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.service-card-footer .price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.service-card-footer .price em {
  font-size: 0.78rem;
  font-weight: 400;
  font-style: normal;
  color: var(--text-muted);
}

.service-card .btn-select {
  display: inline-block;
  background: var(--accent-glow);
  color: var(--accent);
  padding: 9px 20px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid rgba(74, 159, 255, 0.2);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.service-card:hover .btn-select {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* === Empty State === */
.empty-state {
  text-align: center;
  padding: 80px 24px;
}

.empty-state-icon {
  font-size: 3.5rem;
  margin-bottom: 20px;
  opacity: 0.3;
}

.empty-state h3 {
  color: var(--text-primary);
  margin-bottom: 12px;
}

.empty-state p {
  font-size: 0.95rem;
  max-width: 360px;
  margin: 0 auto;
}

/* === Service Detail Page === */
.service-hero {
  padding: 56px 0 48px;
  border-bottom: 1px solid var(--border);
}

.service-hero-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: start;
}

.service-hero h1 {
  margin-bottom: 16px;
}

.service-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.service-hero-sidebar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: right;
  flex-shrink: 0;
}

.service-duration {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.service-duration-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* === Package Section === */
.packages-section {
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}

.packages-section h2 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.packages-section > .container > p {
  margin-bottom: 28px;
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.package-card {
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
  position: relative;
  user-select: none;
}

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

.package-card--selected {
  border-color: var(--accent);
  background: rgba(74, 159, 255, 0.06);
  transform: translateY(-2px);
}

.package-card--selected::after {
  content: '✓';
  position: absolute;
  top: 12px;
  right: 14px;
  width: 22px;
  height: 22px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.package-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.package-sessions {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.package-price {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  line-height: 1;
}

.package-price-detail {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

.package-description {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-top: 12px;
  line-height: 1.5;
}

/* === Slot Picker === */
.slot-picker-section {
  padding: 40px 0;
}

.slot-picker-heading {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.slot-date-group {
  margin-bottom: 28px;
}

.slot-date-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 10px;
}

.slot-btn {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  font-family: inherit;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.15s;
  line-height: 1.2;
}

.slot-btn:hover:not(.slot-btn--disabled) {
  border-color: var(--accent);
  background: var(--accent-glow);
  color: var(--accent);
  transform: translateY(-1px);
}

.slot-btn--selected {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
  transform: translateY(-1px);
}

.slot-btn--selected:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
}

.slot-btn--disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

/* === Booking Confirm Card === */
.booking-confirm-wrapper {
  padding: 32px 0;
}

.booking-summary {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  max-width: 480px;
}

.booking-summary-heading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.booking-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 10px 0;
  font-size: 0.9rem;
}

.booking-summary-row:not(:last-child) {
  border-bottom: 1px solid rgba(28, 30, 53, 0.6);
}

.booking-summary-label {
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 500;
  flex-shrink: 0;
}

.booking-summary-value {
  color: var(--text-primary);
  font-weight: 600;
  text-align: right;
}

.booking-summary-price {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.booking-summary-actions {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.booking-summary-actions .btn-primary {
  width: 100%;
}

.booking-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color 0.2s;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
  justify-content: center;
}

.booking-back-link:hover {
  color: var(--accent);
}

/* === Loading Spinner === */
.loading-spinner {
  display: none;
  justify-content: center;
  align-items: center;
  padding: 40px;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.htmx-request .loading-spinner {
  display: flex;
}

.htmx-request .loading-spinner-target > *:not(.loading-spinner) {
  display: none;
}

.spinner-ring {
  width: 28px;
  height: 28px;
  border: 2px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* htmx-indicator pattern: element shown only during htmx requests */
.htmx-indicator {
  display: none;
}

.htmx-request .htmx-indicator {
  display: flex;
}

/* === Booking Success Page === */
.booking-success {
  padding: 80px 0;
  text-align: center;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: var(--success-glow);
  border: 2px solid rgba(34, 197, 94, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 32px;
  font-size: 2rem;
}

.booking-success h1 {
  margin-bottom: 12px;
}

.booking-success > .container > p {
  font-size: 1.05rem;
  margin-bottom: 48px;
}

.booking-success-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 480px;
  margin: 0 auto 40px;
  text-align: left;
}

.booking-success-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.booking-success-actions .btn-secondary {
  min-width: 220px;
  text-align: center;
}

/* === Booking Cancelled Page === */
.booking-cancelled {
  padding: 80px 0;
  text-align: center;
}

.cancelled-icon {
  width: 80px;
  height: 80px;
  background: rgba(239, 68, 68, 0.1);
  border: 2px solid rgba(239, 68, 68, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 32px;
  font-size: 2rem;
}

.booking-cancelled h1 {
  margin-bottom: 12px;
}

.booking-cancelled > .container > p {
  font-size: 1.05rem;
  margin-bottom: 40px;
}

.booking-cancelled-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

/* === Footer === */
footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
  padding: 32px 0;
  margin-top: auto;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-bottom--centered {
  justify-content: center;
}

/* === Small Button (admin tables, inline actions) === */
.btn-small {
  display: inline-block;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 600;
  font-family: inherit;
  padding: 4px 10px;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
  white-space: nowrap;
  text-decoration: none;
}

.btn-small:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-glow);
}

.btn-small--danger {
  border-color: rgba(239, 68, 68, 0.3);
  color: var(--danger);
  background: rgba(239, 68, 68, 0.07);
}

.btn-small--danger:hover {
  border-color: var(--danger);
  color: #fff;
  background: var(--danger);
}

/* === Secondary Nav Button === */
.btn-nav-secondary {
  background: transparent;
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid var(--border);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  white-space: nowrap;
}

.btn-nav-secondary:hover {
  border-color: var(--border-hover);
  color: var(--text-primary);
  background: var(--accent-glow);
}

/* === Utility === */
.text-accent   { color: var(--accent); }
.text-gold     { color: var(--gold); }
.text-muted    { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }

.divider {
  height: 1px;
  background: var(--border);
  margin: 32px 0;
}

/* === Location List Page === */
.location-page-header {
  padding: 56px 0 48px;
  border-bottom: 1px solid var(--border);
}

.location-page-header h1 {
  margin-bottom: 12px;
}

.location-page-header p {
  font-size: 1.05rem;
  max-width: 480px;
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  padding: 48px 0;
}

.location-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  cursor: pointer;
}

.location-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card), 0 0 40px var(--accent-glow);
}

.location-card-photo {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}

.location-card-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.location-card-placeholder-icon {
  width: 52px;
  height: 52px;
  background: var(--accent-glow);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.location-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
}

.location-card-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.location-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.location-card-address {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
  line-height: 1.5;
}

.location-card-notes {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.5;
  margin-bottom: 6px;
}

.location-card-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.location-card-count {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

.location-card .btn-select {
  display: inline-block;
  background: var(--accent-glow);
  color: var(--accent);
  padding: 9px 20px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid rgba(74, 159, 255, 0.2);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.location-card:hover .btn-select {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* === Location Banner (services/list filtered view) === */
.breadcrumb {
  padding: 0;
  margin-bottom: 32px;
}

.breadcrumb-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
  border-radius: 8px;
}

.breadcrumb-link:hover {
  color: var(--accent);
}

.location-banner {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-top: 24px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.location-banner-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-glow);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.location-banner-body {
  flex: 1;
  min-width: 0;
}

.location-banner-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.location-banner-detail {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.location-banner-notes {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-style: italic;
}

/* === Responsive: 900px === */
@media (max-width: 900px) {
  .service-hero-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .service-hero-sidebar {
    text-align: left;
    flex-direction: row;
    align-items: center;
    gap: 20px;
  }

  .packages-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
}

/* === Responsive: 640px === */
@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }

  .section {
    padding: 56px 0;
  }

  .page-header {
    padding: 40px 0 32px;
  }

  .service-hero {
    padding: 40px 0 32px;
  }

  .packages-grid {
    grid-template-columns: 1fr 1fr;
  }

  .slot-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .booking-summary {
    max-width: 100%;
  }

  .booking-success-card {
    max-width: 100%;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
    display: block;
  }

  .service-card-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .service-card .btn-select {
    width: 100%;
    text-align: center;
  }

  .locations-grid {
    grid-template-columns: 1fr;
    padding: 32px 0;
  }

  .location-banner {
    flex-direction: column;
    gap: 14px;
  }

  .location-card-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .location-card .btn-select {
    width: 100%;
    text-align: center;
  }
}
