:root {
  --canvas: #ffffff;
  --surface-soft: #f8f9fa;
  --surface-card: #f5f5f5;
  --surface-strong: #e5e7eb;
  --surface-dark: #101010;
  --surface-dark-elevated: #1a1a1a;
  --hairline: #e5e7eb;
  --hairline-soft: #f3f4f6;
  --ink: #111111;
  --body: #374151;
  --muted: #6b7280;
  --muted-soft: #898989;
  --on-dark-soft: #a1a1aa;
  --primary: #111111;
  --primary-active: #242424;
  --brand-accent: #3b82f6;
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  --badge-orange: #fb923c;
  --badge-pink: #ec4899;
  --badge-violet: #8b5cf6;
  --badge-emerald: #34d399;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-pill: 9999px;
  --shadow-soft: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-card: 0 4px 12px rgba(0, 0, 0, 0.08);
  --container: 1200px;
  --motion-fast: 160ms;
  --motion-medium: 420ms;
  --motion-slow: 6s;
  --motion-drift: 12s;
  --motion-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatMockup {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes pulseSlot {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(17, 17, 17, 0);
  }

  50% {
    box-shadow: 0 0 0 7px rgba(17, 17, 17, 0.08);
  }
}

@keyframes flowPulse {
  0% {
    opacity: 0.35;
    transform: scaleX(0.25);
  }

  50% {
    opacity: 1;
    transform: scaleX(1);
  }

  100% {
    opacity: 0.35;
    transform: scaleX(0.25);
  }
}

@keyframes imageDrift {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.045);
  }
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes shimmer {
  100% {
    transform: translateX(100%);
  }
}

* {
  box-sizing: border-box;
}

html,
body {
  max-width: 100%;
}

html {
  background: var(--canvas);
  color: var(--ink);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--body);
  background: var(--canvas);
  line-height: 1.5;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity var(--motion-medium) var(--motion-ease), transform var(--motion-medium) var(--motion-ease);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 600;
  letter-spacing: -0.04em;
}

p,
dd,
li,
.button,
.brand,
.booking-step,
.empty-state,
.detail-list {
  overflow-wrap: anywhere;
}

.page,
.page-section,
.admin-layout,
.booking-layout,
.booking-form,
.panel,
.form,
.site-nav,
.admin-content,
.booking-summary-card,
.compact-list article,
.service-card {
  min-width: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
  padding: 12px max(24px, calc((100vw - var(--container)) / 2));
  border-bottom: 1px solid var(--hairline-soft);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  color: var(--canvas);
  background: var(--ink);
  font-size: 0.78rem;
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  min-width: 0;
}

.site-nav a,
.logout-form button {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  border: 0;
  border-radius: var(--radius-md);
  padding: 0 12px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
}

.logout-form {
  margin: 0;
}

.public-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 48px;
  align-items: center;
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
  padding: 96px 0;
}

.public-hero h1,
.page-heading h1,
.auth-box h1 {
  margin-bottom: 18px;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.public-hero p,
.page-heading p {
  max-width: 660px;
  margin: 0 0 28px;
  color: var(--body);
  font-size: 1.05rem;
}

.hero-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.hero-proof span {
  border: 1px solid var(--hairline);
  border-radius: var(--radius-pill);
  padding: 6px 10px;
  color: var(--muted);
  background: var(--canvas);
  font-size: 0.82rem;
  font-weight: 600;
}

.hero-mockup {
  position: relative;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-xl);
  padding: 16px;
  background: var(--canvas);
  box-shadow: var(--shadow-card);
  animation: floatMockup var(--motion-slow) var(--motion-ease) infinite;
}

.mockup-toolbar {
  display: flex;
  gap: 7px;
  margin-bottom: 14px;
}

.mockup-toolbar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--surface-strong);
}

.booking-widget-preview {
  display: grid;
  grid-template-columns: 1.1fr 0.75fr;
  gap: 14px;
}

.preview-panel,
.time-fragment {
  border-radius: var(--radius-lg);
  padding: 18px;
  background: var(--surface-card);
}

.preview-kicker,
.slot-panel__title {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.preview-panel h2 {
  margin-bottom: 18px;
  font-size: 1.8rem;
}

.calendar-fragment {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.calendar-fragment div,
.calendar-fragment button,
.time-fragment button,
.mini-confirm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  color: var(--ink);
  background: var(--canvas);
  font-size: 0.9rem;
  font-weight: 600;
}

.calendar-fragment div {
  border-color: transparent;
  color: var(--muted);
  background: transparent;
}

.calendar-fragment .active,
.time-fragment .active,
.mini-confirm {
  border-color: var(--primary);
  color: var(--canvas);
  background: var(--primary);
}

.time-fragment .active {
  animation: pulseSlot var(--motion-slow) var(--motion-ease) infinite;
}

.time-fragment {
  display: grid;
  gap: 8px;
}

.time-fragment p {
  margin: 0 0 4px;
  color: var(--ink);
  font-weight: 600;
}

.floating-chip {
  position: absolute;
  z-index: 2;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-pill);
  padding: 7px 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-card);
  font-size: 0.82rem;
  font-weight: 600;
}

.floating-chip--top {
  top: 48px;
  right: -18px;
}

.floating-chip--bottom {
  bottom: 34px;
  left: -22px;
}

.page,
.page-section,
.admin-layout,
.flash-wrap,
.site-footer {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

.page,
.page-section {
  padding: 72px 0;
}

.experience-band,
.product-band,
.cta-band {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
  padding: 72px 0;
}

.experience-band {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 48px;
  align-items: center;
}

.experience-media,
.product-card--image,
.booking-aside {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--surface-card);
}

.experience-media img,
.product-card--image img,
.booking-aside img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.experience-media img {
  aspect-ratio: 4 / 3;
  animation: imageDrift var(--motion-drift) var(--motion-ease) infinite;
}

.image-caption,
.aside-card {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: grid;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--radius-lg);
  padding: 14px;
  color: var(--canvas);
  background: rgba(17, 17, 17, 0.76);
  backdrop-filter: blur(10px);
}

.image-caption span,
.aside-card span {
  color: var(--on-dark-soft);
  font-size: 0.82rem;
  font-weight: 500;
}

.image-caption strong,
.aside-card strong {
  color: var(--canvas);
}

.experience-copy h2,
.product-band h2,
.cta-band h2 {
  max-width: 720px;
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
}

.experience-copy p {
  color: var(--body);
}

.mini-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.mini-metrics article {
  border-radius: var(--radius-lg);
  padding: 18px;
  background: var(--surface-card);
}

.mini-metrics strong {
  display: block;
  color: var(--ink);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.mini-metrics span {
  color: var(--muted);
  font-size: 0.9rem;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.product-card {
  border-radius: var(--radius-lg);
  padding: 24px;
  background: var(--surface-card);
}

.product-card h3 {
  margin-bottom: 8px;
  font-size: 1.25rem;
}

.product-card p {
  margin: 0;
  color: var(--muted);
}

.product-card--image {
  min-height: 280px;
  padding: 0;
}

.flow-line {
  display: grid;
  gap: 8px;
  margin-bottom: 26px;
}

.flow-line span {
  display: block;
  width: 100%;
  height: 8px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  transform-origin: left center;
  animation: flowPulse var(--motion-slow) var(--motion-ease) infinite;
}

.flow-line span:nth-child(2) {
  width: 74%;
  animation-delay: 180ms;
}

.flow-line span:nth-child(3) {
  width: 52%;
  animation-delay: 360ms;
}

.integration-tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 22px;
}

.integration-tiles span {
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: 10px;
  background: var(--canvas);
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 600;
}

.cta-band {
  display: grid;
  justify-items: center;
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  background: var(--surface-card);
}

.page--narrow {
  width: min(720px, calc(100% - 48px));
}

.page-heading {
  margin-bottom: 32px;
}

.section-title {
  margin-bottom: 24px;
}

.section-title h2,
.panel h2,
.form h2 {
  margin: 0 0 16px;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.1;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 0 14px;
  border-radius: var(--radius-pill);
  padding: 5px 12px;
  color: var(--ink);
  background: var(--surface-card);
  font-size: 0.82rem;
  font-weight: 500;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  padding: 0 18px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background-color var(--motion-fast) var(--motion-ease), border-color var(--motion-fast) var(--motion-ease), transform var(--motion-fast) var(--motion-ease);
}

.button--primary {
  color: var(--canvas);
  background: var(--primary);
}

.button--primary:active {
  background: var(--primary-active);
  transform: translateY(1px);
}

.button--secondary,
.button--small {
  border-color: var(--hairline);
  color: var(--ink);
  background: var(--canvas);
}

.button--small {
  min-height: 36px;
  padding: 0 12px;
}

.service-grid,
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.service-card,
.compact-list article,
.stats-grid article {
  border-radius: var(--radius-lg);
  padding: 24px;
  background: var(--surface-card);
  transition: box-shadow var(--motion-fast) var(--motion-ease), transform var(--motion-fast) var(--motion-ease);
}

.service-card:hover,
.compact-list article:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-3px);
}

.panel,
.form,
.confirmation-box {
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 32px;
  background: var(--canvas);
  box-shadow: var(--shadow-soft);
}

.service-card h3,
.compact-list h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.service-card p,
.compact-list p,
.muted,
.help-text {
  color: var(--muted);
}

.service-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  color: var(--ink);
}

.compact-list {
  display: grid;
  gap: 16px;
}

.form-section {
  margin-bottom: 28px;
}

.booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: 24px;
  align-items: start;
}

.booking-stepper {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  width: fit-content;
  margin-bottom: 24px;
  border-radius: var(--radius-pill);
  padding: 6px;
  background: var(--surface-soft);
}

.booking-step {
  border-radius: var(--radius-md);
  padding: 8px 12px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
}

.booking-step.is-active {
  color: var(--ink);
  background: var(--canvas);
  box-shadow: var(--shadow-soft);
}

.booking-step.is-complete {
  color: var(--ink);
}

.booking-step.is-complete::before {
  content: "OK ";
}

.booking-mobile-summary {
  display: none;
}

.booking-aside {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 14px;
  min-height: 0;
  border: 1px solid var(--hairline);
  padding: 16px;
  background:
    radial-gradient(circle at 12% 8%, rgba(59, 130, 246, 0.12), transparent 28%),
    radial-gradient(circle at 88% 92%, rgba(16, 185, 129, 0.16), transparent 30%),
    var(--surface-soft);
  box-shadow: var(--shadow-soft);
}

.agenda-visual {
  display: grid;
  gap: 14px;
  min-height: 280px;
  align-content: center;
  border-radius: var(--radius-lg);
  padding: 24px;
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(17, 17, 17, 0.05) 1px, transparent 1px),
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(238, 242, 247, 0.92));
  background-size: 28px 28px, 28px 28px, auto;
}

.agenda-visual__dot {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: var(--ink);
  box-shadow: 0 18px 32px rgba(17, 17, 17, 0.14);
}

.agenda-visual__line {
  width: 62%;
  height: 12px;
  border-radius: var(--radius-pill);
  background: rgba(17, 17, 17, 0.12);
}

.agenda-visual__line--wide {
  width: 86%;
}

.agenda-visual__time {
  display: inline-flex;
  width: fit-content;
  min-width: 112px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: var(--radius-lg);
  padding: 0 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
  font-weight: 700;
}

.agenda-visual__time--active {
  color: var(--canvas);
  background: var(--ink);
}

.agenda-visual--compact {
  min-height: 100%;
  border-radius: inherit;
}

.booking-summary-card {
  position: static;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-soft);
}

.booking-summary-card .summary-kicker {
  color: var(--muted);
}

.summary-kicker {
  margin: 0 0 12px;
  color: var(--on-dark-soft);
  font-size: 0.82rem;
  font-weight: 600;
}

.booking-summary-card dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.booking-summary-card div {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 8px;
}

.booking-summary-card dt {
  color: var(--muted);
  font-size: 0.8rem;
}

.booking-summary-card dd {
  margin: 0;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 600;
  text-align: right;
}

.booking-aside .aside-card {
  position: static;
  border-color: rgba(17, 17, 17, 0.08);
  background: var(--surface-dark);
  box-shadow: var(--shadow-soft);
}

.slot-skeleton {
  position: relative;
  overflow: hidden;
  min-height: 42px;
  border-radius: var(--radius-md);
  background: var(--surface-card);
}

.slot-skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.86), transparent);
  transform: translateX(-100%);
  animation: shimmer var(--motion-slow) linear infinite;
}

.form-grid,
.filters,
.form-inline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: end;
}

label {
  display: grid;
  gap: 7px;
  color: var(--body);
  font-size: 0.92rem;
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  color: var(--ink);
  background: var(--canvas);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 4px rgba(17, 17, 17, 0.06);
}

textarea {
  resize: vertical;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.checkbox-row input {
  width: auto;
  min-height: auto;
}

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

fieldset {
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  margin: 20px 0;
  padding: 18px;
}

.slot-panel {
  margin-top: 18px;
}

.slot-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.slot input {
  position: absolute;
  opacity: 0;
}

.slot span {
  display: inline-flex;
  min-width: 84px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  background: var(--canvas);
  color: var(--ink);
  font-weight: 600;
}

.slot input:checked + span {
  border-color: var(--primary);
  color: var(--canvas);
  background: var(--primary);
}

.flash-wrap {
  margin-top: 16px;
}

.toast-stack {
  position: fixed;
  top: 82px;
  right: max(16px, calc((100vw - var(--container)) / 2));
  z-index: 40;
  display: grid;
  width: min(420px, calc(100% - 32px));
  gap: 10px;
  margin-top: 0;
}

.flash {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  margin: 0;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  color: var(--ink);
  background: var(--canvas);
  box-shadow: var(--shadow-card);
  font-weight: 600;
  animation: toastIn var(--motion-fast) var(--motion-ease) both;
}

.flash--error {
  border-color: rgba(239, 68, 68, 0.28);
}

.flash--success {
  border-color: rgba(16, 185, 129, 0.28);
}

.toast-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--warning);
}

.flash--error .toast-dot {
  background: var(--error);
}

.flash--success .toast-dot {
  background: var(--success);
}

.flash button {
  border: 0;
  border-radius: var(--radius-pill);
  padding: 6px 9px;
  color: var(--muted);
  background: var(--surface-card);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 600;
}

.flash.is-hiding {
  opacity: 0;
  transform: translateY(-8px) scale(0.98);
  transition: opacity var(--motion-fast) var(--motion-ease), transform var(--motion-fast) var(--motion-ease);
}

.admin-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  padding: 48px 0 72px;
}

.admin-nav {
  position: sticky;
  top: 88px;
  display: grid;
  align-self: start;
  gap: 6px;
  border-radius: var(--radius-pill);
  padding: 6px;
  background: var(--surface-soft);
}

.admin-nav a {
  display: flex;
  align-items: center;
  min-height: 40px;
  border-radius: var(--radius-md);
  padding: 0 12px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.admin-nav a:focus {
  color: var(--ink);
  background: var(--canvas);
  box-shadow: var(--shadow-soft);
}

.admin-content {
  min-width: 0;
}

.panel__header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 20px;
}

.panel__header h1,
.panel__header h2 {
  margin: 0;
}

.stats-grid {
  margin-bottom: 24px;
}

.stats-grid span {
  display: block;
  color: var(--ink);
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.stats-grid p {
  margin: 4px 0 0;
  color: var(--muted);
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  border-bottom: 1px solid var(--hairline);
  padding: 13px 12px;
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.table-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.actions-cell {
  white-space: nowrap;
}

.table-actions form {
  margin: 0;
}

.table-actions button,
.compact-list button {
  border: 0;
  min-height: 36px;
  padding: 0 4px;
  color: var(--error);
  background: transparent;
  cursor: pointer;
  font-weight: 600;
}

.status {
  display: inline-flex;
  border-radius: var(--radius-pill);
  padding: 4px 10px;
  color: var(--ink);
  background: var(--surface-card);
  font-size: 0.82rem;
  font-weight: 600;
}

.status--cancelada {
  color: var(--canvas);
  background: var(--error);
}

.status--confirmada {
  color: #064e3b;
  background: #d1fae5;
}

.status--pendiente {
  color: #78350f;
  background: #fef3c7;
}

.status--finalizada {
  color: #1f2937;
  background: var(--surface-strong);
}

.status--no_presentado {
  color: #7f1d1d;
  background: #fee2e2;
}

.detail-list {
  display: grid;
  gap: 12px;
  margin: 24px 0;
}

.detail-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 10px;
}

.detail-list dt {
  color: var(--muted);
  font-weight: 600;
}

.detail-list dd {
  margin: 0;
  color: var(--ink);
}

.integration-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.integration-actions form {
  margin: 0;
}

.integration-warning {
  border: 1px solid #fed7aa;
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  color: #7c2d12;
  background: #fff7ed;
}

.qr-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 20px;
  align-items: center;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-xl);
  padding: 20px;
  background: var(--surface-card);
}

.qr-card h3 {
  margin: 0 0 8px;
}

.qr-card p {
  margin: 0;
  color: var(--muted);
}

.qr-card img {
  width: min(220px, 100%);
  border-radius: var(--radius-lg);
  background: var(--canvas);
  box-shadow: var(--shadow-soft);
}

.pairing-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 20px;
  align-items: start;
  margin-top: 18px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-xl);
  padding: 20px;
  background: var(--surface-card);
}

.pairing-card h3 {
  margin: 0 0 8px;
}

.pairing-card p {
  margin: 0;
  color: var(--muted);
}

.pairing-form {
  display: grid;
  gap: 12px;
}

.pairing-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-weight: 700;
}

.pairing-result {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  border: 1px solid rgba(52, 211, 153, 0.35);
  border-radius: var(--radius-xl);
  padding: 20px;
  background: rgba(52, 211, 153, 0.12);
}

.pairing-result strong {
  color: var(--ink);
  font-size: clamp(2rem, 9vw, 4rem);
  letter-spacing: 0.12em;
}

.pairing-result p {
  margin: 0;
  color: var(--muted);
}

.schedule-grid {
  display: grid;
  gap: 10px;
}

.schedule-row {
  display: grid;
  grid-template-columns: 130px 1fr 1fr auto;
  gap: 10px;
  align-items: center;
}

.two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.empty-state {
  color: var(--muted);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: start;
  width: 100%;
  max-width: none;
  margin-top: 48px;
  padding: 64px max(24px, calc((100vw - var(--container)) / 2));
  color: var(--on-dark-soft);
  background: var(--surface-dark);
}

.footer-brand {
  color: var(--canvas);
  margin-bottom: 12px;
}

.site-footer p {
  max-width: 520px;
  margin: 0;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: var(--on-dark-soft);
}

@media (max-width: 1024px) {
  .public-hero {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 64px 0;
  }

  .experience-band,
  .product-grid,
  .booking-layout {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-grid,
  .filters,
  .form-inline,
  .two-columns {
    grid-template-columns: 1fr;
  }

  .booking-aside {
    min-height: 420px;
    position: relative;
    top: auto;
  }

  .admin-layout {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px 0 56px;
  }

  .admin-nav {
    position: static;
    display: flex;
    gap: 6px;
    overflow-x: auto;
    margin: 0 24px;
    scrollbar-width: none;
  }

  .admin-nav::-webkit-scrollbar {
    display: none;
  }

  .admin-nav a {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .admin-content {
    width: min(100% - 48px, var(--container));
    margin: 0 auto;
  }

  .schedule-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  body {
    overflow-x: hidden;
  }

  .site-header {
    align-items: center;
    flex-direction: row;
    gap: 12px;
    padding: 12px 16px;
  }

  .brand {
    flex: 1 1 auto;
    min-width: 0;
  }

  .brand span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .site-nav {
    width: auto;
    max-width: 62%;
    justify-content: flex-end;
    overflow-x: auto;
    border-radius: 0;
    padding: 0;
    background: transparent;
    scrollbar-width: none;
  }

  .site-nav > a:first-child {
    display: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-nav a,
  .logout-form button {
    flex: 0 0 auto;
    min-height: 42px;
    white-space: nowrap;
  }

  .is-admin-page .brand span:last-child,
  .is-logged-in .brand span:last-child {
    display: none;
  }

  .is-admin-page .site-nav,
  .is-logged-in .site-nav {
    max-width: calc(100% - 48px);
  }

  .public-hero,
  .page,
  .page-section,
  .experience-band,
  .product-band,
  .cta-band,
  .page--narrow,
  .flash-wrap {
    width: calc(100% - 32px);
    max-width: var(--container);
  }

  .public-hero {
    gap: 24px;
    padding: 36px 0 44px;
  }

  .public-hero h1,
  .page-heading h1,
  .auth-box h1 {
    font-size: 2rem;
    letter-spacing: -0.04em;
  }

  .public-hero p,
  .page-heading p {
    max-width: 100%;
    font-size: 1rem;
  }

  .hero-proof {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 18px;
  }

  .hero-proof span {
    width: 100%;
    text-align: center;
  }

  .hero-actions,
  .form-actions {
    display: grid;
  }

  .button {
    width: 100%;
    min-height: 44px;
  }

  .hero-mockup,
  .panel,
  .form,
  .confirmation-box {
    padding: 16px;
  }

  .hero-mockup,
  .experience-media img {
    animation: none;
  }

  .hero-mockup {
    box-shadow: var(--shadow-soft);
  }

  .mockup-toolbar,
  .floating-chip {
    display: none;
  }

  .booking-widget-preview {
    grid-template-columns: 1fr;
  }

  .preview-panel {
    padding: 16px;
  }

  .preview-panel h2 {
    margin-bottom: 12px;
    font-size: 1.35rem;
  }

  .time-fragment {
    display: none;
  }

  .calendar-fragment {
    gap: 6px;
  }

  .calendar-fragment div,
  .calendar-fragment button,
  .time-fragment button,
  .mini-confirm {
    min-height: 42px;
  }

  .service-grid,
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .page,
  .page-section,
  .experience-band,
  .product-band {
    padding: 40px 0;
  }

  .mini-metrics {
    grid-template-columns: 1fr;
  }

  .product-card--image {
    min-height: 220px;
  }

  .cta-band {
    padding: 32px 18px;
  }

  .booking-stepper {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-radius: var(--radius-lg);
    overflow: visible;
  }

  .booking-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px;
    text-align: center;
    font-size: 0.78rem;
    line-height: 1.15;
    white-space: normal;
  }

  .booking-mobile-summary {
    display: block;
    margin: -10px 0 24px;
    border-radius: var(--radius-lg);
    padding: 16px;
    color: var(--canvas);
    background: var(--surface-dark);
  }

  .booking-mobile-summary dl {
    display: grid;
    gap: 10px;
    margin: 0;
  }

  .booking-mobile-summary div {
    display: grid;
    grid-template-columns: minmax(86px, 34%) minmax(0, 1fr);
    gap: 10px;
    align-items: start;
  }

  .booking-mobile-summary dt {
    color: var(--on-dark-soft);
    font-size: 0.8rem;
    font-weight: 600;
  }

  .booking-mobile-summary dd {
    margin: 0;
    color: var(--canvas);
    font-size: 0.9rem;
    font-weight: 700;
    text-align: right;
  }

  input,
  select,
  textarea {
    min-height: 46px;
    font-size: 16px;
  }

  .booking-aside {
    display: none;
  }

  .slot-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .slot span {
    min-width: 0;
    width: 100%;
    min-height: 44px;
  }

  .admin-nav {
    margin: 0 16px;
    border-radius: var(--radius-lg);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
  }

  .admin-nav a {
    justify-content: center;
    min-width: 0;
    padding: 0 10px;
    text-align: center;
    white-space: normal;
  }

  .admin-content {
    width: calc(100% - 32px);
    max-width: var(--container);
  }

  .panel__header {
    align-items: stretch;
    flex-direction: column;
  }

  .table-wrap {
    margin: 0;
    padding: 0;
  }

  table {
    min-width: 0;
  }

  table,
  thead,
  tbody,
  tr,
  td {
    display: block;
  }

  thead {
    display: none;
  }

  tbody {
    display: grid;
    gap: 12px;
  }

  tr {
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
    padding: 12px;
    background: var(--canvas);
    box-shadow: var(--shadow-soft);
  }

  td {
    display: grid;
    grid-template-columns: minmax(82px, 34%) minmax(0, 1fr);
    gap: 12px;
    border-bottom: 0;
    padding: 8px 0;
  }

  td::before {
    content: attr(data-label);
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 600;
  }

  td[colspan] {
    display: block;
  }

  td[colspan]::before {
    content: "";
    display: none;
  }

  .table-actions {
    align-items: center;
    flex-wrap: wrap;
  }

  .table-actions a,
  .table-actions button {
    min-height: 38px;
  }

  .detail-list div {
    display: grid;
    gap: 4px;
  }

  .detail-list dd {
    min-width: 0;
  }

  .integration-actions {
    justify-content: stretch;
  }

  .integration-actions .button,
  .integration-actions form,
  .integration-actions button {
    width: 100%;
  }

  .qr-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .qr-card img {
    justify-self: center;
  }

  .pairing-card {
    grid-template-columns: 1fr;
  }

  .pairing-form .button {
    width: 100%;
  }

  .pairing-result {
    text-align: center;
  }

  .pairing-result strong {
    max-width: 100%;
    font-size: clamp(1.8rem, 12vw, 3rem);
    letter-spacing: 0.08em;
    overflow-wrap: anywhere;
  }

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

  .site-footer {
    grid-template-columns: 1fr;
    padding: 48px 16px;
  }
}

@media (max-width: 420px) {
  .public-hero h1,
  .page-heading h1,
  .auth-box h1 {
    font-size: 1.85rem;
  }

  .service-card,
  .compact-list article,
  .stats-grid article,
  .product-card {
    padding: 18px;
  }

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

  .booking-mobile-summary div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .booking-mobile-summary dd {
    text-align: left;
  }

  .toast-stack {
    top: 108px;
    right: 12px;
    width: calc(100% - 24px);
  }
}

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

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* Professional redesign layer: distinctive agenda product theme. */
:root {
  --canvas: #f7efe3;
  --surface-soft: #fbf6ee;
  --surface-card: #fffaf2;
  --surface-strong: #eadfce;
  --surface-dark: #171512;
  --surface-dark-elevated: #24201b;
  --hairline: rgba(41, 32, 22, 0.13);
  --hairline-soft: rgba(41, 32, 22, 0.08);
  --ink: #19140f;
  --body: #504538;
  --muted: #807260;
  --muted-soft: #a39786;
  --on-dark-soft: #d9cfc1;
  --primary: #19140f;
  --primary-active: #31281f;
  --brand-accent: #d96b3f;
  --accent-blue: #294f6d;
  --accent-gold: #c8932f;
  --success: #1f9d69;
  --warning: #d79a22;
  --error: #d9433a;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --shadow-soft: 0 12px 32px rgba(48, 36, 23, 0.08);
  --shadow-card: 0 28px 80px rgba(48, 36, 23, 0.14);
}

html {
  background:
    radial-gradient(circle at 8% 10%, rgba(217, 107, 63, 0.16), transparent 30%),
    radial-gradient(circle at 92% 18%, rgba(41, 79, 109, 0.14), transparent 26%),
    linear-gradient(180deg, #fbf4ea 0%, var(--canvas) 48%, #f3eadc 100%);
}

body {
  font-family: Manrope, "Segoe UI", sans-serif;
  background:
    linear-gradient(90deg, rgba(25, 20, 15, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(25, 20, 15, 0.03) 1px, transparent 1px);
  background-size: 38px 38px;
}

h1,
h2,
h3 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 700;
}

.site-header {
  top: 12px;
  width: min(var(--container), calc(100% - 32px));
  min-height: 66px;
  margin: 12px auto 0;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-pill);
  padding: 10px 12px;
  background: rgba(255, 250, 242, 0.72);
  box-shadow: 0 18px 44px rgba(48, 36, 23, 0.1);
}

.brand {
  padding-left: 4px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 16px;
  color: #fff8ed;
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.34), transparent 22%),
    linear-gradient(145deg, var(--brand-accent), var(--ink));
  box-shadow: 0 14px 26px rgba(217, 107, 63, 0.26);
}

.site-nav a,
.logout-form button {
  background: rgba(255, 255, 255, 0.46);
}

.site-nav a:hover,
.logout-form button:hover {
  color: var(--ink);
  background: #fffaf2;
}

.page,
.page-section {
  padding-top: 64px;
}

.page-heading {
  position: relative;
  display: grid;
  max-width: 820px;
  margin-bottom: 34px;
}

.page-heading::after {
  content: "";
  width: 86px;
  height: 5px;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--brand-accent), var(--accent-gold));
}

.page-heading h1 {
  margin-bottom: 14px;
  font-size: clamp(2.5rem, 8vw, 5.5rem);
  line-height: 0.92;
  letter-spacing: -0.065em;
}

.page-heading p {
  font-size: 1.08rem;
  line-height: 1.65;
}

.badge-pill {
  border: 1px solid rgba(25, 20, 15, 0.08);
  color: var(--ink);
  background: rgba(255, 250, 242, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  font-weight: 800;
  text-transform: uppercase;
}

.booking-layout {
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.52fr);
  gap: 28px;
}

.form,
.panel,
.confirmation-box {
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.96), rgba(255, 247, 236, 0.9)),
    var(--surface-card);
  box-shadow: var(--shadow-card);
}

.booking-form {
  padding: clamp(20px, 4vw, 38px);
}

.form-section {
  position: relative;
  margin-bottom: 32px;
  border: 1px solid rgba(25, 20, 15, 0.08);
  border-radius: 26px;
  padding: clamp(16px, 3vw, 24px);
  background: rgba(255, 255, 255, 0.46);
}

.form-section h2 {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 18px;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.form-section h2::before {
  content: "";
  width: 12px;
  height: 28px;
  border-radius: var(--radius-pill);
  background: linear-gradient(180deg, var(--brand-accent), var(--accent-gold));
}

.booking-stepper {
  width: 100%;
  border: 1px solid rgba(25, 20, 15, 0.08);
  border-radius: 22px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.56);
}

.booking-step {
  flex: 1 1 0;
  justify-content: center;
  min-height: 44px;
  border-radius: 16px;
  font-weight: 800;
}

.booking-step.is-active {
  color: #fff8ed;
  background: linear-gradient(135deg, var(--ink), #46392d);
}

.booking-step.is-complete {
  color: var(--brand-accent);
}

label {
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

input,
select,
textarea {
  min-height: 52px;
  border: 1px solid rgba(25, 20, 15, 0.1);
  border-radius: 18px;
  padding: 13px 15px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(217, 107, 63, 0.72);
  box-shadow: 0 0 0 5px rgba(217, 107, 63, 0.13);
}

.slot-panel {
  border-radius: 24px;
  padding: 18px;
  background: linear-gradient(135deg, rgba(25, 20, 15, 0.045), rgba(255, 255, 255, 0.42));
}

.slot-panel__title,
.summary-kicker {
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.slot-grid {
  gap: 12px;
}

.slot span {
  min-width: 96px;
  min-height: 52px;
  border: 1px solid rgba(25, 20, 15, 0.11);
  border-radius: 18px;
  background: rgba(255, 250, 242, 0.92);
  box-shadow: 0 10px 22px rgba(48, 36, 23, 0.08);
}

.slot input:checked + span {
  border-color: transparent;
  color: #fff8ed;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.32), transparent 24%),
    linear-gradient(135deg, var(--brand-accent), var(--ink));
  box-shadow: 0 18px 34px rgba(217, 107, 63, 0.26);
}

.button {
  min-height: 48px;
  border-radius: 18px;
  padding: 0 22px;
  font-weight: 800;
}

.button--primary {
  color: #fff8ed;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.22), transparent 22%),
    linear-gradient(135deg, var(--brand-accent), var(--ink));
  box-shadow: 0 18px 32px rgba(217, 107, 63, 0.22);
}

.button--secondary,
.button--small {
  border-color: rgba(25, 20, 15, 0.12);
  background: rgba(255, 250, 242, 0.86);
}

.booking-aside {
  top: 96px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  padding: 18px;
  background:
    radial-gradient(circle at 10% 0%, rgba(217, 107, 63, 0.17), transparent 28%),
    radial-gradient(circle at 100% 100%, rgba(41, 79, 109, 0.18), transparent 30%),
    rgba(255, 250, 242, 0.8);
}

.booking-summary-card {
  border-radius: 24px;
  padding: 20px;
}

.booking-summary-card div {
  grid-template-columns: minmax(92px, 0.8fr) minmax(0, 1fr);
}

.booking-summary-card dd {
  font-weight: 800;
}

.agenda-visual {
  min-height: 320px;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 26px;
  background:
    linear-gradient(90deg, rgba(25, 20, 15, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(25, 20, 15, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 82% 74%, rgba(31, 157, 105, 0.22), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(241, 232, 218, 0.9));
  background-size: 30px 30px, 30px 30px, auto, auto;
}

.agenda-visual__dot {
  position: relative;
  background: linear-gradient(135deg, var(--ink), #4d3d2e);
}

.agenda-visual__dot::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 2px solid rgba(255, 248, 237, 0.68);
  border-radius: 50%;
}

.agenda-visual__time {
  border-radius: 18px;
  box-shadow: 0 16px 28px rgba(48, 36, 23, 0.1);
}

.booking-aside .aside-card {
  border-radius: 24px;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.18), transparent 22%),
    linear-gradient(145deg, #282018, #171512);
}

.stats-grid article,
.service-card,
.compact-list article {
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.92), rgba(255, 247, 236, 0.78));
  box-shadow: var(--shadow-soft);
}

.stats-grid article {
  position: relative;
  overflow: hidden;
}

.stats-grid article::after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -34px;
  width: 88px;
  height: 88px;
  border-radius: 32px;
  background: rgba(217, 107, 63, 0.12);
  transform: rotate(18deg);
}

.stats-grid span {
  font-family: Fraunces, Georgia, serif;
}

.admin-layout {
  gap: 30px;
}

.admin-nav {
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 30px;
  padding: 10px;
  background: rgba(255, 250, 242, 0.72);
  box-shadow: var(--shadow-soft);
}

.admin-nav a {
  border-radius: 20px;
  font-weight: 800;
}

.admin-nav a:hover,
.admin-nav a:focus {
  color: #fff8ed;
  background: linear-gradient(135deg, var(--ink), #46392d);
}

th {
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

td {
  color: #2a2118;
}

.status {
  border: 1px solid rgba(25, 20, 15, 0.06);
  font-weight: 800;
}

.toast-stack {
  top: 96px;
}

.flash {
  border-radius: 22px;
  background: rgba(255, 250, 242, 0.94);
}

.site-footer {
  margin-top: 76px;
  border-radius: 36px 36px 0 0;
  background:
    radial-gradient(circle at 12% 0%, rgba(217, 107, 63, 0.24), transparent 30%),
    linear-gradient(145deg, #211b15, #12100e);
}

@media (max-width: 767px) {
  .site-header {
    top: 8px;
    width: calc(100% - 20px);
    margin-top: 8px;
    border-radius: 24px;
  }

  .page,
  .page-section {
    padding-top: 38px;
  }

  .page-heading h1 {
    font-size: clamp(2.3rem, 14vw, 3.4rem);
  }

  .booking-form {
    padding: 14px;
  }

  .form-section {
    padding: 16px;
  }

  .booking-mobile-summary {
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 24px;
    background:
      radial-gradient(circle at 16% 8%, rgba(217, 107, 63, 0.26), transparent 32%),
      linear-gradient(145deg, #282018, #171512);
  }

  .slot-grid {
    gap: 10px;
  }

  .form-actions {
    position: sticky;
    bottom: 10px;
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.68);
    border-radius: 24px;
    padding: 10px;
    background: rgba(255, 250, 242, 0.82);
    box-shadow: 0 18px 42px rgba(48, 36, 23, 0.18);
    backdrop-filter: blur(16px);
  }

  .admin-nav {
    border-radius: 24px;
  }
}

@media (max-width: 1024px) {
  .booking-layout {
    grid-template-columns: 1fr;
  }

  .booking-aside {
    position: relative;
    top: auto;
  }
}

@media (max-width: 767px) {
  .page,
  .page-section,
  .page--narrow,
  .flash-wrap {
    width: 100%;
    padding-right: 16px;
    padding-left: 16px;
  }

  .booking-layout {
    display: grid;
    grid-template-columns: 1fr;
    width: calc(100vw - 32px) !important;
    max-width: calc(100vw - 32px) !important;
  }

  .booking-aside {
    display: none;
  }

  .booking-form,
  .form-section,
  .booking-mobile-summary,
  .booking-stepper,
  .form-actions {
    width: 100%;
    max-width: 100%;
  }

  .booking-form {
    width: calc(100vw - 32px) !important;
    max-width: calc(100vw - 32px) !important;
    overflow: hidden;
    border-radius: 28px;
  }

  .booking-stepper {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: hidden;
  }

  .booking-step {
    min-width: 0;
    padding: 8px 6px;
    font-size: 0.72rem;
    line-height: 1.1;
    overflow: hidden;
    white-space: normal;
  }

  .booking-mobile-summary {
    display: block;
    width: 100%;
  }

  .booking-mobile-summary div {
    grid-template-columns: 1fr;
  }

  .booking-mobile-summary dd {
    text-align: left;
  }

  input,
  select,
  textarea,
  .button {
    max-width: 100%;
  }

  .form-actions {
    box-sizing: border-box;
  }
}

/* Art direction refinement: remove generic AI-grid patterns and move to a warmer editorial surface. */
html {
  background:
    radial-gradient(ellipse 85% 58% at 8% -8%, rgba(218, 112, 70, 0.18), transparent 62%),
    radial-gradient(ellipse 72% 46% at 96% 12%, rgba(36, 76, 104, 0.13), transparent 58%),
    radial-gradient(ellipse 68% 48% at 52% 108%, rgba(198, 146, 55, 0.14), transparent 56%),
    linear-gradient(145deg, #fbf3e7 0%, #f7efe3 44%, #efe3d1 100%);
}

body {
  position: relative;
  isolation: isolate;
  overflow-x: hidden;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.42), transparent 34%),
    radial-gradient(circle at 28% 24%, rgba(255, 250, 242, 0.48), transparent 34%),
    transparent;
}

body::before,
body::after {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: -1;
}

body::before {
  inset: 0;
  opacity: 0.38;
  background-image:
    radial-gradient(circle at 18% 28%, rgba(25, 20, 15, 0.055) 0 1px, transparent 1.2px),
    radial-gradient(circle at 78% 64%, rgba(25, 20, 15, 0.035) 0 1px, transparent 1.3px);
  background-size: 21px 23px, 29px 31px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 76%, transparent 100%);
}

body::after {
  right: max(-110px, calc((100vw - var(--container)) / 2 - 190px));
  top: 132px;
  width: clamp(240px, 30vw, 430px);
  height: clamp(240px, 30vw, 430px);
  border: 1px solid rgba(25, 20, 15, 0.08);
  border-radius: 45% 55% 52% 48%;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.46), transparent 26%),
    linear-gradient(145deg, rgba(217, 107, 63, 0.13), rgba(41, 79, 109, 0.08));
  filter: blur(0.2px);
  transform: rotate(-12deg);
}

.booking-aside,
.agenda-visual {
  background-size: auto;
}

.agenda-visual {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 78% 52% at 16% 4%, rgba(217, 107, 63, 0.15), transparent 62%),
    radial-gradient(ellipse 82% 50% at 92% 92%, rgba(31, 157, 105, 0.17), transparent 58%),
    linear-gradient(145deg, rgba(255, 252, 246, 0.92), rgba(239, 226, 208, 0.9));
}

.agenda-visual::before {
  content: "";
  position: absolute;
  inset: 18px 20px auto auto;
  width: 96px;
  height: 128px;
  border: 1px solid rgba(25, 20, 15, 0.1);
  border-radius: 999px 999px 28px 28px;
  opacity: 0.42;
  transform: rotate(14deg);
}

.agenda-visual::after {
  content: "";
  position: absolute;
  right: 34px;
  bottom: 28px;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.34);
  filter: blur(18px);
}

.booking-aside {
  background:
    radial-gradient(ellipse 82% 56% at 8% 0%, rgba(217, 107, 63, 0.14), transparent 58%),
    radial-gradient(ellipse 80% 52% at 100% 100%, rgba(41, 79, 109, 0.13), transparent 58%),
    rgba(255, 250, 242, 0.78);
}

@media (max-width: 767px) {
  body::after {
    top: 92px;
    right: -160px;
    opacity: 0.62;
  }

  body::before {
    opacity: 0.24;
  }
}

/* Black/yellow brand palette: high-contrast, energetic, and still comfortable on mobile. */
:root {
  --canvas: #f7f1df;
  --surface-soft: #fff9df;
  --surface-card: #fffdf4;
  --surface-strong: #eadfbc;
  --surface-dark: #0e0d0a;
  --surface-dark-elevated: #1b1810;
  --hairline: rgba(14, 13, 10, 0.13);
  --hairline-soft: rgba(14, 13, 10, 0.08);
  --ink: #0e0d0a;
  --body: #3f3828;
  --muted: #74684a;
  --muted-soft: #9a8e70;
  --on-dark-soft: #e9ddb6;
  --primary: #0e0d0a;
  --primary-active: #252113;
  --brand-accent: #f4c430;
  --accent-blue: #1f2a30;
  --accent-gold: #ffd84d;
  --success: #14935f;
  --warning: #e0a400;
  --error: #d93a2f;
  --shadow-soft: 0 12px 32px rgba(14, 13, 10, 0.08);
  --shadow-card: 0 28px 80px rgba(14, 13, 10, 0.15);
}

html {
  background:
    radial-gradient(ellipse 78% 54% at 6% -8%, rgba(244, 196, 48, 0.34), transparent 62%),
    radial-gradient(ellipse 68% 44% at 98% 6%, rgba(14, 13, 10, 0.1), transparent 58%),
    radial-gradient(ellipse 72% 48% at 46% 108%, rgba(255, 216, 77, 0.2), transparent 56%),
    linear-gradient(145deg, #fff9df 0%, #f7f1df 44%, #e9ddbd 100%);
}

body {
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.52), transparent 34%),
    radial-gradient(circle at 28% 24%, rgba(255, 249, 223, 0.5), transparent 34%),
    transparent;
}

body::before {
  opacity: 0.26;
  background-image:
    radial-gradient(circle at 18% 28%, rgba(14, 13, 10, 0.06) 0 1px, transparent 1.2px),
    radial-gradient(circle at 78% 64%, rgba(14, 13, 10, 0.035) 0 1px, transparent 1.3px);
}

body::after {
  border-color: rgba(14, 13, 10, 0.08);
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.48), transparent 26%),
    linear-gradient(145deg, rgba(244, 196, 48, 0.2), rgba(14, 13, 10, 0.08));
}

.site-header,
.admin-nav {
  border-color: rgba(255, 255, 255, 0.76);
  background: rgba(255, 253, 244, 0.74);
  box-shadow: 0 18px 44px rgba(14, 13, 10, 0.1);
}

.brand-mark {
  color: var(--ink);
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.44), transparent 22%),
    linear-gradient(145deg, var(--accent-gold), var(--brand-accent));
  box-shadow: 0 14px 28px rgba(244, 196, 48, 0.34);
}

.site-nav a:hover,
.logout-form button:hover,
.site-nav a:focus,
.logout-form button:focus {
  background: #fff7c2;
}

.admin-nav a:hover,
.admin-nav a:focus {
  color: var(--ink);
  background: linear-gradient(135deg, var(--accent-gold), var(--brand-accent));
}

.page-heading::after,
.form-section h2::before {
  background: linear-gradient(90deg, var(--ink), var(--brand-accent));
}

.badge-pill {
  background: rgba(255, 247, 194, 0.82);
}

.form,
.panel,
.confirmation-box,
.stats-grid article,
.service-card,
.compact-list article {
  background:
    linear-gradient(180deg, rgba(255, 253, 244, 0.96), rgba(255, 249, 223, 0.86)),
    var(--surface-card);
}

.form-section {
  background: rgba(255, 255, 255, 0.5);
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(244, 196, 48, 0.9);
  box-shadow: 0 0 0 5px rgba(244, 196, 48, 0.18);
}

.booking-step.is-active,
.button--primary,
.slot input:checked + span {
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.42), transparent 24%),
    linear-gradient(135deg, var(--accent-gold), var(--brand-accent));
  box-shadow: 0 18px 34px rgba(244, 196, 48, 0.28);
}

.booking-step.is-complete {
  color: #a67c00;
}

.button--primary:hover,
.button--primary:focus {
  color: var(--ink);
  filter: saturate(1.04) contrast(1.03);
}

.slot-panel {
  background: linear-gradient(135deg, rgba(14, 13, 10, 0.045), rgba(255, 247, 194, 0.52));
}

.slot span {
  background: rgba(255, 253, 244, 0.94);
}

.booking-aside {
  background:
    radial-gradient(ellipse 82% 56% at 8% 0%, rgba(244, 196, 48, 0.2), transparent 58%),
    radial-gradient(ellipse 80% 52% at 100% 100%, rgba(14, 13, 10, 0.1), transparent 58%),
    rgba(255, 253, 244, 0.78);
}

.agenda-visual {
  background:
    radial-gradient(ellipse 78% 52% at 16% 4%, rgba(244, 196, 48, 0.22), transparent 62%),
    radial-gradient(ellipse 82% 50% at 92% 92%, rgba(14, 13, 10, 0.1), transparent 58%),
    linear-gradient(145deg, rgba(255, 253, 244, 0.94), rgba(236, 224, 189, 0.9));
}

.agenda-visual::before {
  border-color: rgba(14, 13, 10, 0.12);
}

.agenda-visual__dot,
.booking-aside .aside-card,
.booking-mobile-summary,
.site-footer {
  background:
    radial-gradient(circle at 18% 18%, rgba(244, 196, 48, 0.18), transparent 24%),
    linear-gradient(145deg, #211f18, #0e0d0a);
}

.agenda-visual__time--active {
  color: var(--ink);
  background: var(--brand-accent);
}

.stats-grid article::after {
  background: rgba(244, 196, 48, 0.2);
}

.flash {
  background: rgba(255, 253, 244, 0.95);
}

@media (max-width: 767px) {
  .booking-mobile-summary {
    background:
      radial-gradient(circle at 16% 8%, rgba(244, 196, 48, 0.22), transparent 32%),
      linear-gradient(145deg, #211f18, #0e0d0a);
  }

  .form-actions {
    background: rgba(255, 253, 244, 0.86);
  }
}

/* Solid black/yellow redesign: no glass, no blurred UI, just strong brand surfaces. */
:root {
  --canvas: #ffd400;
  --surface-soft: #fff4b8;
  --surface-card: #fffbea;
  --surface-strong: #f0c400;
  --surface-dark: #070707;
  --surface-dark-elevated: #171717;
  --hairline: #070707;
  --hairline-soft: #070707;
  --ink: #070707;
  --body: #181818;
  --muted: #5a502b;
  --muted-soft: #786c3b;
  --on-dark-soft: #ffe879;
  --primary: #070707;
  --primary-active: #171717;
  --brand-accent: #ffd400;
  --accent-blue: #070707;
  --accent-gold: #ffd400;
  --success: #0f8f5b;
  --warning: #ffd400;
  --error: #d92d20;
  --shadow-soft: 6px 6px 0 #070707;
  --shadow-card: 10px 10px 0 #070707;
}

html,
body {
  background: var(--canvas);
}

body {
  background:
    linear-gradient(135deg, #ffd400 0 68%, #efbd00 68% 100%);
}

body::before {
  inset: 0 auto auto 0;
  width: min(44vw, 520px);
  height: 100vh;
  z-index: 0;
  opacity: 1;
  background: #070707;
  clip-path: polygon(0 0, 62% 0, 35% 100%, 0 100%);
  mask-image: none;
}

body::after {
  right: -80px;
  top: 118px;
  width: clamp(180px, 24vw, 330px);
  height: clamp(180px, 24vw, 330px);
  z-index: 0;
  border: 8px solid #070707;
  border-radius: 36px;
  background: #ffd400;
  filter: none;
  transform: rotate(10deg);
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  border: 2px solid #070707;
  background: #070707;
  box-shadow: 8px 8px 0 #ffd400;
}

.brand,
.site-header .brand {
  color: #ffffff;
}

.brand-mark {
  border: 2px solid #ffffff;
  color: #070707;
  background: #ffd400;
  box-shadow: none;
}

.site-nav a,
.logout-form button {
  border: 1px solid #ffd400;
  color: #ffffff;
  background: #171717;
}

.site-nav a:hover,
.site-nav a:focus,
.logout-form button:hover,
.logout-form button:focus {
  color: #070707;
  background: #ffd400;
}

.page-heading h1,
.page-heading p {
  color: #070707;
}

.page-heading::after,
.form-section h2::before {
  background: #070707;
}

.badge-pill {
  border: 2px solid #070707;
  color: #070707;
  background: #ffd400;
  box-shadow: 4px 4px 0 #070707;
}

.form,
.panel,
.confirmation-box,
.stats-grid article,
.service-card,
.compact-list article,
.auth-box,
.product-card,
.qr-card,
.pairing-card {
  border: 2px solid #070707;
  background: #fffbea;
  box-shadow: var(--shadow-card);
}

.booking-form {
  background: #fffbea;
}

.form-section {
  border: 2px solid #070707;
  background: #ffffff;
}

.booking-stepper {
  border: 2px solid #070707;
  background: #070707;
}

.booking-step {
  color: #070707;
  background: #fffbea;
}

.booking-step.is-active {
  color: #070707;
  background: #ffd400;
  box-shadow: none;
}

.booking-step.is-complete {
  color: #ffd400;
  background: #171717;
}

input,
select,
textarea {
  border: 2px solid #070707;
  background: #ffffff;
  box-shadow: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #070707;
  box-shadow: 4px 4px 0 #ffd400;
}

.slot-panel {
  border: 2px dashed #070707;
  background: #fff4b8;
}

.slot span,
.agenda-visual__time {
  border: 2px solid #070707;
  color: #070707;
  background: #ffffff;
  box-shadow: 4px 4px 0 #070707;
}

.slot input:checked + span {
  color: #ffd400;
  background: #070707;
  box-shadow: 4px 4px 0 #ffd400;
}

.button {
  border: 2px solid #070707;
  box-shadow: 5px 5px 0 #070707;
  transition: transform var(--motion-fast) var(--motion-ease), box-shadow var(--motion-fast) var(--motion-ease), background-color var(--motion-fast) var(--motion-ease);
}

.button:hover,
.button:focus {
  transform: translate(2px, 2px);
  box-shadow: 3px 3px 0 #070707;
}

.button--primary {
  color: #070707;
  background: #ffd400;
}

.button--secondary,
.button--small {
  color: #070707;
  background: #ffffff;
}

.booking-aside {
  border: 2px solid #070707;
  background: #070707;
  box-shadow: var(--shadow-card);
}

.booking-summary-card {
  border: 2px solid #070707;
  color: #070707;
  background: #ffd400;
  box-shadow: none;
  backdrop-filter: none;
}

.booking-summary-card .summary-kicker,
.booking-summary-card dt,
.booking-summary-card dd {
  color: #070707;
}

.agenda-visual {
  border: 2px solid #070707;
  background: #ffd400;
  box-shadow: none;
}

.agenda-visual::before {
  border: 6px solid #070707;
  opacity: 1;
}

.agenda-visual::after {
  background: #ffffff;
  filter: none;
}

.agenda-visual__dot {
  background: #070707;
}

.agenda-visual__dot::after {
  border-color: #ffd400;
}

.agenda-visual__line {
  background: #070707;
}

.agenda-visual__time--active {
  color: #070707;
  background: #ffffff;
}

.booking-aside .aside-card,
.booking-mobile-summary,
.site-footer {
  color: #ffffff;
  background: #070707;
}

.booking-aside .aside-card {
  border: 2px solid #ffd400;
}

.admin-nav {
  border: 2px solid #070707;
  background: #fffbea;
  box-shadow: 6px 6px 0 #070707;
}

.admin-nav a {
  color: #070707;
}

.admin-nav a:hover,
.admin-nav a:focus {
  color: #070707;
  background: #ffd400;
}

table {
  border-color: #070707;
}

th {
  color: #070707;
}

td {
  color: #181818;
}

.status {
  border: 2px solid #070707;
  color: #070707;
}

.flash {
  border: 2px solid #070707;
  background: #fffbea;
  box-shadow: 6px 6px 0 #070707;
}

.stats-grid article::after {
  background: #ffd400;
}

.form-actions {
  backdrop-filter: none;
}

@media (max-width: 767px) {
  body {
    background: #ffd400;
  }

  body::before {
    width: 148px;
    opacity: 1;
    clip-path: polygon(0 0, 62% 0, 18% 100%, 0 100%);
  }

  body::after {
    top: 110px;
    right: -124px;
    opacity: 1;
  }

  .site-header {
    box-shadow: 5px 5px 0 #ffd400;
  }

  .form,
  .panel,
  .confirmation-box,
  .stats-grid article,
  .service-card,
  .compact-list article,
  .auth-box,
  .product-card {
    box-shadow: 6px 6px 0 #070707;
  }

  .booking-mobile-summary {
    border: 2px solid #ffd400;
    background: #070707;
  }

  .form-actions {
    border: 2px solid #070707;
    background: #fffbea;
    box-shadow: 6px 6px 0 #070707;
  }
}

/* Professional polish pass: stronger alignment, safer responsive spacing, no overlap with decorative background. */
body::before {
  width: clamp(54px, 8vw, 118px);
  clip-path: polygon(0 0, 100% 0, 46% 100%, 0 100%);
}

body::after {
  right: max(-90px, calc((100vw - var(--container)) / 2 - 132px));
  opacity: 0.9;
}

.site-header {
  width: min(1120px, calc(100% - 32px));
  padding: 10px 14px;
}

.page,
.page-section,
.admin-content,
.flash-wrap {
  width: min(1120px, calc(100% - 32px));
}

.page {
  padding-top: clamp(42px, 5vw, 64px);
}

.page-heading {
  max-width: 760px;
  margin-bottom: clamp(24px, 4vw, 42px);
  padding: clamp(18px, 3vw, 26px);
  border: 2px solid #070707;
  background: #fffbea;
  box-shadow: 8px 8px 0 #070707;
}

.page-heading h1 {
  max-width: 12ch;
  margin-bottom: 12px;
}

.page-heading p:not(.badge-pill) {
  max-width: 58ch;
}

.booking-layout {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  align-items: start;
  gap: clamp(18px, 3vw, 28px);
}

.booking-form,
.panel,
.confirmation-box {
  overflow: clip;
}

.form-section {
  margin-bottom: clamp(18px, 3vw, 28px);
}

.form-grid {
  gap: 16px;
}

.booking-stepper {
  gap: 6px;
}

.booking-step {
  min-width: 0;
  text-align: center;
  white-space: normal;
}

.slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
}

.slot span {
  width: 100%;
}

.booking-summary-card div {
  gap: 12px;
}

.booking-summary-card dd {
  overflow-wrap: anywhere;
}

.agenda-visual {
  min-height: 300px;
}

.agenda-visual > * {
  position: relative;
  z-index: 1;
}

.aside-card {
  line-height: 1.35;
}

.panel__header {
  align-items: center;
  gap: 16px;
}

.table-actions {
  justify-content: flex-start;
}

.table-actions a,
.table-actions button {
  white-space: nowrap;
}

@media (max-width: 1024px) {
  body::before {
    width: 42px;
  }

  body::after {
    right: -140px;
    opacity: 0.62;
  }

  .booking-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  body::before {
    width: 18px;
    clip-path: none;
  }

  body::after {
    display: none;
  }

  .site-header {
    width: calc(100% - 20px);
    min-height: 58px;
    padding: 8px;
    box-shadow: 4px 4px 0 #ffd400;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .site-nav {
    gap: 5px;
    max-width: 58%;
  }

  .site-nav a,
  .logout-form button {
    min-height: 34px;
    padding: 0 10px;
    font-size: 0.82rem;
  }

  .page,
  .page-section,
  .admin-content,
  .flash-wrap {
    width: 100%;
    max-width: 100%;
    padding-right: 14px;
    padding-left: 14px;
  }

  .page {
    padding-top: 32px;
  }

  .page-heading {
    margin-bottom: 22px;
    padding: 16px;
    border-radius: 22px;
    box-shadow: 5px 5px 0 #070707;
  }

  .page-heading h1 {
    max-width: 100%;
    font-size: clamp(2rem, 13vw, 3rem);
    line-height: 0.96;
  }

  .page-heading p:not(.badge-pill) {
    font-size: 0.98rem;
    line-height: 1.5;
  }

  .badge-pill {
    width: fit-content;
    max-width: 100%;
    box-shadow: 3px 3px 0 #070707;
  }

  .booking-layout,
  .booking-form {
    width: 100% !important;
    max-width: 100% !important;
  }

  .booking-form {
    padding: 12px;
    border-radius: 24px;
    box-shadow: 5px 5px 0 #070707;
  }

  .booking-stepper {
    grid-template-columns: 1fr;
  }

  .booking-step {
    min-height: 38px;
    justify-content: flex-start;
    padding: 8px 12px;
    text-align: left;
    font-size: 0.8rem;
  }

  .booking-mobile-summary {
    margin: 12px 0 18px;
    border-color: #070707;
    box-shadow: 4px 4px 0 #070707;
  }

  .form-section {
    padding: 14px;
    border-radius: 20px;
  }

  .form-section h2 {
    gap: 8px;
    font-size: 1.35rem;
  }

  .form-section h2::before {
    width: 9px;
    height: 24px;
  }

  .form-grid {
    gap: 12px;
  }

  input,
  select,
  textarea {
    min-height: 48px;
    border-radius: 14px;
  }

  .slot-panel {
    padding: 14px;
    border-radius: 18px;
  }

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

  .slot span {
    min-width: 0;
    min-height: 48px;
    border-radius: 14px;
    box-shadow: 3px 3px 0 #070707;
  }

  .form-actions {
    bottom: 8px;
    padding: 8px;
    border-radius: 18px;
    box-shadow: 4px 4px 0 #070707;
  }

  .form-actions .button {
    width: 100%;
  }

  .button {
    min-height: 46px;
    border-radius: 14px;
    box-shadow: 4px 4px 0 #070707;
  }

  .panel__header {
    align-items: flex-start;
  }

  .admin-nav {
    margin-right: 14px;
    margin-left: 14px;
    box-shadow: 4px 4px 0 #070707;
  }
}

@media (max-width: 420px) {
  .site-nav {
    max-width: 54%;
  }

  .site-nav a,
  .logout-form button {
    padding: 0 8px;
  }

  .page-heading {
    padding: 14px;
  }

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

  .table-actions {
    gap: 8px;
  }
}

/* Business-grade black/yellow refinement: confident, less comic, still distinctive. */
:root {
  --canvas: #f6c900;
  --surface-soft: #fff6c4;
  --surface-card: #fffdf4;
  --surface-strong: #f1d45a;
  --surface-dark: #0b0b0b;
  --surface-dark-elevated: #191919;
  --hairline: rgba(11, 11, 11, 0.16);
  --hairline-soft: rgba(11, 11, 11, 0.08);
  --ink: #0b0b0b;
  --body: #242424;
  --muted: #685c31;
  --muted-soft: #93834b;
  --on-dark-soft: #f4dc67;
  --primary: #0b0b0b;
  --primary-active: #202020;
  --brand-accent: #f6c900;
  --accent-gold: #ffd83d;
  --shadow-soft: 0 12px 28px rgba(11, 11, 11, 0.1);
  --shadow-card: 0 20px 54px rgba(11, 11, 11, 0.16);
}

body {
  background:
    linear-gradient(180deg, #f6c900 0%, #f4c600 42%, #edbd00 100%);
}

body::before {
  width: clamp(10px, 1.6vw, 22px);
  background: #0b0b0b;
  clip-path: none;
}

body::after {
  display: none;
}

.site-header {
  border: 1px solid #0b0b0b;
  border-radius: 26px;
  background: #0b0b0b;
  box-shadow: 0 14px 36px rgba(11, 11, 11, 0.22);
}

.brand-mark {
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 14px;
  background: #f6c900;
}

.site-nav a,
.logout-form button {
  border: 1px solid rgba(246, 201, 0, 0.42);
  border-radius: 999px;
  background: #171717;
}

.page-heading {
  border: 1px solid rgba(11, 11, 11, 0.16);
  border-radius: 28px;
  background: #fffdf4;
  box-shadow: var(--shadow-card);
}

.badge-pill {
  border: 1px solid #0b0b0b;
  border-radius: 999px;
  background: #f6c900;
  box-shadow: none;
}

.form,
.panel,
.confirmation-box,
.stats-grid article,
.service-card,
.compact-list article,
.auth-box,
.product-card,
.qr-card,
.pairing-card {
  border: 1px solid rgba(11, 11, 11, 0.14);
  border-radius: 28px;
  background: #fffdf4;
  box-shadow: var(--shadow-card);
}

.form-section {
  border: 1px solid rgba(11, 11, 11, 0.12);
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(11, 11, 11, 0.04);
}

.booking-stepper {
  border: 1px solid #0b0b0b;
  background: #111111;
}

.booking-step {
  background: #fffdf4;
}

.booking-step.is-active {
  background: #f6c900;
}

input,
select,
textarea {
  border: 1px solid rgba(11, 11, 11, 0.22);
  border-radius: 14px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #0b0b0b;
  box-shadow: 0 0 0 4px rgba(246, 201, 0, 0.28);
}

.slot-panel {
  border: 1px solid rgba(11, 11, 11, 0.12);
  background: #fff6c4;
}

.slot span,
.agenda-visual__time {
  border: 1px solid rgba(11, 11, 11, 0.18);
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(11, 11, 11, 0.08);
}

.slot input:checked + span {
  color: #ffffff;
  background: #0b0b0b;
  box-shadow: 0 10px 22px rgba(11, 11, 11, 0.18);
}

.button {
  border: 1px solid #0b0b0b;
  box-shadow: 0 10px 20px rgba(11, 11, 11, 0.15);
}

.button:hover,
.button:focus {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(11, 11, 11, 0.18);
}

.button--primary {
  color: #0b0b0b;
  background: #f6c900;
}

.button--secondary,
.button--small {
  background: #ffffff;
}

.booking-aside {
  border: 1px solid #0b0b0b;
  background: #0b0b0b;
  box-shadow: var(--shadow-card);
}

.booking-summary-card {
  border: 0;
  border-radius: 22px;
  background: #f6c900;
}

.agenda-visual {
  border: 0;
  border-radius: 22px;
  background: #f6c900;
}

.agenda-visual::before {
  border-width: 3px;
  opacity: 0.42;
}

.agenda-visual__dot {
  box-shadow: 0 12px 24px rgba(11, 11, 11, 0.18);
}

.agenda-visual__line {
  background: rgba(11, 11, 11, 0.7);
}

.booking-aside .aside-card,
.booking-mobile-summary,
.site-footer {
  background: #0b0b0b;
}

.booking-aside .aside-card {
  border: 1px solid rgba(246, 201, 0, 0.48);
}

.admin-nav {
  border: 1px solid rgba(11, 11, 11, 0.14);
  border-radius: 24px;
  background: #fffdf4;
  box-shadow: var(--shadow-soft);
}

.admin-nav a:hover,
.admin-nav a:focus {
  background: #f6c900;
}

.status {
  border: 1px solid rgba(11, 11, 11, 0.12);
}

.flash {
  border: 1px solid rgba(11, 11, 11, 0.14);
  box-shadow: var(--shadow-soft);
}

.form-actions {
  border: 1px solid rgba(11, 11, 11, 0.14);
  box-shadow: var(--shadow-soft);
}

@media (max-width: 767px) {
  body::before {
    display: none;
  }

  .site-header {
    border-radius: 20px;
    box-shadow: 0 10px 24px rgba(11, 11, 11, 0.22);
  }

  .page-heading,
  .booking-form,
  .panel,
  .confirmation-box,
  .stats-grid article,
  .service-card,
  .compact-list article,
  .auth-box,
  .product-card {
    box-shadow: 0 14px 32px rgba(11, 11, 11, 0.16);
  }

  .booking-mobile-summary {
    border: 1px solid rgba(246, 201, 0, 0.48);
    box-shadow: none;
  }

  .slot span,
  .button,
  .form-actions,
  .admin-nav {
    box-shadow: 0 8px 18px rgba(11, 11, 11, 0.12);
  }
}

/* Balanced business palette: black foundation, yellow accent, neutral surfaces. */
:root {
  --canvas: #f4f1e8;
  --surface-soft: #f8f3dc;
  --surface-card: #fffdf7;
  --surface-strong: #e8dfc3;
  --surface-dark: #0b0b0b;
  --surface-dark-elevated: #181818;
  --hairline: rgba(11, 11, 11, 0.14);
  --hairline-soft: rgba(11, 11, 11, 0.08);
  --ink: #0b0b0b;
  --body: #2d2b25;
  --muted: #6f6753;
  --muted-soft: #9a9076;
  --on-dark-soft: #d8cfb6;
  --primary: #0b0b0b;
  --primary-active: #1b1b1b;
  --brand-accent: #f3c600;
  --accent-gold: #ffd43b;
  --success: #16875a;
  --warning: #d39e00;
  --error: #cf3327;
  --shadow-soft: 0 10px 26px rgba(11, 11, 11, 0.08);
  --shadow-card: 0 18px 48px rgba(11, 11, 11, 0.12);
}

html,
body {
  background: var(--canvas);
}

body {
  background:
    radial-gradient(ellipse 720px 420px at 88% -80px, rgba(243, 198, 0, 0.18), transparent 66%),
    linear-gradient(180deg, #f8f5ed 0%, #f4f1e8 54%, #eee8d9 100%);
}

body::before {
  display: block;
  width: 8px;
  background: #0b0b0b;
}

.site-header {
  border: 1px solid #0b0b0b;
  background: #0b0b0b;
  box-shadow: 0 12px 30px rgba(11, 11, 11, 0.18);
}

.brand-mark {
  color: #0b0b0b;
  background: #f3c600;
}

.site-nav a,
.logout-form button {
  border-color: rgba(255, 255, 255, 0.12);
  background: #161616;
}

.site-nav a:hover,
.site-nav a:focus,
.logout-form button:hover,
.logout-form button:focus {
  background: #f3c600;
}

.page-heading {
  background: #fffdf7;
}

.page-heading::after {
  background: #f3c600;
}

.badge-pill {
  background: #fff4b8;
}

.form,
.panel,
.confirmation-box,
.stats-grid article,
.service-card,
.compact-list article,
.auth-box,
.product-card,
.qr-card,
.pairing-card {
  background: #fffdf7;
}

.form-section {
  background: #ffffff;
}

.form-section h2::before {
  background: #f3c600;
}

.booking-stepper {
  background: #0b0b0b;
}

.booking-step {
  background: #fffdf7;
}

.booking-step.is-active {
  background: #f3c600;
}

.booking-step.is-complete {
  color: #ffffff;
  background: #252525;
}

input,
select,
textarea {
  background: #ffffff;
}

input:focus,
select:focus,
textarea:focus {
  box-shadow: 0 0 0 4px rgba(243, 198, 0, 0.22);
}

.slot-panel {
  background: #f8f3dc;
}

.slot span,
.agenda-visual__time {
  background: #ffffff;
}

.slot input:checked + span {
  color: #0b0b0b;
  background: #f3c600;
}

.button--primary {
  color: #0b0b0b;
  background: #f3c600;
}

.button--secondary,
.button--small {
  background: #ffffff;
}

.booking-aside {
  background: #0b0b0b;
}

.booking-summary-card {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #fffdf7;
}

.booking-summary-card .summary-kicker,
.booking-summary-card dt {
  color: #6f6753;
}

.booking-summary-card dd {
  color: #0b0b0b;
}

.agenda-visual {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, #1b1b1b, #0b0b0b);
}

.agenda-visual::before {
  border-color: rgba(243, 198, 0, 0.5);
}

.agenda-visual::after {
  background: rgba(243, 198, 0, 0.2);
}

.agenda-visual__dot {
  background: #f3c600;
}

.agenda-visual__dot::after {
  border-color: #0b0b0b;
}

.agenda-visual__line {
  background: rgba(255, 255, 255, 0.42);
}

.agenda-visual__time--active {
  background: #f3c600;
}

.booking-aside .aside-card,
.booking-mobile-summary,
.site-footer {
  background: #0b0b0b;
}

.booking-aside .aside-card {
  border-color: rgba(243, 198, 0, 0.32);
}

.form-actions {
  background: #fffdf7;
}

@media (max-width: 767px) {
  body {
    background:
      radial-gradient(ellipse 320px 220px at 100% -60px, rgba(243, 198, 0, 0.2), transparent 70%),
      #f4f1e8;
  }

  body::before {
    display: none;
  }

  .booking-mobile-summary {
    border-color: rgba(243, 198, 0, 0.28);
    background: #0b0b0b;
  }

  .form-actions {
    background: #fffdf7;
  }
}

/* Header and language switch refinement: premium glass, precise spacing, no deformation. */
.site-header {
  width: min(1120px, calc(100% - 28px));
  min-height: 64px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  padding: 10px 12px;
  color: #ffffff;
  background: rgba(11, 11, 11, 0.78);
  box-shadow: 0 18px 42px rgba(11, 11, 11, 0.22);
  backdrop-filter: blur(18px) saturate(1.2);
}

.brand {
  gap: 12px;
  color: #ffffff;
}

.brand:hover,
.brand:focus {
  color: #ffffff;
}

.brand-mark {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 13px;
  color: #0b0b0b;
  background: #f3c600;
  box-shadow: inset 0 -1px 0 rgba(11, 11, 11, 0.18);
}

.site-nav {
  gap: 8px;
  overflow: visible;
}

.site-nav a,
.logout-form button {
  min-height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 0 14px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.06);
}

.site-nav a:hover,
.site-nav a:focus,
.logout-form button:hover,
.logout-form button:focus {
  border-color: rgba(243, 198, 0, 0.72);
  color: #0b0b0b;
  background: #f3c600;
}

@media (max-width: 767px) {
  .site-header {
    width: calc(100% - 20px);
    min-height: 58px;
    border-radius: 20px;
    padding: 8px;
  }

  .brand {
    gap: 8px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .site-nav {
    flex: 0 0 auto;
    max-width: 68%;
    gap: 6px;
    overflow-x: auto;
  }

  .site-nav a,
  .logout-form button {
    min-height: 36px;
    padding: 0 11px;
    font-size: 0.82rem;
  }

}

@media (max-width: 420px) {
  .site-nav {
    max-width: 72%;
  }

  .site-nav a,
  .logout-form button {
    padding: 0 9px;
  }

}

/* Black/yellow priority: brand colors lead, neutrals only support readability. */
:root {
  --canvas: #f2eee2;
  --surface-soft: #f7f0cf;
  --surface-card: #fffdf7;
  --surface-dark: #080808;
  --surface-dark-elevated: #171717;
  --ink: #080808;
  --body: #26231c;
  --muted: #6c624a;
  --on-dark-soft: #d7d1bd;
  --brand-accent: #f2c400;
  --accent-gold: #ffd533;
  --shadow-soft: 0 10px 28px rgba(8, 8, 8, 0.08);
  --shadow-card: 0 20px 52px rgba(8, 8, 8, 0.13);
}

body {
  background:
    radial-gradient(ellipse 680px 360px at 94% -120px, rgba(242, 196, 0, 0.22), transparent 70%),
    linear-gradient(180deg, #f7f4ec 0%, #f2eee2 100%);
}

.page-heading {
  border-color: rgba(8, 8, 8, 0.18);
  color: #ffffff;
  background:
    radial-gradient(ellipse 420px 180px at 100% 0%, rgba(242, 196, 0, 0.16), transparent 70%),
    #080808;
}

.page-heading h1,
.page-heading p:not(.badge-pill) {
  color: #ffffff;
}

.page-heading p:not(.badge-pill) {
  color: rgba(255, 255, 255, 0.78);
}

.page-heading::after {
  background: #f2c400;
}

.badge-pill {
  border-color: rgba(242, 196, 0, 0.5);
  color: #080808;
  background: #f2c400;
}

.form,
.panel,
.confirmation-box,
.stats-grid article,
.service-card,
.compact-list article,
.auth-box,
.product-card,
.qr-card,
.pairing-card {
  border-color: rgba(8, 8, 8, 0.12);
}

.form-section h2,
.panel__header h1,
.panel__header h2 {
  color: #080808;
}

.booking-stepper {
  background: #080808;
}

.booking-step.is-active {
  color: #080808;
  background: #f2c400;
}

.booking-step.is-complete {
  color: #f2c400;
  background: #202020;
}

.slot input:checked + span,
.button--primary,
.agenda-visual__time--active,
.admin-nav a:hover,
.admin-nav a:focus {
  color: #080808;
  background: #f2c400;
}

.button--primary {
  border-color: #080808;
}

.booking-aside,
.booking-mobile-summary,
.site-footer {
  background: #080808;
}

.booking-summary-card {
  border-color: rgba(242, 196, 0, 0.34);
  background: #111111;
}

.booking-summary-card .summary-kicker {
  color: #f2c400;
}

.booking-summary-card dt {
  color: rgba(255, 255, 255, 0.56);
}

.booking-summary-card dd {
  color: #ffffff;
}

.agenda-visual {
  background:
    radial-gradient(ellipse 260px 160px at 100% 100%, rgba(242, 196, 0, 0.18), transparent 70%),
    #111111;
}

.agenda-visual__dot {
  background: #f2c400;
}

.agenda-visual__time {
  border-color: rgba(255, 255, 255, 0.12);
}

.agenda-visual__time--active {
  border-color: #f2c400;
}

.form-actions {
  background: #fffdf7;
}

@media (max-width: 767px) {
  body {
    background:
      radial-gradient(ellipse 280px 180px at 100% -56px, rgba(242, 196, 0, 0.22), transparent 68%),
      #f2eee2;
  }

  .page-heading {
    background:
      radial-gradient(ellipse 260px 130px at 100% 0%, rgba(242, 196, 0, 0.18), transparent 72%),
      #080808;
  }
}

/* Aceternity-inspired motion layer: adapted to plain Flask templates. */
:root {
  --scroll-progress: 0;
  --spotlight-x: 50%;
  --spotlight-y: 50%;
  --motion-spring: cubic-bezier(0.2, 0.9, 0.24, 1);
}

.motion-scroll-beam {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 120;
  width: 100%;
  height: 3px;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8, 8, 8, 0.12), rgba(242, 196, 0, 0.95), rgba(255, 218, 61, 0.95)),
    #f2c400;
  box-shadow:
    0 0 18px rgba(242, 196, 0, 0.42),
    0 0 42px rgba(242, 196, 0, 0.24);
  transform: scaleX(var(--scroll-progress));
  transform-origin: left center;
  transition: transform 120ms linear;
}

.site-header {
  will-change: transform, box-shadow, padding, border-radius;
  transition:
    transform 320ms var(--motion-spring),
    box-shadow 320ms var(--motion-spring),
    padding 320ms var(--motion-spring),
    border-radius 320ms var(--motion-spring),
    background 320ms var(--motion-spring);
}

.site-header.is-condensed {
  padding-top: 0.45rem;
  padding-bottom: 0.45rem;
  border-radius: 0 0 1.15rem 1.15rem;
  background:
    linear-gradient(180deg, rgba(8, 8, 8, 0.88), rgba(8, 8, 8, 0.78)),
    rgba(8, 8, 8, 0.72);
  box-shadow:
    0 18px 46px rgba(8, 8, 8, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px) saturate(1.35);
}

.motion-spotlight {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.motion-spotlight::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  background:
    radial-gradient(
      460px circle at var(--spotlight-x) var(--spotlight-y),
      rgba(242, 196, 0, 0.2),
      rgba(242, 196, 0, 0.08) 26%,
      transparent 58%
    );
  transition: opacity 240ms ease;
}

.motion-spotlight:hover::before,
.motion-spotlight:focus-within::before {
  opacity: 1;
}

.motion-spotlight > * {
  position: relative;
  z-index: 1;
}

.button,
.logout-form button,
.table-actions button,
.compact-list button,
.slot span,
.site-nav a {
  will-change: transform;
  transition:
    transform 210ms var(--motion-spring),
    border-color 210ms ease,
    background 210ms ease,
    box-shadow 210ms ease,
    color 210ms ease;
}

.button:hover,
.button:focus-visible,
.logout-form button:hover,
.logout-form button:focus-visible,
.table-actions button:hover,
.table-actions button:focus-visible,
.compact-list button:hover,
.compact-list button:focus-visible,
.site-nav a:hover,
.site-nav a:focus-visible {
  transform: translateY(-2px);
}

.button--primary,
.slot input:checked + span {
  position: relative;
  overflow: hidden;
  box-shadow:
    0 12px 28px rgba(8, 8, 8, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.button--primary::before,
.slot input:checked + span::before {
  content: "";
  position: absolute;
  top: -60%;
  left: -45%;
  width: 42%;
  height: 220%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  transform: rotate(18deg) translateX(-160%);
  transition: transform 560ms var(--motion-spring);
}

.button--primary:hover::before,
.button--primary:focus-visible::before,
.slot input:checked + span:hover::before {
  transform: rotate(18deg) translateX(420%);
}

.button.is-loading {
  pointer-events: none;
  color: rgba(8, 8, 8, 0.64);
}

.button.is-loading::after {
  content: "";
  display: inline-block;
  width: 0.85em;
  height: 0.85em;
  margin-left: 0.55rem;
  border: 2px solid rgba(8, 8, 8, 0.2);
  border-top-color: rgba(8, 8, 8, 0.82);
  border-radius: 999px;
  animation: motionSpin 760ms linear infinite;
}

.slot {
  animation: slotReveal 420ms var(--motion-spring) both;
  animation-delay: calc(var(--slot-index, 0) * 38ms);
}

.slot:hover span,
.slot:focus-within span {
  transform: translateY(-2px);
  border-color: rgba(242, 196, 0, 0.62);
  box-shadow:
    0 12px 28px rgba(8, 8, 8, 0.11),
    0 0 0 4px rgba(242, 196, 0, 0.12);
}

.slot-skeleton {
  position: relative;
  overflow: hidden;
}

.slot-skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.68), transparent);
  transform: translateX(-100%);
  animation: skeletonSweep 1.2s ease-in-out infinite;
}

.text-generate-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.62em) scale(0.98);
  filter: blur(8px);
  animation: textGenerate 720ms var(--motion-spring) forwards;
  animation-delay: calc(var(--word-index, 0) * 54ms);
}

.form-section,
.booking-summary-card,
.calendar-fragment,
.time-fragment,
.admin-nav a {
  transition:
    transform 240ms var(--motion-spring),
    box-shadow 240ms ease,
    border-color 240ms ease,
    background 240ms ease;
}

.form-section:focus-within,
.booking-summary-card:hover,
.calendar-fragment:hover,
.time-fragment:hover {
  transform: translateY(-2px);
}

.admin-nav a:hover,
.admin-nav a:focus-visible {
  transform: translateX(3px);
}

.flash[data-toast] {
  animation: toastIn 340ms var(--motion-spring) both;
}

.flash[data-toast].is-hiding {
  animation: toastOut 190ms ease both;
}

.motion-ready .page-heading,
.motion-ready .form,
.motion-ready .panel,
.motion-ready .auth-box,
.motion-ready .confirmation-box,
.motion-ready .booking-aside {
  animation: pageElementIn 640ms var(--motion-spring) both;
}

.motion-ready .form,
.motion-ready .panel {
  animation-delay: 90ms;
}

.motion-ready .booking-aside,
.motion-ready .confirmation-box {
  animation-delay: 150ms;
}

@keyframes pageElementIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes textGenerate {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes slotReveal {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes skeletonSweep {
  to {
    transform: translateX(100%);
  }
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateX(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes toastOut {
  to {
    opacity: 0;
    transform: translateX(18px) scale(0.98);
  }
}

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

@media (max-width: 767px) {
  .motion-scroll-beam {
    height: 2px;
  }

  .site-header.is-condensed {
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
    border-radius: 0 0 0.95rem 0.95rem;
  }

  .button:hover,
  .button:focus-visible,
  .logout-form button:hover,
  .logout-form button:focus-visible,
  .table-actions button:hover,
  .table-actions button:focus-visible,
  .compact-list button:hover,
  .compact-list button:focus-visible,
  .site-nav a:hover,
  .site-nav a:focus-visible,
  .slot:hover span,
  .slot:focus-within span,
  .form-section:focus-within,
  .booking-summary-card:hover,
  .calendar-fragment:hover,
  .time-fragment:hover {
    transform: none;
  }

  .motion-ready .page-heading,
  .motion-ready .form,
  .motion-ready .panel,
  .motion-ready .auth-box,
  .motion-ready .confirmation-box,
  .motion-ready .booking-aside {
    animation-duration: 420ms;
    animation-delay: 0ms;
  }
}

@media (prefers-reduced-motion: reduce) {
  .motion-scroll-beam,
  .site-header,
  .button,
  .logout-form button,
  .table-actions button,
  .compact-list button,
  .slot,
  .slot span,
  .site-nav a,
  .slot-skeleton::after,
  .text-generate-word,
  .flash[data-toast],
  .motion-ready .page-heading,
  .motion-ready .form,
  .motion-ready .panel,
  .motion-ready .auth-box,
  .motion-ready .confirmation-box,
  .motion-ready .booking-aside {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    filter: none !important;
  }

  .text-generate-word {
    opacity: 1;
  }
}

/* Premium custom selects for booking choices. */
.custom-select {
  position: relative;
  width: 100%;
}

.native-select--custom {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 1px;
  height: 1px;
  min-width: 0 !important;
  min-height: 0 !important;
  border: 0 !important;
  padding: 0 !important;
  clip-path: inset(50%);
  opacity: 0;
  pointer-events: none;
}

.booking-form.motion-spotlight,
.booking-form,
.form-section,
.form-grid,
label:has(.custom-select) {
  overflow: visible;
}

.custom-select.is-open {
  z-index: 95;
}

.custom-select__button {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 22px;
  gap: 12px;
  align-items: center;
  width: 100%;
  min-height: 56px;
  border: 1px solid rgba(8, 8, 8, 0.14);
  border-radius: 20px;
  padding: 0 15px 0 17px;
  color: #080808;
  background:
    radial-gradient(circle at 12% 0%, rgba(242, 196, 0, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 250, 236, 0.88));
  box-shadow:
    0 12px 28px rgba(8, 8, 8, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  text-align: left;
  transition:
    transform 220ms var(--motion-spring),
    border-color 220ms ease,
    box-shadow 220ms ease,
    background 220ms ease;
}

.custom-select__button:hover,
.custom-select__button:focus-visible,
.custom-select.is-open .custom-select__button {
  border-color: rgba(242, 196, 0, 0.78);
  box-shadow:
    0 16px 34px rgba(8, 8, 8, 0.12),
    0 0 0 5px rgba(242, 196, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.custom-select.has-error .custom-select__button {
  border-color: rgba(239, 68, 68, 0.82);
  box-shadow:
    0 16px 34px rgba(8, 8, 8, 0.1),
    0 0 0 5px rgba(239, 68, 68, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.custom-select__button:focus-visible {
  outline: none;
}

.custom-select__value {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.custom-select__chevron {
  position: relative;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #080808;
  transition: transform 220ms var(--motion-spring), background 220ms ease;
}

.custom-select__chevron::before,
.custom-select__chevron::after {
  content: "";
  position: absolute;
  top: 10px;
  width: 8px;
  height: 2px;
  border-radius: 999px;
  background: #f2c400;
}

.custom-select__chevron::before {
  left: 5px;
  transform: rotate(45deg);
}

.custom-select__chevron::after {
  right: 5px;
  transform: rotate(-45deg);
}

.custom-select.is-open .custom-select__chevron {
  transform: rotate(180deg);
  background: #f2c400;
}

.custom-select.is-open .custom-select__chevron::before,
.custom-select.is-open .custom-select__chevron::after {
  background: #080808;
}

.custom-select__menu {
  position: fixed;
  top: var(--select-top, auto);
  bottom: var(--select-bottom, auto);
  left: var(--select-left, 0);
  z-index: 140;
  display: grid;
  gap: 6px;
  width: var(--select-width, 260px);
  max-height: var(--select-max-height, min(300px, 52vh));
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  padding: 8px;
  background:
    radial-gradient(circle at 12% 0%, rgba(242, 196, 0, 0.2), transparent 34%),
    linear-gradient(180deg, #151515, #080808);
  box-shadow:
    0 28px 60px rgba(8, 8, 8, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px) scale(0.98);
  transform-origin: top center;
  transition:
    opacity 180ms ease,
    transform 220ms var(--motion-spring);
  scrollbar-width: thin;
  scrollbar-color: rgba(242, 196, 0, 0.72) rgba(255, 255, 255, 0.08);
}

.custom-select__menu::-webkit-scrollbar {
  width: 10px;
}

.custom-select__menu::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

.custom-select__menu::-webkit-scrollbar-thumb {
  border: 2px solid #080808;
  border-radius: 999px;
  background: #f2c400;
}

.custom-select__menu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.custom-select__menu.opens-up {
  transform-origin: bottom center;
}

.custom-select__menu.uses-sheet {
  gap: 8px;
  border-radius: 26px;
  padding: 10px;
  transform: translateY(14px) scale(0.98);
  transform-origin: bottom center;
  box-shadow:
    0 34px 80px rgba(8, 8, 8, 0.42),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.custom-select__menu.uses-sheet.is-open {
  transform: translateY(0) scale(1);
}

.custom-select__option {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 44px;
  border: 0;
  border-radius: 16px;
  padding: 10px 40px 10px 14px;
  color: rgba(255, 255, 255, 0.84);
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.28;
  text-align: left;
  opacity: 0;
  transform: translateY(6px);
  animation: customOptionIn 240ms var(--motion-spring) forwards;
  animation-delay: calc(var(--option-index, 0) * 24ms);
}

.custom-select__option:hover,
.custom-select__option:focus-visible {
  outline: none;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.custom-select__option.is-selected {
  color: #080808;
  background: #f2c400;
  box-shadow:
    0 10px 22px rgba(242, 196, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.custom-select__option.is-selected::after {
  content: "";
  position: absolute;
  right: 14px;
  width: 9px;
  height: 15px;
  border-right: 3px solid #080808;
  border-bottom: 3px solid #080808;
  transform: rotate(42deg);
}

@keyframes customOptionIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 767px) {
  .custom-select__button {
    min-height: 54px;
    border-radius: 18px;
    padding-left: 14px;
    font-size: 0.95rem;
  }

  .custom-select__menu {
    max-height: var(--select-max-height, min(320px, 48vh));
    border-radius: 20px;
  }

  .custom-select__option {
    min-height: 52px;
    font-size: 0.95rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .custom-select__button,
  .custom-select__chevron,
  .custom-select__menu,
  .custom-select__option {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }

  .custom-select__option {
    opacity: 1;
  }
}

/* Header language picker with CSS-drawn flags. */
.language-picker {
  position: relative;
  flex: 0 0 auto;
}

.language-picker__trigger,
.language-picker__option {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  min-height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 0 0.72rem;
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.07);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 10px 24px rgba(0, 0, 0, 0.16);
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1;
  text-decoration: none;
}

.language-picker__trigger {
  min-width: 76px;
  justify-content: space-between;
}

.language-picker__trigger::after {
  content: "";
  width: 0.48rem;
  height: 0.48rem;
  border-right: 2px solid rgba(255, 255, 255, 0.78);
  border-bottom: 2px solid rgba(255, 255, 255, 0.78);
  transform: translateY(-2px) rotate(45deg);
  transition: transform 180ms var(--motion-spring);
}

.language-picker.is-open .language-picker__trigger::after {
  transform: translateY(2px) rotate(225deg);
}

.language-picker__trigger:hover,
.language-picker__trigger:focus-visible,
.language-picker.is-open .language-picker__trigger {
  border-color: rgba(242, 196, 0, 0.58);
  outline: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.05)),
    rgba(255, 255, 255, 0.09);
}

.language-picker__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 145;
  display: grid;
  gap: 6px;
  min-width: 118px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 18px;
  padding: 6px;
  background: linear-gradient(180deg, #151515, #080808);
  box-shadow:
    0 24px 52px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px) scale(0.98);
  transform-origin: top right;
  transition:
    opacity 160ms ease,
    transform 190ms var(--motion-spring);
}

.language-picker.is-open .language-picker__menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.language-picker__option {
  width: 100%;
  min-height: 38px;
  justify-content: flex-start;
  border-color: transparent;
  border-radius: 14px;
  box-shadow: none;
  color: rgba(255, 255, 255, 0.78);
  background: transparent;
}

.language-picker__option:hover,
.language-picker__option:focus-visible {
  color: #ffffff;
  outline: none;
  background: rgba(255, 255, 255, 0.08);
}

.language-picker__option.is-active {
  color: #080808;
  background: #f2c400;
}

.flag-icon {
  display: inline-block;
  width: 1.35rem;
  height: 0.92rem;
  flex: 0 0 auto;
  border-radius: 3px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.18),
    0 5px 12px rgba(0, 0, 0, 0.18);
}

.flag-icon--ca {
  background:
    linear-gradient(
      to bottom,
      #f6c900 0 11.11%,
      #c60b1e 11.11% 22.22%,
      #f6c900 22.22% 33.33%,
      #c60b1e 33.33% 44.44%,
      #f6c900 44.44% 55.55%,
      #c60b1e 55.55% 66.66%,
      #f6c900 66.66% 77.77%,
      #c60b1e 77.77% 88.88%,
      #f6c900 88.88% 100%
    );
}

.flag-icon--es {
  background:
    linear-gradient(
      to bottom,
      #aa151b 0 25%,
      #f1bf00 25% 75%,
      #aa151b 75% 100%
    );
}

@media (max-width: 767px) {
  .site-nav {
    overflow: visible;
  }

  .language-picker__trigger {
    min-width: 70px;
    min-height: 38px;
    padding: 0 0.62rem;
    font-size: 0.74rem;
  }

  .language-picker__menu {
    position: fixed;
    top: var(--language-menu-top, 68px);
    right: var(--language-menu-right, 16px);
    min-width: 112px;
    transform-origin: top right;
  }

  .flag-icon {
    width: 1.22rem;
    height: 0.84rem;
  }
}

/* Clean final booking action area. */
.booking-form > .form-actions {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin: clamp(18px, 3vw, 28px) 0 0;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.booking-form > .form-actions .button {
  min-height: 54px;
  border-radius: 999px;
  padding: 0 1.65rem;
}

@media (min-width: 768px) {
  .booking-form > .form-actions {
    border-top: 1px solid rgba(11, 11, 11, 0.08);
    padding-top: 22px;
  }
}

@media (max-width: 767px) {
  .booking-form > .form-actions {
    position: static;
    margin-top: 20px;
  }

  .booking-form > .form-actions .button {
    width: 100%;
    justify-content: center;
  }
}

/* Professional multilingual footer. */
.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(180px, 0.6fr) minmax(150px, auto);
  gap: clamp(22px, 4vw, 48px);
  align-items: start;
  width: 100%;
  max-width: none;
  margin-top: clamp(42px, 7vw, 82px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: clamp(42px, 6vw, 72px) max(20px, calc((100vw - var(--container)) / 2)) 28px;
  color: rgba(255, 255, 255, 0.68);
  background:
    radial-gradient(circle at 12% 0%, rgba(242, 196, 0, 0.16), transparent 28%),
    linear-gradient(180deg, #111111, #080808);
}

.site-footer__main,
.site-footer__contact,
.footer-links,
.site-footer__bottom {
  min-width: 0;
}

.footer-brand {
  display: inline-flex;
  margin-bottom: 0.8rem;
  color: #ffffff;
  font-weight: 900;
  text-decoration: none;
}

.site-footer p,
.site-footer address {
  margin: 0;
}

.site-footer__main p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.64);
  line-height: 1.65;
}

.site-footer__contact,
.footer-links {
  display: grid;
  gap: 0.65rem;
}

.site-footer__contact {
  font-style: normal;
}

.footer-label {
  color: #f2c400;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.76);
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #f2c400;
  outline: none;
}

.footer-links {
  justify-items: start;
}

.site-footer__bottom {
  display: flex;
  grid-column: 1 / -1;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.2rem;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.82rem;
}

@media (max-width: 767px) {
  .site-footer {
    grid-template-columns: 1fr;
    gap: 1.35rem;
    margin-top: 42px;
    padding: 38px 18px 24px;
  }

  .site-footer__bottom {
    display: grid;
    justify-content: start;
  }
}
