:root {
  --ink: #1B1017;
  --ink-2: #2A1722;
  --ink-soft: #6D5964;
  --muted: #8B7A82;
  --ivory: #F8F3EC;
  --ivory-2: #EFE4D5;
  --card: rgba(255,255,255,.88);
  --card-solid: #FFFFFF;
  --gold: #C8925B;
  --gold-2: #E7C99C;
  --copper: #A96E43;
  --sage: #4D8060;
  --amber: #B97725;
  --rose: #A84755;
  --plum: #5A2943;
  --line: rgba(42,23,34,.11);
  --line-strong: rgba(42,23,34,.18);
  --radius: 22px;
  --radius-lg: 34px;
  --shadow: 0 24px 80px -42px rgba(27,16,23,.55);
  --shadow-soft: 0 14px 40px -24px rgba(27,16,23,.35);
  --glass: rgba(255,255,255,.58);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; min-height: 100%; }
body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 10%, rgba(200,146,91,.18), transparent 34%),
    radial-gradient(circle at 90% 0%, rgba(90,41,67,.16), transparent 32%),
    linear-gradient(135deg, #FFF9F0 0%, var(--ivory) 42%, #F0E2D3 100%);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.55;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .38;
  background-image:
    linear-gradient(rgba(42,23,34,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42,23,34,.035) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(to bottom, #000, transparent 82%);
  z-index: -1;
}

a { color: var(--copper); text-decoration: none; font-weight: 650; }
a:hover { color: var(--plum); }
p { margin: 0 0 1em; color: var(--ink-soft); }
h1, h2, h3, .display {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 650;
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin: 0 0 .42em;
}
h1 { font-size: clamp(2rem, 2.6vw, 3.35rem); }
h2 { font-size: clamp(1.45rem, 2vw, 2.15rem); }
h3 { font-size: 1.22rem; }
small { color: var(--muted); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--copper);
  font-weight: 800;
  margin-bottom: 8px;
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: .65;
}
.divider {
  display: flex; align-items: center; gap: 10px; margin: 1.25em 0;
}
.divider::before, .divider::after {
  content: ''; flex: 1; height: 1px; background: var(--line-strong);
}
.divider .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--copper));
  box-shadow: 0 0 0 6px rgba(200,146,91,.12);
}

/* ---------- Admin shell ---------- */
.app { display: flex; min-height: 100vh; width: 100%; }
.sidebar {
  width: 286px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  padding: 22px 18px;
  flex-shrink: 0;
  color: #FFF5EA;
  background:
    linear-gradient(160deg, rgba(27,16,23,.98), rgba(57,28,43,.96)),
    radial-gradient(circle at 20% 10%, rgba(200,146,91,.22), transparent 36%);
  border-right: 1px solid rgba(255,255,255,.08);
  box-shadow: 18px 0 70px -54px rgba(27,16,23,.8);
}
.sidebar::before {
  content: '';
  display: block;
  height: 128px;
  margin: -22px -18px 18px;
  background:
    radial-gradient(circle at 25% 30%, rgba(231,201,156,.32), transparent 20%),
    radial-gradient(circle at 70% 20%, rgba(255,255,255,.09), transparent 24%),
    linear-gradient(135deg, rgba(200,146,91,.10), transparent);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.sidebar .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #FFF7EC;
  margin: -116px 0 30px;
  min-height: 74px;
  position: relative;
  z-index: 1;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.22rem;
  line-height: 1.05;
  font-weight: 700;
}
.sidebar .brand::before {
  content: '✦';
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--gold), var(--copper));
  box-shadow: 0 18px 45px -22px rgba(200,146,91,.9);
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
}
.sidebar nav { display: grid; gap: 7px; }
.sidebar nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,247,236,.78);
  padding: 12px 13px;
  border-radius: 16px;
  font-size: .94rem;
  font-weight: 700;
  border: 1px solid transparent;
  transition: .18s ease;
}
.sidebar nav a:hover,
.sidebar nav a.active {
  color: #fff;
  background: rgba(255,255,255,.095);
  border-color: rgba(255,255,255,.10);
  transform: translateX(2px);
}
.sidebar nav a.active {
  background: linear-gradient(135deg, rgba(200,146,91,.24), rgba(255,255,255,.08));
  box-shadow: inset 3px 0 0 var(--gold);
}
.sidebar nav a:nth-child(1)::before { content: '◈'; }
.sidebar nav a:nth-child(2)::before { content: '◷'; }
.sidebar nav a:nth-child(3)::before { content: '♡'; }
.sidebar nav a:nth-child(4)::before { content: '✺'; }
.sidebar nav a:nth-child(5)::before { content: '👥'; }
.sidebar nav a:nth-child(6)::before { content: '★'; }
.sidebar nav a:nth-child(7)::before { content: '▥'; }
.sidebar nav a:nth-child(8)::before { content: '⚙'; }
.sidebar .logout {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.10);
}
.sidebar .logout button { width: 100%; }
.main {
  flex: 1;
  width: calc(100% - 286px);
  max-width: 1380px;
  padding: 34px clamp(22px, 3vw, 54px) 64px;
}
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 28px;
}
.topbar > h1 { margin-bottom: 0; }

/* ---------- Cards / stats ---------- */
.card, .stat {
  position: relative;
  background: var(--card);
  border: 1px solid rgba(255,255,255,.70);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
}
.card::after, .stat::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.78);
}
.card h3 { margin-bottom: 16px; }
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 26px;
}
.stat {
  overflow: hidden;
  min-height: 130px;
  padding: 22px;
}
.stat::before {
  content: '';
  position: absolute;
  right: -38px;
  top: -38px;
  width: 105px;
  height: 105px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,146,91,.28), transparent 64%);
}
.stat .num {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: .95;
  color: var(--ink);
}
.stat .label {
  margin-top: 10px;
  font-size: .78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 800;
}

.dashboard-hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 30px;
  margin-bottom: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 12%, rgba(231,201,156,.34), transparent 24%),
    linear-gradient(135deg, #1A0F16 0%, #432139 58%, #8E5737 100%);
  box-shadow: var(--shadow);
}
.dashboard-hero::after {
  content: '';
  position: absolute;
  right: -80px;
  bottom: -90px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.20);
  box-shadow: 0 0 0 28px rgba(255,255,255,.045), 0 0 0 72px rgba(255,255,255,.025);
}
.dashboard-hero h1 { color: #fff; max-width: 760px; }
.dashboard-hero p { color: rgba(255,247,236,.78); max-width: 740px; }
.dashboard-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; position: relative; z-index: 1; }
.dashboard-actions .btn.ghost { color: #fff; border-color: rgba(255,255,255,.24); background: rgba(255,255,255,.08); }

/* ---------- Buttons / badges / forms ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--ink);
  color: var(--ivory);
  font-weight: 850;
  cursor: pointer;
  font-size: .92rem;
  font-family: inherit;
  box-shadow: 0 14px 32px -22px rgba(27,16,23,.55);
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.btn:hover { background: #35202B; color: #fff; transform: translateY(-1px); box-shadow: 0 18px 38px -24px rgba(27,16,23,.72); }
.btn.gold {
  background: linear-gradient(135deg, var(--gold), var(--copper));
  color: #fff;
}
.btn.gold:hover { background: linear-gradient(135deg, #D2A068, #8F5636); }
.btn.ghost {
  background: rgba(255,255,255,.52);
  color: var(--ink);
  border-color: var(--line-strong);
  box-shadow: none;
}
.btn.small { min-height: 34px; padding: 6px 12px; font-size: .79rem; }
.btn.danger { background: linear-gradient(135deg, var(--rose), #7D2C3B); color: #fff; }
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.badge.pending { background: #FFF0D9; color: var(--amber); }
.badge.confirmed { background: #DFF0E6; color: var(--sage); }
.badge.completed { background: #ECE6FF; color: #5B4B8A; }
.badge.cancelled { background: #F8DDE2; color: var(--rose); }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { margin-bottom: 15px; }
label {
  display: block;
  margin-bottom: 6px;
  font-size: .78rem;
  font-weight: 900;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: .055em;
}
input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(42,23,34,.14);
  border-radius: 15px;
  font-family: inherit;
  font-size: .95rem;
  background: rgba(255,255,255,.88);
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85);
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: rgba(200,146,91,.72);
  box-shadow: 0 0 0 4px rgba(200,146,91,.15);
  background: #fff;
}
textarea { resize: vertical; }
.alert {
  padding: 13px 15px;
  border-radius: 16px;
  margin-bottom: 16px;
  font-size: .92rem;
  font-weight: 650;
}
.alert.error { background: #F8DDE2; color: var(--rose); }
.alert.ok { background: #DFF0E6; color: var(--sage); }

table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 8px;
}
th, td {
  text-align: left;
  padding: 12px 12px;
  font-size: .92rem;
  border: 0;
}
th {
  color: var(--muted);
  font-weight: 900;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .07em;
}
tbody tr { background: rgba(255,255,255,.62); box-shadow: inset 0 0 0 1px rgba(42,23,34,.06); }
tbody tr td:first-child { border-radius: 14px 0 0 14px; }
tbody tr td:last-child { border-radius: 0 14px 14px 0; }

/* ---------- Login ---------- */
.login-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr);
  background:
    radial-gradient(circle at 22% 25%, rgba(231,201,156,.22), transparent 20%),
    linear-gradient(135deg, #1A0F16, #3E2133 56%, #865337);
}
.login-brand-panel {
  position: relative;
  padding: clamp(30px, 5vw, 78px);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.login-brand-panel::after {
  content: '';
  position: absolute;
  right: -120px;
  bottom: -150px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 0 0 40px rgba(255,255,255,.04), 0 0 0 100px rgba(255,255,255,.025);
}
.login-brand-panel h1 { color: #fff; font-size: clamp(2.7rem, 6vw, 5.8rem); max-width: 720px; }
.login-brand-panel p { color: rgba(255,247,236,.78); max-width: 600px; font-size: 1.05rem; }
.login-card-wrap { display: grid; place-items: center; padding: 28px; background: linear-gradient(135deg, rgba(248,243,236,.92), rgba(255,255,255,.72)); }
.login-card { width: min(430px, 100%); padding: 32px; }

/* ---------- Public profile / booking ---------- */
.public-shell {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px 78px;
}
.hero {
  position: relative;
  overflow: hidden;
  color: var(--ivory);
  padding: 76px 24px 94px;
  text-align: center;
  border-radius: 0 0 54px 54px;
  margin-bottom: -46px;
  background:
    radial-gradient(circle at 50% 0%, rgba(231,201,156,.24), transparent 28%),
    radial-gradient(circle at 8% 18%, rgba(255,255,255,.08), transparent 20%),
    linear-gradient(135deg, #170D13 0%, #44223B 58%, #8D5736 100%);
  box-shadow: var(--shadow);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 0 0 42px 42px;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  right: -90px;
  bottom: -140px;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(231,201,156,.16), transparent 60%);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 0 0 36px rgba(255,255,255,.035);
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.45rem, 5.8vw, 5.2rem);
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}
.hero p { color: rgba(255,247,236,.78); max-width: 620px; margin-left: auto; margin-right: auto; }
.hero .logo-badge {
  width: 78px;
  height: 78px;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--gold), var(--copper));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 2.05rem;
  color: #fff;
  box-shadow: 0 22px 55px -28px rgba(200,146,91,.9);
}
.hero .stars { color: var(--gold-2); font-weight: 900; }
.public-intro-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
  margin-bottom: 22px;
}
.info-pill-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 8px; }
.info-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.70);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-weight: 750;
  font-size: .84rem;
}
.section-title { text-align: center; margin: 44px 0 12px; }
.section-title + p { text-align: center; max-width: 640px; margin-left: auto; margin-right: auto; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0;
}
.service-arch {
  position: relative;
  overflow: hidden;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 42px 42px 18px 18px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(255,255,255,.8);
  padding: 22px 20px;
  text-align: left;
  box-shadow: var(--shadow-soft);
}
.service-arch::before {
  content: '✺';
  position: absolute;
  right: 16px;
  top: 14px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #FFF1DC;
  color: var(--copper);
}
.service-arch:nth-child(2n)::before { content: '✦'; }
.service-arch:nth-child(3n)::before { content: '◌'; }
.service-arch strong { display: block; padding-right: 52px; font-size: 1.03rem; }
.service-arch .price {
  color: var(--copper);
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.6rem;
  line-height: 1;
  margin-top: 18px;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0;
}
.portfolio-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 38px 38px 16px 16px;
  border: 1px solid rgba(255,255,255,.85);
  box-shadow: var(--shadow-soft);
}
.review-card {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}
.stars { color: var(--copper); font-size: 1rem; letter-spacing: 2px; font-weight: 900; }
.cta-fixed {
  position: sticky;
  bottom: 16px;
  z-index: 3;
  text-align: center;
  margin-top: 24px;
}
.cta-fixed .btn {
  width: min(560px, 100%);
  padding: 16px 24px;
  font-size: 1rem;
  box-shadow: 0 20px 55px -26px rgba(27,16,23,.9);
}
.booking-card { max-width: 720px; margin: 0 auto; }
.success-card { text-align: center; max-width: 620px; margin: 0 auto; }

/* ---------- Utilities ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.table-wrap { width: 100%; overflow-x: auto; }
.muted { color: var(--muted); }
.quick-grid { display:grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.quick-card { display:block; color:var(--ink); }
.quick-card:hover { transform: translateY(-2px); }

@media (max-width: 1100px) {
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .public-intro-card { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .app { flex-direction: column; }
  .sidebar {
    width: 100%;
    height: auto;
    position: relative;
    padding: 14px 14px 16px;
  }
  .sidebar::before { display: none; }
  .sidebar .brand { margin: 0 0 12px; min-height: auto; }
  .sidebar .brand::before { width: 40px; height: 40px; border-radius: 14px; flex-basis: 40px; }
  .sidebar nav { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; }
  .sidebar nav a { white-space: nowrap; padding: 10px 12px; }
  .sidebar .logout { margin-top: 12px; padding-top: 12px; }
  .main { width: 100%; padding: 22px 16px 44px; }
  .topbar { flex-direction: column; align-items: stretch; }
  .form-grid, .two-col { grid-template-columns: 1fr; }
  .login-page { grid-template-columns: 1fr; }
  .login-brand-panel { min-height: 340px; }
}
@media (max-width: 620px) {
  body { font-size: 15px; }
  .hero { padding: 58px 18px 78px; border-radius: 0 0 36px 36px; }
  .public-shell { padding-left: 14px; padding-right: 14px; }
  .services-grid, .portfolio-grid, .quick-grid, .stat-grid { grid-template-columns: 1fr; }
  .card, .stat, .dashboard-hero { padding: 20px; }
  table { border-spacing: 0 8px; min-width: 640px; }
  .card:has(table) { overflow-x: auto; }
}

/* =========================================================
   DIGO BOOKING UI V3 — MOBILE FIRST PATCH
   Objetivo: móvil primero, look más limpio tipo premium app,
   colores negros/nude/champagne y navegación usable en celular.
   ========================================================= */
:root {
  --ink: #111112;
  --ink-2: #1E1E20;
  --ink-soft: #575154;
  --muted: #8E8588;
  --ivory: #FAF7F2;
  --ivory-2: #F1EAE2;
  --card: rgba(255,255,255,.92);
  --card-solid: #FFFFFF;
  --gold: #C7A078;
  --gold-2: #F1D8B9;
  --copper: #B98664;
  --sage: #4B8060;
  --amber: #B97725;
  --rose: #B56775;
  --plum: #121214;
  --line: rgba(17,17,18,.10);
  --line-strong: rgba(17,17,18,.16);
  --radius: 20px;
  --radius-lg: 30px;
  --shadow: 0 28px 70px -44px rgba(17,17,18,.62);
  --shadow-soft: 0 16px 40px -26px rgba(17,17,18,.32);
}

html, body { max-width: 100%; overflow-x: hidden; }
body {
  background:
    radial-gradient(circle at 50% -10%, rgba(199,160,120,.18), transparent 34%),
    radial-gradient(circle at 100% 6%, rgba(181,103,117,.11), transparent 28%),
    linear-gradient(180deg, #FBF8F4 0%, #F5EEE8 100%);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
body::before {
  opacity: .22;
  background-image:
    linear-gradient(rgba(17,17,18,.030) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17,17,18,.030) 1px, transparent 1px);
}
h1, h2, h3, .display {
  font-family: 'Playfair Display', Georgia, serif;
  letter-spacing: -.045em;
}

/* ---------- Desktop admin: más limpio y menos morado ---------- */
.sidebar {
  background:
    linear-gradient(180deg, rgba(17,17,18,.99), rgba(31,31,33,.98)),
    radial-gradient(circle at 20% 5%, rgba(199,160,120,.22), transparent 30%);
}
.sidebar::before {
  background:
    radial-gradient(circle at 25% 28%, rgba(199,160,120,.22), transparent 19%),
    linear-gradient(145deg, rgba(255,255,255,.10), transparent 62%);
}
.sidebar .brand {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.16rem;
  letter-spacing: -.02em;
}
.sidebar .brand::before { display: none; }
.brand-mark {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #FFFFFF, #F1D8B9);
  color: #111112;
  box-shadow: 0 20px 40px -24px rgba(241,216,185,.85);
  font-family: 'Inter', sans-serif;
}
.brand-text { display: block; }
.sidebar nav a {
  border-radius: 18px;
  color: rgba(255,255,255,.72);
}
.sidebar nav a::before { content: attr(data-icon) !important; width: 20px; text-align:center; opacity:.9; }
.sidebar nav a:hover,
.sidebar nav a.active {
  background: rgba(255,255,255,.105);
  border-color: rgba(255,255,255,.12);
  color: #fff;
}
.sidebar nav a.active {
  box-shadow: inset 3px 0 0 var(--gold);
}
.sidebar .logout button {
  background: rgba(255,255,255,.08) !important;
  border-color: rgba(255,255,255,.18) !important;
  color: #fff !important;
}

.card, .stat {
  border: 1px solid rgba(17,17,18,.08);
  background: rgba(255,255,255,.94);
}
.dashboard-hero,
.login-brand-panel,
.hero {
  background:
    radial-gradient(circle at 80% 0%, rgba(241,216,185,.28), transparent 24%),
    linear-gradient(135deg, #101011 0%, #1F1F21 55%, #8C6A50 100%);
}
.btn.gold {
  background: linear-gradient(135deg, #111112, #3A3230);
  color: #fff;
}
.btn.gold:hover { background: linear-gradient(135deg, #000, #2A2524); }
.btn.ghost {
  background: rgba(255,255,255,.72);
  color: #111112;
}
input, select, textarea {
  background: #fff;
  border-color: rgba(17,17,18,.12);
  min-height: 48px;
}
input:focus, select:focus, textarea:focus {
  border-color: rgba(199,160,120,.85);
  box-shadow: 0 0 0 4px rgba(199,160,120,.18);
}
.service-arch::before { background: #F6E6D8; color: #111112; }
.service-arch .price, .stars, a { color: #9E7557; }
.logo-badge { background: linear-gradient(135deg, #111112, #8C6A50) !important; }

/* ---------- Mobile admin app: el celular manda ---------- */
@media (max-width: 860px) {
  body { padding: 0; }
  .app {
    display: block;
    min-height: 100vh;
    padding: 0;
  }
  .sidebar {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 50;
    width: 100%;
    height: 72px;
    min-height: 72px;
    overflow: visible;
    padding: max(10px, env(safe-area-inset-top)) 14px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.10);
    box-shadow: 0 18px 55px -38px rgba(0,0,0,.65);
    background:
      radial-gradient(circle at 8% 0%, rgba(241,216,185,.18), transparent 28%),
      linear-gradient(135deg, #101011, #1E1E20);
  }
  .sidebar::before { display: none !important; }
  .sidebar .brand {
    margin: 0;
    min-height: auto;
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    overflow: hidden;
    font-size: 1rem;
    line-height: 1.05;
  }
  .brand-mark {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
    border-radius: 14px;
    font-size: .96rem;
  }
  .brand-text {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 190px;
  }
  .sidebar .logout {
    margin: 0;
    padding: 0;
    border: 0;
    flex: 0 0 auto;
  }
  .sidebar .logout div { display:none !important; }
  .sidebar .logout button {
    min-height: 38px;
    padding: 7px 13px;
    border-radius: 999px;
    font-size: .78rem;
    white-space: nowrap;
  }

  .sidebar nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    bottom: env(safe-area-inset-bottom);
    z-index: 60;
    height: 70px;
    padding: 7px 8px calc(7px + env(safe-area-inset-bottom));
    display: flex;
    gap: 7px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    background: rgba(17,17,18,.96);
    backdrop-filter: blur(18px);
    border-top: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 -18px 50px -36px rgba(0,0,0,.9);
  }
  .sidebar nav::-webkit-scrollbar { display:none; }
  .sidebar nav a {
    min-width: 70px;
    flex: 0 0 70px;
    height: 54px;
    padding: 6px 4px;
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3px;
    font-size: .66rem;
    line-height: 1;
    white-space: normal;
    transform: none !important;
    color: rgba(255,255,255,.68);
  }
  .sidebar nav a::before {
    content: attr(data-icon) !important;
    display: block;
    width: auto;
    font-size: 1.05rem;
    line-height: 1;
  }
  .sidebar nav a span { display:block; }
  .sidebar nav a.active {
    background: linear-gradient(180deg, rgba(241,216,185,.20), rgba(255,255,255,.08));
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(241,216,185,.20);
  }

  .main {
    width: 100%;
    max-width: none;
    padding: 96px 14px 100px;
  }
  .topbar {
    margin-bottom: 18px;
  }
  .topbar h1,
  .main > .topbar > h1,
  .main > h1 {
    font-size: clamp(2rem, 10vw, 3.1rem);
  }
  .dashboard-hero {
    border-radius: 28px;
    padding: 24px 20px;
    margin-bottom: 18px;
  }
  .dashboard-hero h1 { font-size: clamp(2rem, 9vw, 3rem); }
  .dashboard-actions .btn { width: 100%; }
  .stat-grid { gap: 12px; }
  .stat { min-height: 104px; padding: 18px; }
  .stat .num { font-size: 2.15rem; }
  .card {
    border-radius: 24px;
    padding: 20px 18px;
    box-shadow: 0 18px 42px -32px rgba(17,17,18,.42);
  }

  .main > form[method="GET"] {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 10px !important;
    margin-bottom: 16px !important;
  }
  .main > form[method="GET"] input,
  .main > form[method="GET"] select,
  .main > form[method="GET"] button {
    max-width: none !important;
    width: 100% !important;
  }
  .main > form[method="GET"] button {
    grid-column: 1 / -1;
  }
  .form-grid {
    grid-template-columns: 1fr !important;
    gap: 0;
  }
  .field { margin-bottom: 14px; }
  label { font-size: .72rem; }
  input, select, textarea {
    min-height: 52px;
    border-radius: 16px;
    font-size: 16px; /* evita zoom en iPhone/Android */
  }
  .btn {
    min-height: 48px;
    padding: 12px 17px;
  }
  .btn.small { min-height: 38px; }
  .table-wrap,
  .card { overflow-x: auto; }
  table { min-width: 650px; }
}

@media (max-width: 520px) {
  .main { padding-left: 12px; padding-right: 12px; }
  .brand-text { max-width: 168px; }
  .sidebar .logout button { padding-left: 11px; padding-right: 11px; }
  .main > form[method="GET"] { grid-template-columns: 1fr; }
  .card, .dashboard-hero { padding: 18px 16px; }
  .hero {
    padding: 54px 18px 78px;
    border-radius: 0 0 34px 34px;
  }
  .hero h1 { font-size: clamp(2.5rem, 15vw, 4.3rem); }
}

/* ---------- Public/mobile booking: más parecido a app ---------- */
@media (max-width: 700px) {
  .public-shell { padding: 0 14px 90px; }
  .hero {
    margin-bottom: -34px;
    text-align: left;
  }
  .hero::before { inset: 10px; border-radius: 0 0 28px 28px; }
  .hero .logo-badge { margin-left: 0; }
  .hero h1, .hero p { margin-left: 0; margin-right: 0; }
  .public-intro-card { gap: 12px; }
  .services-grid { gap: 12px; }
  .service-arch {
    min-height: 142px;
    border-radius: 32px 32px 18px 18px;
    padding: 20px 18px;
  }
  .cta-fixed {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    margin: 0;
    z-index: 80;
  }
  .cta-fixed .btn {
    width: 100%;
    min-height: 56px;
    border-radius: 18px;
  }
  .booking-card { border-radius: 28px; }
  .login-page { display:block; }
  .login-brand-panel {
    min-height: 310px;
    padding: 38px 22px 32px;
  }
  .login-brand-panel h1 { font-size: clamp(2.4rem, 13vw, 4rem); }
  .login-card-wrap { padding: 18px 14px 34px; }
  .login-card { border-radius: 28px; padding: 24px 20px; }
}

/* Pequeña mejora visual del scroll horizontal: que se entienda que hay más opciones */
@media (max-width: 860px) {
  .sidebar nav::after {
    content: '';
    flex: 0 0 4px;
  }
}
