:root {
  --bg: #fcf9f4;
  --surface: #ffffff;
  
  /* Paleta oficial Mystic Spa */
  --brand-brown: #8c5e58;
  --brand-brown-dark: #422316;
  --brand-gold: #ffcf4a;
  --brand-gold-hover: #e09411;
  --brand-blue: #6789c3;
  
  --primary: var(--brand-brown);
  --primary-hover: var(--brand-brown-dark);
  --accent: var(--brand-gold);
  
  --dark: #2a1810;
  --text-muted: #78645a;
  --border: #eedecf;
  
  --radius-lg: 24px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --shadow-card: 0 10px 30px rgba(88, 50, 34, 0.07);
  --shadow-modal: 0 25px 50px -12px rgba(88, 50, 34, 0.35);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, sans-serif;
}

body {
  background-color: #ffffff;
  background-image: url('images/mystic-bg.svg'); /* Ajusta la ruta si está en la raíz: url('mystic-bg.svg') */
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  background-attachment: fixed; /* Las constelaciones quedan fijas mientras el contenido se desplaza */
  color: var(--dark);
  line-height: 1.5;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

/* Header & Nav */
.fixed-nav {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--brand-gold);
  z-index: 100;
  padding: 0.85rem 0;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-svg-logo {
  height: 48px;
  width: auto;
  display: block;
}

/* Botón Selector de Idioma Minimalista */
.lang-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 9999px;
  text-decoration: none;
  color: var(--brand-blue);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.7);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  transition: all 0.2s ease;
}

.lang-switch-btn .globe-icon {
  stroke: var(--brand-blue);
  transition: transform 0.25s ease, stroke 0.2s ease;
}

.lang-switch-btn:hover {
  background: #ffffff;
  color: var(--brand-blue);
  border-color: var(--brand-blue);
  box-shadow: 0 2px 8px rgba(66, 35, 22, 0.08);
}

.lang-switch-btn:hover .globe-icon {
  stroke: var(--brand-blue);
  transform: rotate(15deg);
}

.lang-switch-btn .lang-code {
  line-height: 1;
}

/* Badges & Text */
.badge-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--brand-blue);
  background: rgb(255, 255, 255);
  border: 2px solid var(--brand-gold);
  padding: 5px 12px;
  border-radius: 9999px;
  letter-spacing: 0.05em;
  width: fit-content;
  text-transform: uppercase;
}

.section-heading {
  margin-bottom: 1.75rem;
}

.section-heading h2 {
  font-family: "Georgia", "Times New Roman", serif;
  font-style: italic;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--brand-blue);
  margin-top: 0.4rem;
}

.muted-text {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Hero Section - Estilo Banner Panorámico */
.hero-section {
  padding: 2rem 0;
}

.hero-banner {
  position: relative;
  width: 100%;
  min-height: 520px;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  
  background-image: url('images/mystic-spa-hero.webp');
  background-position: bottom right;
  background-size: cover;
  background-repeat: no-repeat;

  display: flex;
  align-items: center;
}

.hero-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    80deg,
    rgba(255, 255, 255, 0.95) 30%,
    rgba(255, 255, 255, 0.10) 70%
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 580px;
  padding: clamp(2rem, 5vw, 4rem);
}

.hero-content h1 {
  font-family: "Georgia", "Times New Roman", serif;
  font-style: italic;
  font-size: clamp(2.4rem, 4.2vw, 3.4rem);
  font-weight: 700;
  line-height: 1.12;
  color: var(--brand-blue);
  margin: 1.25rem 0 1rem;
  letter-spacing: -0.02em;
}

.hero-content p {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
}

/* Responsivo para móviles */
@media (max-width: 820px) {
  .hero-banner {
    min-height: auto;
    background-position: bottom right;
  }

  .hero-banner::before {
    background: linear-gradient(
      140deg,
        rgba(255, 255, 255, 0.95) 30%,
        rgba(255, 255, 255, 0.10) 80%
    );
  }

  .hero-content {
    max-width: 100%;
    padding: 2.5rem 1.5rem;
  }
}

.hero-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.5rem);
  box-shadow: var(--shadow-card);
  max-width: 680px;
  border: 2px solid var(--border);
  border-top: 6px solid var(--brand-brown);
}

.hero-card h1 {
  font-family: "Georgia", "Times New Roman", serif;
  font-style: italic;
  font-size: clamp(2.2rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--brand-blue);
  margin: 1rem 0;
  letter-spacing: -0.01em;
}

.hero-card p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* Showcase Grid */
.services-showcase {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.services-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.service-item-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-item-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(88, 50, 34, 0.12);
}

.service-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-bottom: 3px solid var(--brand-gold);
}

.service-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-price-tag {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: var(--brand-brown);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 9999px;
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}

.service-item-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-meta {
  margin-bottom: 0.35rem;
}

.service-duration {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--brand-brown);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.service-item-body h3 {
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--brand-blue);
  margin-bottom: 0.4rem;
}

.service-item-body p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.btn-select-service {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--brand-brown);
  color: #ffffff;
  border: none;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(66, 35, 22, 0.2);
  transition: all 0.2s ease;
}

.btn-select-service:hover {
  background: var(--brand-brown-dark);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(66, 35, 22, 0.3);
}

/* Booking Section */

/* Resumen de tratamientos seleccionados en el booking */
.selected-summary-box {
  background: #fdfaf6;
  border: 1.5px dashed var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
  min-height: 56px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.selected-pills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.selected-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--dark);
  box-shadow: 0 2px 6px rgba(66, 35, 22, 0.05);
}

.selected-chip .chip-price {
  color: var(--brand-brown);
  font-weight: 800;
}

.selected-chip .btn-remove-chip {
  background: none;
  border: none;
  color: #ef4444;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  line-height: 1;
  padding: 0 2px;
}

.selected-chip .btn-remove-chip:hover {
  color: #b91c1c;
}

.selected-totals-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #eedecf;
  padding-top: 10px;
  margin-top: 4px;
  font-size: 0.92rem;
  color: var(--dark);
}

.selected-totals-bar strong {
  color: var(--brand-blue);
}

/* Feedback visual en las tarjetas del catálogo cuando están seleccionadas */
.service-item-card.is-selected {
  border-color: var(--brand-gold);
  box-shadow: 0 0 0 2px var(--brand-gold), 0 14px 34px rgba(88, 50, 34, 0.15);
}

#treatments,
#booking {
  scroll-margin-top: 90px;
}

.schedule-section {
  padding-top: 2rem;
  padding-bottom: 5rem;
}

.schedule-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 3rem);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  border-top: 6px solid var(--brand-brown);
  margin-bottom: 4rem;
}

.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--brand-blue);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  outline: none;
  background-color: #fff;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--brand-gold);
  box-shadow: 0 0 0 3px rgba(245, 168, 29, 0.2);
}

/* Abrir calendario al tocar cualquier punto del input date */
input[type="date"] {
  cursor: pointer;
}

input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  padding: 8px;
}

/* Honeypot anti-bot */
.website-trap {
  position: absolute;
  left: -9999px;
  top: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
}

/* Slot Pills */
.slots-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  min-height: 48px;
  align-items: center;
}

.slot-pill {
  background: #dff9e8;
  border: 1.5px solid var(--border);
  color: var(--brand-blue);
  padding: 8px 16px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

.slot-pill:hover {
  border-color: var(--brand-gold);
}

.slot-pill.active {
  background: var(--brand-gold);
  color: #ffffff;
  border-color: var(--brand-gold);
  box-shadow: 0 4px 12px rgba(245, 168, 29, 0.35);
}

/* Pastilla de horario deshabilitada / hora ya transcurrida */
.slot-pill:disabled,
.slot-pill.is-past,
.slot-pill.is-booked {
  opacity: 0.55;
  background-color: #fbddd2;
  color: var(--text-muted);
  border-color: #fc8d8d;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
  transform: none !important;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: var(--brand-brown);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  text-decoration: none;
  border: none;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(12, 43, 105, 0.4);
  text-shadow: 0 3px 9px rgba(67, 41, 24, 0.4);
  transition: all 0.2s ease;
}

.btn-primary:hover {
  background: var(--brand-brown-dark);
  transform: translateY(-1px);
}

.btn-primary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Modals */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(42, 24, 16, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: none;
  place-items: center;
  z-index: 120;
  padding: 16px;
}

.modal-overlay.open {
  display: grid;
}

.modal-card {
  background: #ffffff;
  color: var(--dark);
  width: 100%;
  max-width: 480px;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-modal);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  border: 1px solid var(--border);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.modal-header h3 {
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--brand-blue);
}

.close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-muted);
}

.ticket-card {
  text-align: center;
  border-top: 6px solid var(--brand-gold);
}

.ticket-badge {
  background: rgba(245, 168, 29, 0.2);
  color: var(--brand-brown);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 9999px;
  display: inline-block;
  margin-bottom: 8px;
}

.ticket-header h3 {
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--brand-blue);
}

.ticket-header p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.ticket-number-box {
  background: #fdfaf5;
  border: 2px dashed var(--brand-gold);
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 16px;
}

.t-label {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--brand-brown);
  letter-spacing: 0.05em;
}

.t-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--brand-blue);
  line-height: 1.1;
  margin-top: 4px;
}

.ticket-details {
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-bottom: 16px;
  text-align: left;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  margin-bottom: 6px;
}

.detail-row:last-child {
  margin-bottom: 0;
}

.req-notice {
  font-size: 0.82rem;
  color: #78350f;
  background: #fef3c7;
  border-left: 4px solid var(--brand-gold);
  border-radius: var(--radius-sm);
  padding: 12px;
  margin-bottom: 18px;
  text-align: left;
  line-height: 1.45;
}

/* ==========================================
   ADMIN DASHBOARD (COHERENTE CON INDEX)
   ========================================== */

   .admin-header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 2px solid var(--brand-gold);
    z-index: 100;
    padding: 0.85rem 0;
  }
  
  .admin-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
  }
  
  .admin-brand {
    display: flex;
    align-items: center;
    gap: 14px;
  }
  
  /* Navegación limpia: sin fondos en bloque ni contenedores pesados */
  .admin-tabs {
    display: flex;
    gap: 1.5rem;
    background: transparent;
    padding: 0;
    border: none;
  }
  
  .tab-btn {
    background: transparent;
    border: none;
    padding: 8px 4px;
    font-family: inherit;
    font-weight: 700;
    font-size: 0.95rem;
    color: #78645a; /* Tono neutro sutil */
    cursor: pointer;
    position: relative;
    transition: color 0.2s ease;
    letter-spacing: 0.02em;
  }
  
  /* Hover suave y elegante */
  .tab-btn:hover {
    color: var(--brand-brown);
  }
  
/* Pestaña activa: texto en brand-gold sin línea inferior */
.tab-btn.active {
  background: transparent;
  color: var(--brand-blue);
}

.tab-btn.active::after {
  content: none;
}
/* Alineación de celdas */
.schedule-table td {
  padding: 16px 20px;
  border-bottom: 1px solid #f3e9df;
  color: #2a1810;
  vertical-align: middle;
}

.schedule-table tr:last-child td {
  border-bottom: none;
}

/* Contenedor flex para los botones de acción */
.table-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

/* Botones de acción sin estilos en línea */
.btn-action {
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 9999px;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1.5px solid currentColor;
}

.btn-edit {
  color: var(--brand-blue);
}

.btn-edit:hover {
  background: var(--brand-blue);
  color: #ffffff;
}

.btn-delete {
  color: #ef4444;
}

.btn-delete:hover {
  background: #ef4444;
  color: #ffffff;
}

/* Botón genérico de cambio de estado */
.btn-action.btn-toggle {
  color: var(--brand-brown);
  border-color: var(--brand-brown);
}

.btn-action.btn-toggle:hover {
  background: var(--brand-brown);
  color: #ffffff;
}

/* Estado específico cuando dice "Disable" */
.btn-action.btn-disable {
  color: #925404;
  border-color: #d97706;
}

.btn-action.btn-disable:hover {
  background: #d97706;
  color: #ffffff;
}

/* Estado específico cuando dice "Enable" */
.btn-action.btn-enable {
  color: #166534;
  border-color: #22c55e;
}

.btn-action.btn-enable:hover {
  background: #22c55e;
  color: #ffffff;
}

/* Encabezados y controles */
.admin-container {
  padding-top: 3rem;
  padding-bottom: 5rem;
}

.admin-controls-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.admin-controls-row h2 {
  font-family: "Georgia", "Times New Roman", serif;
  font-style: italic;
  font-size: 2rem;
  font-weight: 700;
  color: var(--brand-blue);
  letter-spacing: -0.01em;
}

.date-filter {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--brand-brown-dark);
}

.date-filter input {
  padding: 9px 14px;
  border: 1px solid #eedecf;
  border-radius: var(--radius-md);
  outline: none;
  background: #ffffff;
  color: var(--brand-brown-dark);
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.date-filter input:focus {
  border-color: var(--brand-gold);
  box-shadow: 0 0 0 3px rgba(255, 207, 74, 0.25);
}

/* Tabla integrada al estilo de tarjetas del Index */
.table-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid #eedecf;
  border-top: 4px solid var(--brand-brown);
  overflow: hidden;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.schedule-table th {
  background: #fdfaf6;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--brand-brown);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 16px 20px;
  border-bottom: 1.5px solid #eedecf;
}

.admin-thumb {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1px solid #eedecf;
  display: block;
}

.status-badge.confirmed {
  background: rgba(255, 207, 74, 0.25);
  color: #784814;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 800;
  display: inline-block;
  letter-spacing: 0.04em;
}

.service-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 1rem;
}

/* Formulario en columna única vertical */
.service-form-stacked {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  margin-top: 1rem;
}

.service-form-stacked .form-group {
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* Cajas de texto expandibles (Textarea) estilo Imagen 2 */
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  font-family: inherit;
  color: var(--dark);
  background-color: #ffffff;
  outline: none;
  resize: vertical; /* Permite estirar hacia abajo manteniendo el ancho */
  min-height: 85px;
  line-height: 1.5;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group textarea:focus {
  border-color: var(--brand-gold);
  box-shadow: 0 0 0 3px rgba(255, 207, 74, 0.25);
}

/* Drag and drop para filas de tratamientos */
.drag-handle {
  cursor: grab;
  color: var(--text-muted);
  font-size: 1.25rem;
  font-weight: bold;
  user-select: none;
  text-align: center;
  width: 32px;
}

.drag-handle:active {
  cursor: grabbing;
}

tr.dragging {
  opacity: 0.4;
  background-color: #fdf6ee;
}

tr.drag-over {
  border-top: 2px dashed var(--brand-brown);
}

@media (max-width: 768px) {
  .admin-header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-tabs {
    width: 100%;
    justify-content: flex-start;
    gap: 1.25rem;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .schedule-table th,
  .schedule-table td {
    padding: 12px 14px;
    font-size: 0.88rem;
  }
}

/* ==========================================
   FOOTER (MYSTIC SPA BRANDING)
   ========================================== */
   .site-footer {
    background: linear-gradient(to bottom, #553026 0%, #70443d 45%, #8c5e58 100%);
    color: #ffffff;
    padding: 0 0 2rem;
    margin-top: 0rem;
    position: relative;
    border-top: none;
  }
  
  .footer-wave-container {
    position: relative;
    width: 100%;
    height: 90px;
    margin-top: -89px;
    overflow: hidden;
    line-height: 0;
    display: block;
  }
  
  .footer-wave-svg {
    display: block;
    width: 100%;
    height: 100%;
    vertical-align: bottom;
    /* En móviles mantiene un ancho virtual amplio para no deformar la curva */
    min-width: 900px;
  }
  
  .footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }
  
  .footer-svg-logo {
    height: 50px;
    width: auto;
    display: block;
    margin-bottom: 1rem;
  }
  
  .brand-specialty {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.25rem;
  }
  
  .brand-specialty strong {
    color: var(--brand-gold);
  }
  
  .footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
  }
  
  .footer-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
    transition: opacity 0.2s ease;
  }
  
  .footer-contact-link:hover {
    opacity: 0.85;
  }
  
  .footer-col h4 {
    font-family: "Georgia", "Times New Roman", serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--brand-gold);
    margin-bottom: 1.2rem;
    letter-spacing: 0.02em;
  }
  
  .footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .footer-col ul li {
    margin-bottom: 0.75rem;
  }
  
  .footer-col ul li a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    font-size: 0.92rem;
    transition: color 0.2s ease;
  }
  
  .footer-col ul li a:hover {
    color: #ffffff;
  }
  
  .footer-bottom {
    padding-top: 1.5rem;
    text-align: center;
  }
  
  .footer-bottom p {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.85rem;
  }
  
  /* Modal Legal Body */
  .legal-modal-card {
    max-width: 560px;
  }
  
  .legal-content-body {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--dark);
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 8px;
  }
  
  .legal-content-body h4 {
    color: var(--brand-blue);
    font-family: "Georgia", serif;
    margin: 1.2rem 0 0.4rem;
  }
  
  .legal-content-body p {
    margin-bottom: 0.8rem;
    color: var(--text-muted);
  }
  
  /* Floating Action Button (FAB) */
.social-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.social-fab__tooltip {
  position: absolute;
  right: calc(100% + 12px);
  background: var(--dark);
  color: #ffffff;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.social-fab__toggle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  position: relative;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.2s ease;
}

.social-fab__toggle:hover {
  transform: scale(1.08);
}

.social-fab__toggle:hover .social-fab__tooltip {
  opacity: 1;
  transform: translateX(0);
}

.social-fab__plane {
  width: 24px;
  height: 24px;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.social-fab.is-open .social-fab__plane {
  transform: rotate(45deg) scale(0.9);
}

.social-fab.is-open .social-fab__toggle {
  background: var(--primary-hover);
}

.social-fab__icons {
  display: flex;
  flex-direction: column-reverse;
  gap: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
}

.social-fab.is-open .social-fab__icons {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.social-fab__icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--dark);
  border: 1px solid var(--surface-border);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  position: relative;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.social-fab__icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.social-fab__icon:hover {
  transform: scale(1.1);
  background: var(--primary);
  color: #ffffff;
}

.social-fab__icon:hover .social-fab__tooltip {
  opacity: 1;
  transform: translateX(0);
}
  
  @media (max-width: 768px) {
    .footer-grid {
      grid-template-columns: 1fr;
      gap: 2rem;
    }
  
    /* Eliminar la necesidad de scroll horizontal en el contenedor */
    .table-responsive {
      overflow-x: visible;
    }
  
    .table-card {
      background: transparent;
      border: none;
      box-shadow: none;
    }
  
    /* Ocultar los encabezados horizontales de la tabla */
    .schedule-table thead {
      display: none;
    }
  
    .schedule-table,
    .schedule-table tbody {
      display: block;
      width: 100%;
    }
  
    /* Cada fila se convierte en una tarjeta estilizada */
    .schedule-table tr {
      display: flex;
      flex-direction: column;
      background: #ffffff;
      border-radius: var(--radius-md);
      border: 1px solid #eedecf;
      border-top: 4px solid var(--brand-brown);
      box-shadow: var(--shadow-card);
      margin-bottom: 1.25rem;
      padding: 1rem;
      gap: 0.5rem;
    }
  
    /* Cada celda pasa a ser una fila con etiqueta lateral */
    .schedule-table td {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 6px 0;
      border-bottom: 1px dashed #f3e9df;
      font-size: 0.9rem;
    }
  
    .schedule-table tr td:last-child {
      border-bottom: none;
      padding-top: 10px;
      margin-top: 4px;
    }
  
    /* La miniatura de imagen del servicio */
    .admin-thumb {
      width: 120px;
      height: 120px;
      border-radius: var(--radius-sm);
    }
  
    /* Contenedor de botones de acción a lo ancho en móvil */
    .table-actions {
      width: 100%;
      display: flex;
      justify-content: flex-end;
      gap: 8px;
    }
  
    .table-actions .btn-action {
      flex: 1;
      text-align: center;
      padding: 8px 12px;
      font-size: 0.82rem;
    }
  }