:root {
  --bg: #0f0f10;
  --bg-soft: #1a1715;
  --surface: rgba(26, 22, 19, 0.82);
  --surface-strong: rgba(14, 13, 12, 0.92);
  --surface-light: rgba(241, 231, 217, 0.08);
  --text: #f6f0e7;
  --text-muted: rgba(246, 240, 231, 0.7);
  --accent: #b99369;
  --accent-strong: #d7b58f;
  --stone: #e3d3bf;
  --olive: #6c715c;
  --danger: #ab5e57;
  --success: #7a9f74;
  --border: rgba(255, 239, 217, 0.13);
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background:
    radial-gradient(circle at top left, rgba(185, 147, 105, 0.18), transparent 34%),
    linear-gradient(180deg, #110f0e 0%, #151210 45%, #0b0b0b 100%);
  background-color: #0b0b0b;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(185, 147, 105, 0.22), transparent 32%),
    radial-gradient(circle at top right, rgba(108, 113, 92, 0.12), transparent 26%),
    linear-gradient(180deg, #11100f 0%, #171310 44%, #0d0d0d 100%);
  background-color: #0d0d0d;
}

body.modal-open {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgba(9, 9, 9, 0.38), rgba(9, 9, 9, 0.72)),
    url("/static/images/C.jpg.jpeg") center/cover no-repeat;
  opacity: 0.18;
  pointer-events: none;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: 0.02em;
}

p {
  margin: 0;
  line-height: 1.65;
}

.page-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding: 28px 16px 56px;
}

.page-shell--fullscreen {
  min-height: 100vh;
  padding: 0;
}

.body-fullscreen-menu {
  background: #0b0b0b;
}

.body-fullscreen-menu::before {
  display: none;
}

.container {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.container.narrow {
  width: min(720px, 100%);
}

.brand-bar,
.top-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 0 auto 22px;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(11, 11, 11, 0.56);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.brand-mark {
  display: inline-flex;
  flex-direction: column;
  gap: 8px;
  text-decoration: none;
}

.brand-mark__word {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.brand-mark__logo {
  display: block;
  width: auto;
  height: clamp(42px, 6vw, 58px);
  object-fit: contain;
}

.brand-mark__tag {
  color: var(--text-muted);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.top-nav a {
  text-decoration: none;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 0.92rem;
  color: var(--text-muted);
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.top-nav a:hover,
.top-nav a:focus-visible {
  background: rgba(227, 211, 191, 0.08);
  color: var(--text);
  transform: translateY(-1px);
}

.top-nav form {
  margin-left: auto;
}

.admin-toolbar {
  display: flex;
  justify-content: flex-start;
  margin: 0 auto 22px;
}

.top-nav--desktop {
  display: flex;
}

.top-nav--desktop a {
  font-size: 0.98rem;
  padding: 8px 12px;
}

.top-nav--desktop .button {
  font-size: 0.88rem;
  padding: 8px 12px;
}

.admin-toolbar__toggle {
  min-width: 52px;
  min-height: 44px;
  padding: 10px 12px;
}

.admin-toolbar__icon {
  display: inline-grid;
  gap: 4px;
}

.admin-toolbar__icon span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.admin-nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: rgba(7, 7, 7, 0.55);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 220ms ease;
}

.admin-nav-backdrop.is-open {
  opacity: 1;
}

.admin-drawer {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 46;
  width: min(360px, calc(100vw - 24px));
  padding: 18px 0 18px 18px;
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 240ms ease, transform 240ms ease;
  pointer-events: none;
  display: flex;
  align-items: flex-start;
}

.admin-drawer.is-open {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.admin-drawer__card {
  width: 100%;
  max-height: min(520px, calc(100vh - 36px));
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(11, 11, 11, 0.92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  overflow: auto;
}

.admin-drawer__header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.top-nav--drawer {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  display: grid;
  gap: 8px;
}

.top-nav--drawer a,
.top-nav--drawer form,
.top-nav--drawer form button {
  width: 100%;
}

.top-nav--drawer form {
  margin-left: 0;
}

.top-nav--drawer a {
  padding: 10px 12px;
  font-size: 1rem;
}

.hero,
.card,
.form-card,
.table-card,
.login-card {
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero,
.card,
.table-card,
.login-card {
  padding: 24px;
}

.hero {
  margin-bottom: 24px;
}

.hero.compact {
  margin-bottom: 20px;
}

.hero-premium {
  display: grid;
  gap: 16px;
  padding: 32px;
  min-height: 100%;
}

.hero-premium h1 {
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  max-width: 12ch;
}

.next-availability {
  display: grid;
  gap: 18px;
  padding: 22px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(185, 147, 105, 0.11), rgba(246, 240, 231, 0.03)),
    rgba(14, 13, 12, 0.42);
  border: 1px solid rgba(215, 181, 143, 0.18);
}

.next-availability__date,
.next-availability__turnos {
  display: grid;
  gap: 8px;
}

.next-availability__label {
  color: var(--accent-strong);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.next-availability__date strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 0.95;
  color: var(--stone);
}

.next-availability__copy {
  max-width: 44ch;
  color: var(--text-muted);
}

.next-availability__chips {
  gap: 10px;
}

.next-availability__chips .button {
  min-width: 132px;
  justify-content: center;
}

.next-availability__actions {
  margin-top: 4px;
}

.showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 18px;
  align-items: stretch;
  margin-bottom: 42px;
}

.hero-visual {
  display: grid;
  gap: 18px;
}

.visual-panel {
  min-height: 240px;
  border-radius: 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.visual-panel-a {
  background-image: linear-gradient(rgba(14, 12, 11, 0.12), rgba(14, 12, 11, 0.35)), url("/static/images/A.jpg.jpeg");
}

.visual-panel-b {
  background-image: linear-gradient(rgba(14, 12, 11, 0.08), rgba(14, 12, 11, 0.45)), url("/static/images/B.jpg.jpeg");
}

.section-heading {
  margin-bottom: 18px;
}

.section-heading h2 {
  margin-bottom: 6px;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.eyebrow {
  color: var(--accent-strong);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.76rem;
}

.card-list,
.stats-grid,
.split-grid,
.quick-actions,
.turno-stack,
.turno-day-stack,
.reservation-groups {
  display: grid;
  gap: 18px;
}

.card-list,
.stats-grid,
.quick-actions {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.split-grid {
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
}

.schedule-grid {
  align-items: stretch;
  margin-bottom: 42px;
}

.faq-stack {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.faq-item {
  padding: 0;
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.faq-item summary::after {
  content: "+";
  color: var(--accent-strong);
  font-size: 1.15rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-item p {
  padding: 0 20px 16px;
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.schedule-card {
  display: grid;
  gap: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.01), rgba(255, 255, 255, 0.04)),
    var(--surface);
}

.schedule-card__top {
  display: grid;
  gap: 6px;
}

.schedule-card h2,
.result-card h1,
.login-card h1,
.table-card h2,
.card h2 {
  font-size: 1.75rem;
}

.action-card {
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.action-card:hover,
.action-card:focus-visible,
.card:hover {
  transform: translateY(-2px);
  border-color: rgba(215, 181, 143, 0.32);
}

.helper-card {
  margin-top: 18px;
}

.kpi-card h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 8px 0 4px;
}

.dashboard-kpis {
  grid-template-columns: repeat(2, minmax(140px, 1fr));
}

.dashboard-kpis .kpi-card .muted {
  font-size: 0.84rem;
  line-height: 1.45;
}

.dashboard-panel {
  display: grid;
  gap: 18px;
}

.dashboard-mini-grid {
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.mini-stat {
  display: grid;
  gap: 4px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(246, 240, 231, 0.05);
  border: 1px solid rgba(246, 240, 231, 0.08);
}

.mini-stat strong {
  font-size: 1.5rem;
}

.status-stack,
.history-stack {
  display: grid;
  gap: 14px;
}

.status-row {
  display: grid;
  gap: 8px;
}

.status-bar,
.history-row__bar {
  height: 10px;
  border-radius: 999px;
  background: rgba(246, 240, 231, 0.08);
  overflow: hidden;
}

.status-bar__fill,
.history-row__fill {
  display: block;
  height: 100%;
  border-radius: 999px;
}

.status-bar__fill--pendiente_validacion {
  background: linear-gradient(135deg, #d1a465 0%, #efcb8f 100%);
}

.status-bar__fill--confirmada {
  background: linear-gradient(135deg, #7a9f74 0%, #a8c08c 100%);
}

.status-bar__fill--cancelada {
  background: linear-gradient(135deg, #935149 0%, #b66459 100%);
}

.status-bar__fill--asistio {
  background: linear-gradient(135deg, #6c8a58 0%, #8eb27c 100%);
}

.status-bar__fill--no_asistio,
.status-bar__fill--vencida {
  background: linear-gradient(135deg, #5b5f69 0%, #8b919b 100%);
}

.history-row {
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) minmax(180px, 1fr) auto;
  gap: 14px;
  align-items: center;
}

.history-row__meta {
  display: grid;
  gap: 4px;
}

.history-row__fill {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
}

.history-row__count {
  color: var(--text-muted);
  white-space: nowrap;
}

.turno-group {
  display: grid;
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 239, 217, 0.08);
}

.turno-group:first-child {
  border-top: 0;
  padding-top: 0;
}

.turno-group__header h3 {
  margin-bottom: 6px;
  font-size: 1.45rem;
}

.turno-day-card {
  display: grid;
  gap: 16px;
}

.turno-day-card__header {
  align-items: start;
}

.filter-card {
  margin: 18px 0;
}

.mobile-filters summary {
  list-style: none;
}

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

.mobile-filters__body {
  margin-top: 14px;
}

.filter-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  align-items: end;
}

.filter-actions {
  align-items: end;
}

.reservation-group {
  display: grid;
  gap: 16px;
}

.reservation-actions {
  flex-wrap: nowrap;
  gap: 8px;
}

.reservation-actions .button {
  white-space: nowrap;
}

.reservation-summary {
  display: grid;
  justify-items: end;
  gap: 4px;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 400;
}

.reservation-summary__top {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}

.form-card {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.luxe-form {
  background:
    linear-gradient(180deg, rgba(185, 147, 105, 0.08), rgba(18, 16, 15, 0.12)),
    var(--surface-strong);
}

.booking-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  align-items: start;
}

.auth-shell {
  display: grid;
  align-items: center;
  min-height: calc(100vh - 260px);
}

.booking-copy,
.result-card,
.login-card {
  display: grid;
  gap: 14px;
}

.booking-copy {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(8, 8, 8, 0.16), rgba(8, 8, 8, 0.72)),
    linear-gradient(135deg, rgba(185, 147, 105, 0.12), rgba(9, 9, 9, 0.08)),
    url("/static/images/render-personas.png") center/cover no-repeat;
  min-height: 100%;
}

.login-card {
  width: min(480px, 100%);
  margin: 0 auto;
  justify-items: stretch;
}

.login-card > * {
  min-width: 0;
}

.login-card .form-card {
  width: 100%;
}

.booking-copy h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  max-width: 10ch;
}

.info-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(246, 240, 231, 0.08);
  border: 1px solid rgba(246, 240, 231, 0.12);
}

.result-highlight {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(246, 240, 231, 0.06);
  border: 1px solid rgba(246, 240, 231, 0.12);
}

.result-highlight strong {
  font-size: 1.8rem;
  letter-spacing: 0.18em;
}

label {
  display: grid;
  gap: 7px;
  min-width: 0;
  color: var(--stone);
  font-size: 0.94rem;
}

.field-block {
  align-content: start;
  min-width: 0;
}

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

input,
select,
textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border: 1px solid rgba(255, 238, 214, 0.14);
  border-radius: 16px;
  padding: 13px 14px;
  background: rgba(244, 234, 220, 0.05);
  color: var(--text);
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

input[type="date"],
input[type="time"],
input[type="datetime-local"],
input[type="month"],
input[type="week"] {
  min-inline-size: 0;
}

input::placeholder,
textarea::placeholder {
  color: rgba(246, 240, 231, 0.42);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(215, 181, 143, 0.46);
  background: rgba(244, 234, 220, 0.08);
  box-shadow: 0 0 0 4px rgba(185, 147, 105, 0.12);
}

.input-error {
  border-color: rgba(171, 94, 87, 0.72) !important;
  background: rgba(171, 94, 87, 0.08);
}

.field-error {
  color: #efb1aa;
  font-size: 0.82rem;
  line-height: 1.4;
}

select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--accent-strong) 50%),
    linear-gradient(135deg, var(--accent-strong) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 3px),
    calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 38px;
}

select option {
  color: var(--text);
  background: #171310;
}

.button,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: #17120f;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, filter 160ms ease;
}

.button:hover,
button:hover,
.button:focus-visible,
button:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.button.secondary {
  background: rgba(246, 240, 231, 0.08);
  color: var(--text);
  border: 1px solid rgba(246, 240, 231, 0.12);
}

.button.danger {
  background: linear-gradient(135deg, #935149 0%, #b66459 100%);
  color: #fff3ef;
}

.button.danger-outline {
  background: rgba(171, 94, 87, 0.08);
  color: #f2c4be;
  border: 1px solid rgba(171, 94, 87, 0.58);
}

.button.compact {
  padding: 7px 11px;
  font-size: 0.8rem;
  min-height: 30px;
}

.inline-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.support-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 18px auto 0;
  color: var(--text-muted);
  text-align: center;
}

.support-contact a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  color: var(--stone);
  transition: transform 160ms ease, color 160ms ease;
}

.support-contact a:hover,
.support-contact a:focus-visible {
  transform: translateY(-1px);
  color: var(--accent-strong);
}

.support-contact svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.actions-menu {
  position: relative;
  display: inline-block;
}

.actions-menu__trigger {
  display: inline-grid;
  gap: 4px;
  align-items: center;
  justify-items: center;
  min-width: 38px;
  min-height: 38px;
  padding: 8px;
  border: 1px solid rgba(246, 240, 231, 0.12);
  border-radius: 999px;
  background: rgba(246, 240, 231, 0.06);
  cursor: pointer;
  color: var(--stone);
}

.actions-menu__trigger span {
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: var(--stone);
}

.actions-menu__panel {
  position: fixed;
  top: 0;
  left: 0;
  min-width: 170px;
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(11, 11, 11, 0.95);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  z-index: 60;
}

.actions-menu__panel[hidden] {
  display: none !important;
}

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

.inline-actions--spaced {
  margin: 14px 0 18px;
}

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

.flash-stack {
  width: min(1120px, 100%);
  margin: 0 auto 18px;
  display: grid;
  gap: 10px;
}

.flash {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(18, 18, 18, 0.84);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.flash-error {
  border-color: rgba(171, 94, 87, 0.55);
}

.flash-success {
  border-color: rgba(122, 159, 116, 0.56);
}

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

.site-footer__inner {
  display: grid;
  gap: 12px;
  padding: 14px 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.site-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
}

.site-footer__block {
  display: flex;
  min-width: 0;
  justify-content: flex-start;
}

.site-footer__block--brand {
  min-width: 0;
}

.site-footer__block--meta {
  justify-content: flex-end;
}

.site-footer__block--address {
  grid-column: 2 / 3;
  justify-content: flex-end;
}

.site-footer__brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.site-footer__meta {
  display: grid;
  justify-items: start;
  gap: 8px;
}

.site-footer__logo {
  display: block;
  width: auto;
  height: clamp(30px, 4vw, 40px);
  object-fit: contain;
}

.site-footer__address {
  color: var(--stone);
  text-align: left;
  text-decoration: none;
  transition: color 160ms ease;
  font-size: 0.92rem;
}

.site-footer__address:hover,
.site-footer__address:focus-visible {
  color: var(--sand);
}

.site-footer__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.site-footer__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(246, 240, 231, 0.12);
  background: rgba(246, 240, 231, 0.06);
  color: var(--stone);
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.site-footer__social:hover,
.site-footer__social:focus-visible {
  transform: translateY(-1px);
  background: rgba(185, 147, 105, 0.14);
  border-color: rgba(215, 181, 143, 0.32);
}

.site-footer__social svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-footer__social svg.site-footer__icon--fill {
  width: 16px;
  height: 16px;
  fill: currentColor;
  stroke: none;
}

.site-footer__credit {
  padding-top: 10px;
  border-top: 1px solid rgba(255, 239, 217, 0.08);
  color: var(--text-muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
}

.document-preview {
  width: 100%;
  min-height: 620px;
  overflow: hidden;
  border: 1px solid rgba(255, 239, 217, 0.08);
  border-radius: 22px;
  background: rgba(8, 8, 8, 0.55);
}

.document-preview__frame {
  width: 100%;
  min-height: 620px;
  border: 0;
  background: #101010;
}

.menu-screen {
  width: 100%;
  min-height: 100vh;
  background: #111;
}

.menu-screen__frame {
  display: block;
  width: 100%;
  height: 100vh;
  border: 0;
  background: #111;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(7, 7, 7, 0.6);
  backdrop-filter: blur(8px);
}

.modal-backdrop[hidden] {
  display: none !important;
}

.modal-card {
  width: min(520px, 100%);
  display: grid;
  gap: 14px;
  padding: 24px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}

.row-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.inset-card {
  margin-top: 16px;
  padding: 8px 18px;
}

.table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table-scroll > table {
  min-width: 100%;
}

.empty-state {
  min-height: 220px;
  display: grid;
  align-content: center;
  gap: 10px;
}

.section-gap {
  margin-top: 44px;
}

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

th,
td {
  text-align: left;
  padding: 14px 8px;
  border-bottom: 1px solid rgba(255, 239, 217, 0.08);
}

th {
  color: var(--text-muted);
  font-weight: 600;
}

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

.checkbox-row input {
  width: 18px;
  height: 18px;
  padding: 0;
}

@media (max-width: 960px) {
  .showcase,
  .booking-shell,
  .split-grid {
    grid-template-columns: 1fr;
  }

  .container,
  .container.narrow {
    width: 100%;
  }

  .hero,
  .card,
  .table-card,
  .login-card,
  .form-card {
    padding: 20px;
  }

  .showcase {
    gap: 16px;
  }

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

  .hero-premium h1,
  .booking-copy h1 {
    max-width: none;
  }

  .showcase {
    margin-bottom: 34px;
  }

  .schedule-grid {
    margin-bottom: 34px;
  }

  .section-gap {
    margin-top: 34px;
  }
}

@media (max-width: 768px) {
  .top-nav--desktop {
    display: none;
  }

  .page-shell {
    padding: 18px 12px 40px;
  }

  .top-nav,
  .brand-bar {
    border-radius: 18px;
    padding: 14px;
  }

  .row-between {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer__top {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .site-footer__block {
    justify-content: flex-start;
  }

  .site-footer__block--meta {
    justify-content: flex-end;
  }

  .site-footer__block--address {
    grid-column: 1 / 2;
    justify-content: flex-start;
  }

  .site-footer__meta {
    width: auto;
    gap: 8px;
  }

  .site-footer__meta .site-footer__socials {
    justify-content: flex-end;
  }

  .site-footer__address {
    text-align: left;
  }

  .filter-form {
    grid-template-columns: 1fr;
  }

  .reservation-filters {
    padding: 14px;
  }

  .mobile-filters__trigger {
    width: auto;
    min-width: 112px;
    justify-content: center;
    font-size: 0.9rem;
    padding: 9px 14px;
  }

  .filter-actions,
  .inline-actions,
  .inline-list {
    width: 100%;
  }

  .filter-actions > *,
  .inline-actions > *,
  .inline-list > * {
    flex: 1 1 100%;
  }

  .reservation-summary {
    justify-items: start;
    width: 100%;
  }

  .reservation-summary__top {
    width: 100%;
  }

  .history-row {
    grid-template-columns: 1fr;
    gap: 8px;
    align-items: start;
  }

  .history-row__bar,
  .history-row__count {
    width: 100%;
  }

  .history-row__count {
    white-space: normal;
  }

  .turno-day-card__header .inline-actions,
  .reservation-group .inline-actions {
    width: 100%;
  }

  .reservation-group .reservation-actions,
  .responsive-table--keep td .reservation-actions,
  .responsive-table--keep td form {
    width: max-content;
  }

  .reservation-group .reservation-actions > *,
  .responsive-table--keep td .reservation-actions > * {
    flex: 0 0 auto;
  }

  .turnos-header {
    gap: 14px;
    margin-bottom: 12px;
  }

  .turnos-header > .inline-actions,
  .turnos-header .button {
    width: auto;
  }

  .turnos-day-actions {
    gap: 8px;
  }

  .turnos-day-actions > * {
    flex: 1 1 calc(50% - 8px);
  }

  .turnos-day-actions .button {
    width: 100%;
    padding: 8px 10px;
    font-size: 0.8rem;
  }

  .table-card,
  .inset-card {
    padding: 14px;
  }

  .table-scroll {
    overflow: visible;
  }

  .table-scroll--mobile {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .table-scroll--mobile > table {
    min-width: 720px;
  }

  .reservation-groups .table-scroll--mobile > table {
    min-width: 900px;
  }

  .table-card .table-scroll--mobile > .responsive-table--keep {
    min-width: 760px;
  }

  .responsive-table thead {
    display: none;
  }

  .responsive-table,
  .responsive-table tbody,
  .responsive-table tr,
  .responsive-table td {
    display: block;
    width: 100%;
  }

  .responsive-table tbody {
    display: grid;
    gap: 14px;
  }

  .responsive-table tr {
    padding: 14px;
    border: 1px solid rgba(255, 239, 217, 0.08);
    border-radius: 18px;
    background: rgba(246, 240, 231, 0.03);
  }

  .responsive-table td {
    display: grid;
    grid-template-columns: minmax(110px, 0.85fr) minmax(0, 1.15fr);
    gap: 10px;
    align-items: start;
    padding: 9px 0;
    border-bottom: 1px solid rgba(255, 239, 217, 0.08);
  }

  .responsive-table td:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .responsive-table td::before {
    content: attr(data-label);
    color: var(--text-muted);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .responsive-table td[data-label=""]::before,
  .responsive-table td.no-label::before {
    content: none;
  }

  .responsive-table td .inline-actions,
  .responsive-table td form {
    width: 100%;
  }

  .responsive-table td .button {
    width: 100%;
  }

  .responsive-table--keep {
    display: table;
  }

  .responsive-table--keep thead {
    display: table-header-group;
  }

  .responsive-table--keep tbody {
    display: table-row-group;
  }

  .responsive-table--keep tr {
    display: table-row;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .responsive-table--keep th,
  .responsive-table--keep td {
    display: table-cell;
    width: auto;
    padding: 14px 8px;
    border-bottom: 1px solid rgba(255, 239, 217, 0.08);
  }

  .responsive-table--keep td::before {
    content: none;
  }

  .mobile-filters:not([open]) .mobile-filters__body {
    display: none;
  }

  .document-preview,
  .document-preview__frame {
    min-height: 460px;
  }

  .menu-screen__frame {
    height: 100vh;
  }

  .hero,
  .card,
  .table-card,
  .login-card,
  .form-card {
    border-radius: 24px;
  }

  .auth-shell {
    min-height: auto;
  }

  .faq-item summary {
    padding: 14px 16px;
    font-size: 0.95rem;
  }

  .faq-item p {
    padding: 0 16px 14px;
    font-size: 0.9rem;
  }

  .booking-copy {
    min-height: 320px;
    padding: 22px;
    background-position: center;
  }

  .hero-visual {
    grid-template-columns: 1fr;
  }

  .site-footer__inner {
    padding: 14px;
  }
}

@media (min-width: 769px) {
  .mobile-filters {
    display: block;
  }

  .mobile-filters__trigger {
    display: none;
  }

  .mobile-filters__body {
    display: block !important;
    margin-top: 0;
  }
}

@media (max-width: 520px) {
  .admin-drawer {
    width: calc(100vw - 14px);
    padding: 10px 0 10px 10px;
  }

  .admin-drawer__card {
    max-height: min(460px, calc(100vh - 20px));
  }

  .hero,
  .card,
  .table-card,
  .login-card,
  .form-card,
  .booking-copy,
  .modal-card {
    padding: 18px;
    border-radius: 20px;
  }

  .responsive-table td {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .responsive-table td::before {
    margin-bottom: 2px;
  }

  .faq-item summary,
  .faq-item p {
    padding-left: 18px;
    padding-right: 18px;
  }

  .showcase {
    margin-bottom: 28px;
  }

  .schedule-grid {
    margin-bottom: 28px;
  }

  .section-gap {
    margin-top: 28px;
  }
}

@media (min-width: 769px) {
  .admin-toolbar,
  .admin-drawer,
  .admin-nav-backdrop {
    display: none;
  }
}
