/* =====================================================================
   SYOM STUDIO — Sistema visual azul marino + dorado
   ===================================================================== */
:root {
  --bg: #061024;
  --bg-2: #0a1733;
  --bg-3: #0e1f44;
  --panel: rgba(15, 32, 70, 0.72);
  --panel-solid: #0f2046;
  --panel-2: rgba(20, 40, 86, 0.6);
  --border: rgba(212, 175, 55, 0.22);
  --border-soft: rgba(255, 255, 255, 0.07);
  --gold: #d4af37;
  --gold-light: #f3d98b;
  --gold-dark: #a77d1e;
  --gold-grad: linear-gradient(135deg, #9c7419 0%, #d9b54a 22%, #f7e3a1 48%, #d4af37 72%, #a07a1d 100%);
  --gold-text: linear-gradient(180deg, #f9e7a8 0%, #e6c35c 45%, #b98a25 100%);
  --text: #f3efe4;
  --text-2: #c9cfdf;
  --muted: #8d99b8;
  --success: #3ccf8e;
  --info: #5aa9ff;
  --warning: #f2b544;
  --danger: #ff6b6b;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
  --glow: 0 0 0 1px rgba(212, 175, 55, 0.25), 0 10px 30px rgba(212, 175, 55, 0.12);
  --sidebar-w: 250px;
  --font: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Cinzel', 'Montserrat', serif;
}

* { box-sizing: border-box; }
html, body, #root { height: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(40, 80, 170, 0.25), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(212, 175, 55, 0.07), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  font-size: 14.5px;
  line-height: 1.5;
}
a { color: var(--gold-light); text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }
::selection { background: rgba(212, 175, 55, 0.35); }
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-thumb { background: rgba(212, 175, 55, 0.35); border-radius: 9px; }
::-webkit-scrollbar-track { background: transparent; }

.gold-text {
  background: var(--gold-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.center { text-align: center; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.row-between { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.grow { flex: 1; }
.mt { margin-top: 18px; }
.mb { margin-bottom: 18px; }

/* ============================ LAYOUT ============================ */
.app { display: flex; min-height: 100vh; }
.sidebar {
  position: fixed; inset: 0 auto 0 0; width: var(--sidebar-w);
  background:
    linear-gradient(180deg, rgba(10, 24, 54, 0.98), rgba(6, 16, 36, 0.98)),
    var(--bg-2);
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column; z-index: 40;
  overflow: hidden;
}
.sidebar::after {
  content: ''; position: absolute; right: -60px; bottom: 120px; width: 220px; height: 420px;
  border-right: 2px solid rgba(212, 175, 55, 0.45); border-radius: 0 0 100% 0;
  filter: blur(0.4px); pointer-events: none; transform: rotate(-12deg);
  box-shadow: 8px 0 24px rgba(212, 175, 55, 0.18);
}
.sidebar-logo { padding: 22px 26px 10px; display: flex; justify-content: center; }
.sidebar-logo img { width: 170px; }
.nav { padding: 18px 14px; display: flex; flex-direction: column; gap: 6px; overflow-y: auto; flex: 1; position: relative; z-index: 1; }
.nav-section { font-size: 10.5px; letter-spacing: 2.4px; color: var(--muted); padding: 14px 14px 4px; text-transform: uppercase; }
.nav a {
  display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 12px;
  color: var(--text); font-weight: 500; font-size: 14.5px; transition: background .2s, color .2s, transform .2s;
}
.nav a svg { color: var(--gold); flex-shrink: 0; }
.nav a:hover { background: rgba(212, 175, 55, 0.08); transform: translateX(2px); }
.nav a.active {
  background: var(--gold-grad); color: #1b1404; font-weight: 700;
  box-shadow: 0 6px 22px rgba(212, 175, 55, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.nav a.active svg { color: #1b1404; }
.sidebar-foot { padding: 18px 20px 26px; text-align: center; position: relative; z-index: 1; }
.sidebar-foot img { width: 120px; margin: 0 auto 10px; opacity: .95; }
.sidebar-foot .lema { font-size: 10.5px; letter-spacing: 2.2px; white-space: nowrap; color: var(--gold); font-weight: 600; }
.sidebar-foot .crown { display: flex; align-items: center; gap: 10px; justify-content: center; color: var(--gold); margin-top: 10px; }
.sidebar-foot .crown::before, .sidebar-foot .crown::after { content: ''; height: 1px; width: 44px; background: var(--gold); opacity: .7; }

.main { flex: 1; margin-left: var(--sidebar-w); min-width: 0; display: flex; flex-direction: column; }
.topbar {
  position: sticky; top: 0; z-index: 30; height: 66px; padding: 0 28px;
  display: flex; align-items: center; justify-content: flex-end; gap: 18px;
  background: rgba(6, 16, 36, 0.82); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
}
.topbar .mobile-brand { display: none; }
.topbar .menu-btn { display: none; }
.content { padding: 28px; flex: 1; width: 100%; max-width: 1320px; margin: 0 auto; }
.content.full { padding: 0 0 28px; max-width: none; }

.icon-btn {
  position: relative; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: transparent; border: 1px solid transparent; color: var(--gold);
}
.icon-btn:hover { background: rgba(212, 175, 55, 0.08); border-color: var(--border); }
.icon-btn .dot {
  position: absolute; top: 7px; right: 8px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 99px;
  background: var(--gold-grad); color: #1b1404; font-size: 10px; font-weight: 800; display: grid; place-items: center;
}

.user-chip {
  display: flex; align-items: center; gap: 12px; padding: 6px 10px 6px 6px; border-radius: 14px;
  background: transparent; border: 1px solid transparent; color: var(--text); position: relative;
}
.user-chip:hover { background: rgba(255, 255, 255, 0.04); border-color: var(--border-soft); }
.user-chip .who { text-align: left; line-height: 1.2; }
.user-chip .who small { display: block; color: var(--muted); font-size: 11.5px; }
.user-chip .who b { font-size: 14px; }

.dropdown {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 230px; background: var(--panel-solid);
  border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow); padding: 8px; z-index: 60;
  animation: pop .15s ease-out;
}
.dropdown button, .dropdown a {
  width: 100%; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px;
  background: none; border: 0; color: var(--text); font-size: 14px; text-align: left;
}
.dropdown button:hover, .dropdown a:hover { background: rgba(212, 175, 55, 0.1); }
.notif-panel { width: 360px; max-height: 440px; overflow: auto; }
.notif-item { padding: 10px 12px; border-radius: 10px; border-bottom: 1px solid var(--border-soft); font-size: 13px; }
.notif-item.unread { background: rgba(212, 175, 55, 0.07); }
.notif-item small { color: var(--muted); }

.bottom-nav { display: none; }
.overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.55); z-index: 35; backdrop-filter: blur(2px); }

/* ============================ AVATAR ============================ */
.avatar {
  width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
  border: 2px solid var(--gold); box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
  display: grid; place-items: center; background: linear-gradient(135deg, #1b2f60, #0b1733);
  color: var(--gold-light); font-weight: 700; font-size: 15px; overflow: hidden;
}
.avatar.sm { width: 34px; height: 34px; font-size: 12px; border-width: 1.5px; }
.avatar.lg { width: 74px; height: 74px; font-size: 22px; }
.avatar.xl { width: 120px; height: 120px; font-size: 34px; border-width: 3px; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }

/* ============================ CARDS ============================ */
.card {
  background: linear-gradient(180deg, rgba(20, 40, 86, 0.55), rgba(10, 24, 54, 0.65));
  border: 1px solid var(--border); border-radius: var(--radius); padding: 22px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.card.hover { transition: transform .2s, box-shadow .2s, border-color .2s; }
.card.hover:hover { transform: translateY(-3px); border-color: rgba(212, 175, 55, 0.5); box-shadow: var(--glow); }
.card-title { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 700; margin: 0 0 16px; }
.card-title svg { color: var(--gold); }
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-auto { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.page-head h1 { margin: 0; font-size: 28px; font-weight: 800; letter-spacing: -.3px; }
.page-head p { margin: 4px 0 0; color: var(--muted); }
.section-title { display: flex; align-items: center; justify-content: space-between; margin: 34px 0 16px; }
.section-title h2 { display: flex; align-items: center; gap: 12px; font-size: 20px; margin: 0; }
.section-title h2 svg { color: var(--gold); }
.link-gold { color: var(--gold); font-weight: 600; font-size: 13px; display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; }

/* ============================ STAT ============================ */
.stat { display: flex; gap: 16px; align-items: center; }
.stat-icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0;
  background: rgba(212, 175, 55, 0.1); border: 1px solid var(--border); color: var(--gold);
}
.stat-label { color: var(--muted); font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; font-weight: 600; }
.stat-value { font-size: 26px; font-weight: 800; line-height: 1.15; }
.stat-sub { font-size: 12px; color: var(--muted); }

/* ============================ BUTTONS ============================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 12px;
  font-weight: 700; font-size: 14px; border: 1px solid var(--border); background: rgba(255, 255, 255, 0.04); color: var(--text);
  transition: transform .15s, box-shadow .2s, background .2s, opacity .2s; white-space: nowrap;
}
.btn:hover { background: rgba(212, 175, 55, 0.1); }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-gold {
  background: var(--gold-grad); color: #1b1404; border: 0;
  box-shadow: 0 8px 22px rgba(212, 175, 55, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.btn-gold:hover { background: var(--gold-grad); box-shadow: 0 10px 30px rgba(212, 175, 55, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.btn-ghost { background: transparent; border-color: transparent; }
.btn-danger { background: rgba(255, 107, 107, 0.12); border-color: rgba(255, 107, 107, 0.4); color: #ffb3b3; }
.btn-danger:hover { background: rgba(255, 107, 107, 0.2); }
.btn-success { background: rgba(60, 207, 142, 0.12); border-color: rgba(60, 207, 142, 0.4); color: #8ff0c3; }
.btn-success:hover { background: rgba(60, 207, 142, 0.2); }
.btn-sm { padding: 7px 12px; font-size: 12.5px; border-radius: 10px; }
.btn-block { width: 100%; }
.btn-icon { padding: 8px; border-radius: 10px; }
.arrow-btn {
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  background: var(--gold-grad); color: #1b1404; border: 0;
}

/* ============================ FORMS ============================ */
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 12px; font-weight: 600; letter-spacing: .6px; color: var(--text-2); text-transform: uppercase; }
.input, .select, .textarea {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(4, 12, 30, 0.6); color: var(--text); font-size: 14.5px; outline: none; transition: border .2s, box-shadow .2s;
}
.input:focus, .select:focus, .textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15); }
.input.input-error { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(220, 70, 70, 0.15); }
.select option { background: var(--bg-2); }
.textarea { min-height: 90px; resize: vertical; }
.input-icon { position: relative; }
.input-icon svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--gold); }
.input-icon .input { padding-left: 42px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.check { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; }
.check input { accent-color: var(--gold); width: 17px; height: 17px; }

.switch { position: relative; width: 44px; height: 24px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch span { position: absolute; inset: 0; border-radius: 99px; background: rgba(255, 255, 255, 0.12); transition: .2s; cursor: pointer; }
.switch span::before { content: ''; position: absolute; width: 18px; height: 18px; left: 3px; top: 3px; border-radius: 50%; background: #fff; transition: .2s; }
.switch input:checked + span { background: var(--gold-grad); }
.switch input:checked + span::before { transform: translateX(20px); background: #1b1404; }

.upload {
  border: 1.5px dashed var(--border); border-radius: 14px; padding: 16px; display: flex; align-items: center; gap: 14px;
  cursor: pointer; background: rgba(4, 12, 30, 0.4); transition: border-color .2s;
}
.upload:hover { border-color: var(--gold); }
.upload img { width: 70px; height: 70px; object-fit: cover; border-radius: 10px; }
.upload { position: relative; }
.upload input[type=file] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; z-index: 1; }
.upload .btn { position: relative; z-index: 2; }

/* ============================ BADGES ============================ */
.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 99px; font-size: 11.5px;
  font-weight: 700; letter-spacing: .3px; border: 1px solid; white-space: nowrap;
}
.badge-success { color: #8ff0c3; background: rgba(60, 207, 142, 0.12); border-color: rgba(60, 207, 142, 0.35); }
.badge-info { color: #a9d0ff; background: rgba(90, 169, 255, 0.12); border-color: rgba(90, 169, 255, 0.35); }
.badge-warning { color: #ffd88f; background: rgba(242, 181, 68, 0.12); border-color: rgba(242, 181, 68, 0.35); }
.badge-danger { color: #ffb3b3; background: rgba(255, 107, 107, 0.12); border-color: rgba(255, 107, 107, 0.35); }
.badge-gold { color: #1b1404; background: var(--gold-grad); border-color: transparent; }
.badge-muted { color: var(--muted); background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.12); }

/* ============================ TABLE ============================ */
.table-wrap { overflow-x: auto; border-radius: 14px; border: 1px solid var(--border-soft); }
.table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.table th {
  text-align: left; padding: 13px 14px; font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--gold); background: rgba(212, 175, 55, 0.06); border-bottom: 1px solid var(--border); white-space: nowrap;
}
.table td { padding: 12px 14px; border-bottom: 1px solid var(--border-soft); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: rgba(255, 255, 255, 0.025); }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }
.table tfoot td { font-weight: 800; color: var(--gold-light); background: rgba(212, 175, 55, 0.05); }

/* ============================ TABS / CHIPS ============================ */
.tabs { display: flex; gap: 6px; padding: 5px; background: rgba(4, 12, 30, 0.55); border: 1px solid var(--border-soft); border-radius: 14px; overflow-x: auto; }
.tab { padding: 9px 16px; border-radius: 10px; background: none; border: 0; color: var(--text-2); font-weight: 600; font-size: 13.5px; white-space: nowrap; }
.tab.active { background: var(--gold-grad); color: #1b1404; }
.chip {
  padding: 10px 14px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.1); background: rgba(4, 12, 30, 0.45);
  color: var(--text); font-weight: 600; font-size: 13.5px; transition: .15s;
}
.chip:hover { border-color: var(--gold); }
.chip.active { background: var(--gold-grad); color: #1b1404; border-color: transparent; }
.chip:disabled { opacity: .35; cursor: not-allowed; }

/* ============================ HERO (INICIO) ============================ */
.hero {
  position: relative; min-height: 360px; display: flex; align-items: center; overflow: hidden;
  background: #050b18 url('../../img/hero.jpg') right center / cover no-repeat;
  border-bottom: 1px solid var(--border);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(6, 16, 36, 0.98) 0%, rgba(6, 16, 36, 0.86) 32%, rgba(6, 16, 36, 0.25) 62%, rgba(6, 16, 36, 0.1) 100%),
              linear-gradient(0deg, rgba(6, 16, 36, 0.9) 0%, transparent 35%);
}
.hero-inner { position: relative; z-index: 1; padding: 46px 40px 90px; max-width: 620px; }
.hero h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.05; margin: 0 0 14px; font-weight: 800; letter-spacing: -1px; }
.hero h1 span { display: block; }
.hero p { color: var(--text-2); font-size: 16px; margin: 0 0 22px; }
.hero .rule { width: 130px; height: 2px; background: var(--gold-grad); margin-bottom: 24px; border-radius: 2px; }
.cta-pill {
  display: inline-flex; align-items: center; gap: 16px; padding: 14px 32px 14px 22px; border-radius: 99px;
  background: var(--gold-grad); color: #1b1404; box-shadow: 0 10px 30px rgba(212, 175, 55, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transition: transform .2s, box-shadow .2s; min-width: 300px;
}
.cta-pill:hover { transform: translateY(-2px); box-shadow: 0 14px 38px rgba(212, 175, 55, 0.5); }
.cta-pill b { display: block; font-size: 14px; font-weight: 700; }
.cta-pill small { display: block; font-size: 11.5px; opacity: .8; }

.features {
  position: relative; z-index: 2; margin: -58px 40px 0; display: grid; grid-template-columns: repeat(4, 1fr);
  background: linear-gradient(180deg, rgba(18, 38, 82, 0.92), rgba(9, 22, 50, 0.95)); border: 1px solid var(--border);
  border-radius: 18px; box-shadow: var(--shadow); backdrop-filter: blur(8px);
}
.feature { padding: 26px 16px; text-align: center; position: relative; transition: background .2s; color: var(--text); }
.feature:hover { background: rgba(212, 175, 55, 0.05); }
.feature + .feature::before { content: ''; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: linear-gradient(transparent, var(--border), transparent); }
.feature svg { color: var(--gold); margin-bottom: 10px; filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.35)); }
.feature b { display: block; font-size: 14px; letter-spacing: 1.2px; }
.feature small { color: var(--muted); font-size: 12.5px; }
.home-section { padding: 0 40px; }

.barber-card { display: flex; align-items: center; gap: 14px; padding: 16px; cursor: pointer; }
.barber-card .info { flex: 1; min-width: 0; }
.barber-card .info b { display: block; font-size: 14.5px; line-height: 1.25; }
.barber-card .avatar { width: 62px; height: 62px; }
.barber-card .info small { color: var(--muted); font-size: 12.5px; }
.stars { display: inline-flex; gap: 2px; color: var(--gold); }
.stars .off { color: rgba(255, 255, 255, 0.15); }
.stars.input button { background: none; border: 0; padding: 2px; color: inherit; }

.service-card { display: flex; flex-direction: column; gap: 10px; }
.service-card .price { font-size: 22px; font-weight: 800; }
.service-icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: rgba(212, 175, 55, 0.1); color: var(--gold); border: 1px solid var(--border); }

/* ============================ WIZARD ============================ */
.steps { display: flex; align-items: center; gap: 6px; margin-bottom: 26px; overflow-x: auto; padding-bottom: 4px; }
.step { display: flex; align-items: center; gap: 10px; color: var(--muted); font-weight: 600; font-size: 13px; white-space: nowrap; }
.step .n { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid rgba(255, 255, 255, 0.15); font-weight: 800; }
.step.active { color: var(--text); }
.step.active .n { background: var(--gold-grad); color: #1b1404; border-color: transparent; box-shadow: 0 0 18px rgba(212, 175, 55, 0.45); }
.step.done .n { border-color: var(--gold); color: var(--gold); }
.step-line { flex: 1; min-width: 20px; height: 1px; background: var(--border); }
.select-card {
  border: 1.5px solid rgba(255, 255, 255, 0.08); border-radius: 14px; padding: 16px; background: rgba(4, 12, 30, 0.4);
  cursor: pointer; transition: .15s; text-align: left; color: var(--text); width: 100%;
}
.select-card:hover { border-color: rgba(212, 175, 55, 0.5); }
.select-card.active { border-color: var(--gold); background: rgba(212, 175, 55, 0.09); box-shadow: var(--glow); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 10px; }
.days { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; }
.day {
  min-width: 70px; padding: 10px 8px; border-radius: 14px; text-align: center; border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(4, 12, 30, 0.45); color: var(--text); flex-shrink: 0;
}
.day b { display: block; font-size: 20px; }
.day small { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.day.active { background: var(--gold-grad); color: #1b1404; border-color: transparent; }
.day.active small { color: #3b2d07; }
.day:disabled { opacity: .3; cursor: not-allowed; }
.summary { border: 1px solid var(--border); border-radius: 14px; padding: 16px; background: rgba(212, 175, 55, 0.04); }
.summary .line { display: flex; justify-content: space-between; padding: 6px 0; gap: 12px; }
.summary .total { border-top: 1px dashed var(--border); margin-top: 6px; padding-top: 10px; font-size: 18px; font-weight: 800; }

/* ============================ MODAL ============================ */
.modal-bg { position: fixed; inset: 0; background: rgba(2, 6, 16, 0.72); backdrop-filter: blur(4px); z-index: 100; display: grid; place-items: center; padding: 16px; animation: fade .15s; }
.modal {
  width: 100%; max-width: 560px; max-height: calc(100vh - 32px); overflow: auto; background: linear-gradient(180deg, #11244f, #0a1733);
  border: 1px solid var(--border); border-radius: 20px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); animation: pop .18s ease-out;
}
.modal.lg { max-width: 860px; }
.modal-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; border-bottom: 1px solid var(--border-soft); position: sticky; top: 0; background: #11244f; z-index: 1; }
.modal-head h3 { margin: 0; font-size: 18px; display: flex; gap: 10px; align-items: center; }
.modal-head h3 svg { color: var(--gold); }
.modal-body { padding: 22px; }
.modal-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 16px 22px; border-top: 1px solid var(--border-soft); flex-wrap: wrap; }

/* ============================ TOAST ============================ */
.toasts { position: fixed; right: 20px; bottom: 20px; z-index: 200; display: flex; flex-direction: column; gap: 10px; max-width: calc(100vw - 40px); }
.toast {
  display: flex; align-items: center; gap: 10px; padding: 13px 14px; border-radius: 14px; min-width: 260px; max-width: 420px;
  background: #0f2046; border: 1px solid var(--border); box-shadow: var(--shadow); animation: slide .2s ease-out; font-size: 14px;
}
.toast span { flex: 1; }
.toast button { background: none; border: 0; color: var(--muted); }
.toast-ok svg:first-child { color: var(--success); }
.toast-error { border-color: rgba(255, 107, 107, 0.5); }
.toast-error svg:first-child { color: var(--danger); }
.toast-info svg:first-child { color: var(--gold); }

/* ============================ MISC ============================ */
.empty { text-align: center; padding: 46px 20px; color: var(--muted); }
.empty svg { color: var(--gold); opacity: .7; margin-bottom: 10px; }
.empty b { display: block; color: var(--text); font-size: 16px; margin-bottom: 4px; }
.spinner { width: 34px; height: 34px; border-radius: 50%; border: 3px solid rgba(212, 175, 55, 0.2); border-top-color: var(--gold); animation: spin .8s linear infinite; }
.loader-page { min-height: 60vh; display: grid; place-items: center; }
.divider { height: 1px; background: var(--border-soft); margin: 18px 0; }
.qr-box { background: #fff; border-radius: 14px; padding: 12px; width: 220px; margin: 0 auto; }
.alert { padding: 13px 16px; border-radius: 12px; border: 1px solid var(--border); background: rgba(212, 175, 55, 0.06); font-size: 13.5px; display: flex; gap: 10px; align-items: flex-start; }
.alert svg { color: var(--gold); flex-shrink: 0; margin-top: 1px; }
.alert.danger { border-color: rgba(255, 107, 107, 0.4); background: rgba(255, 107, 107, 0.07); }
.alert.danger svg { color: var(--danger); }

.cita-card { display: flex; gap: 16px; align-items: center; padding: 16px; border-radius: 14px; border: 1px solid var(--border-soft); background: rgba(4, 12, 30, 0.35); }
.cita-hora { min-width: 78px; text-align: center; padding: 10px 6px; border-radius: 12px; background: rgba(212, 175, 55, 0.08); border: 1px solid var(--border); }
.cita-hora b { display: block; font-size: 17px; color: var(--gold-light); }
.cita-hora small { color: var(--muted); font-size: 11px; }

.seat {
  border-radius: 18px; padding: 18px; text-align: center; border: 1.5px solid; position: relative; min-height: 170px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
}
.seat.disponible { border-color: rgba(60, 207, 142, 0.45); background: rgba(60, 207, 142, 0.06); }
.seat.ocupado { border-color: rgba(255, 107, 107, 0.5); background: rgba(255, 107, 107, 0.07); }
.seat.mantenimiento { border-color: rgba(242, 181, 68, 0.5); background: rgba(242, 181, 68, 0.06); }
.seat .num { font-family: var(--font-display); font-size: 34px; font-weight: 700; color: var(--gold-light); line-height: 1; }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.gallery figure { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--border); background: #000; position: relative; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.gallery figcaption { padding: 8px 10px; font-size: 12.5px; background: rgba(6, 16, 36, 0.9); }

.auth-page { min-height: 100vh; display: grid; grid-template-columns: 1.1fr 1fr; }
.auth-side { position: relative; background: #050b18 url('../../img/hero.jpg') center / cover; display: flex; align-items: flex-end; padding: 50px; }
.auth-side::before { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6, 16, 36, 0.95), rgba(6, 16, 36, 0.25)); }
.auth-side > * { position: relative; }
.auth-form { display: flex; align-items: center; justify-content: center; padding: 40px 24px; }
.auth-box { width: 100%; max-width: 420px; }
.auth-box .logo { width: 210px; margin: 0 auto 26px; }

.turnos-page { min-height: 100vh; padding: 40px; display: flex; flex-direction: column; align-items: center; gap: 30px; }
.turno-actual { text-align: center; padding: 50px 70px; border-radius: 28px; border: 2px solid var(--gold); box-shadow: 0 0 60px rgba(212, 175, 55, 0.25); background: rgba(10, 24, 54, 0.8); }
.turno-actual h2 { font-size: clamp(36px, 6vw, 72px); margin: 10px 0; }
.blink { animation: blink 1s ease-in-out 4; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pop { from { opacity: 0; transform: scale(.96) translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes slide { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: none; } }
@keyframes blink { 50% { box-shadow: 0 0 120px rgba(212, 175, 55, 0.7); } }

/* ============================ RESPONSIVE ============================ */
@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .sidebar { transform: translateX(-100%); transition: transform .25s; }
  .sidebar.open { transform: none; box-shadow: var(--shadow); }
  .main { margin-left: 0; }
  .topbar { justify-content: space-between; padding: 0 16px; height: 64px; }
  .topbar .mobile-brand { display: flex; align-items: center; }
  .topbar .mobile-brand img { height: 40px; }
  .topbar .menu-btn { display: grid; }
  .topbar .user-chip .who { display: none; }
  .content { padding: 18px 16px 100px; }
  .content.full { padding: 0 0 100px; }
  .bottom-nav {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 30; height: 68px;
    background: rgba(6, 16, 36, 0.96); border-top: 1px solid var(--border); backdrop-filter: blur(12px);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .bottom-nav a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--muted); font-size: 10.5px; font-weight: 600; }
  .bottom-nav a svg { color: var(--muted); }
  .bottom-nav a.active { color: var(--gold); }
  .bottom-nav a.active svg { color: var(--gold); filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.5)); }
  .hero { min-height: 300px; background-position: 70% center; }
  .hero::before { background: linear-gradient(90deg, rgba(6, 16, 36, 0.95), rgba(6, 16, 36, 0.55)), linear-gradient(0deg, rgba(6, 16, 36, 0.9), transparent 40%); }
  .hero-inner { padding: 30px 18px 76px; }
  .cta-pill { min-width: 0; width: 100%; }
  .features { margin: -48px 16px 0; grid-template-columns: repeat(4, 1fr); }
  .feature { padding: 16px 4px; }
  .feature svg { width: 24px; height: 24px; margin-bottom: 4px; }
  .feature b { font-size: 10.5px; letter-spacing: .4px; }
  .feature small { font-size: 9.5px; }
  .home-section { padding: 0 16px; }
  .auth-page { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .notif-panel { width: calc(100vw - 32px); position: fixed; left: 16px; right: 16px; top: 70px; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
  .grid-4.keep-2, .grid-2.keep-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .page-head h1 { font-size: 23px; }
  .stat-value { font-size: 21px; }
  .card { padding: 16px; }
  .cita-card { flex-wrap: wrap; }
  .modal-body { padding: 16px; }
  .turno-actual { padding: 30px 24px; }
}
@media print {
  .sidebar, .topbar, .bottom-nav, .no-print { display: none !important; }
  .main { margin: 0; }
  body { background: #fff; color: #000; }
  .card { background: #fff; border-color: #ccc; box-shadow: none; }
  .table th { color: #000; }
}

.grid-side { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
@media (max-width: 1000px) { .grid-side { grid-template-columns: minmax(0, 1fr); } }
.ticket { background: #fff; color: #111; border-radius: 12px; padding: 20px; font-family: 'Courier New', monospace; font-size: 13px; }
.ticket .line { display: flex; justify-content: space-between; gap: 10px; }
.ticket hr { border: 0; border-top: 1px dashed #999; margin: 10px 0; }

.sidebar.compact .sidebar-foot img { display: none; }
@media (max-height: 820px) { .sidebar-foot img { display: none; } }

/* ===== Fotos del corte / recibo ===== */
.upload-foto { flex-direction: column; text-align: center; justify-content: center; min-height: 170px; }
.upload-foto img { width: 100%; height: 150px; object-fit: cover; }
.recibo { max-width: 560px; margin: 0 auto; }
.recibo-head { text-align: center; padding-bottom: 16px; border-bottom: 1px dashed var(--border); margin-bottom: 16px; }
.recibo-head img { width: 170px; margin: 0 auto 8px; }
.recibo-code { font-family: var(--font-display); font-size: 26px; letter-spacing: 3px; }
.fotos-corte { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fotos-corte figure { margin: 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); position: relative; }
.fotos-corte img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.fotos-corte figcaption { position: absolute; left: 8px; top: 8px; }
.serv-toggle { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
@media print {
  .recibo .no-print, .toasts, .demo-bar { display: none !important; }
  .recibo { color: #000; }
}

/* ===== Perfil público del barbero ===== */
.barbero-perfil { display: flex; flex-direction: column; gap: 18px; }
.horario-semana { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.horario-dia {
  text-align: center; padding: 8px 4px; border-radius: 10px; border: 1px solid var(--border-soft);
  background: rgba(4, 12, 30, 0.45); font-size: 12px; line-height: 1.35; font-variant-numeric: tabular-nums;
}
.horario-dia b { display: block; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--gold); margin-bottom: 2px; }
.horario-dia.off { opacity: .5; }
.horario-dia.hoy { border-color: var(--gold); background: rgba(212, 175, 55, 0.1); box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.25); }
@media (max-width: 480px) { .horario-dia { font-size: 10.5px; padding: 6px 2px; } }
.barbero-perfil .badge { white-space: normal; }
@media (max-width: 640px) { .barbero-perfil .avatar.xl { width: 84px; height: 84px; font-size: 26px; } .barbero-perfil h2 { font-size: 19px !important; } }

/* ===== Kiosko de Auto Reserva (tablet en la barbería) ===== */
.kiosko { min-height: 100vh; padding: 20px clamp(16px, 3vw, 40px) 30px; display: flex; flex-direction: column; gap: 20px; font-size: 16px; }
.kiosko-head { display: grid; grid-template-columns: 200px 1fr 200px; align-items: center; gap: 16px; }
.kiosko-head img { width: 180px; }
.kiosko-head h1 { margin: 0; font-size: clamp(30px, 4vw, 44px); }
.kiosko-reloj { display: flex; justify-content: flex-end; align-items: center; gap: 8px; }
.kiosko-reloj b { font-family: var(--font-display); font-size: 34px; color: var(--gold-light); white-space: nowrap; }
.kiosko-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.kiosko-barbero { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 16px; border: 1.5px solid var(--border-soft); background: rgba(10, 24, 54, 0.7); }
.kiosko-barbero b { display: block; font-size: 16px; }
.dot-estado { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--muted); margin-right: 4px; }
.kiosko-barbero.libre { border-color: rgba(60, 207, 142, 0.6); }
.kiosko-barbero.libre .dot-estado { background: var(--success); box-shadow: 0 0 8px var(--success); }
.kiosko-barbero.libre .small { color: #8ff0c3; font-weight: 700; }
.kiosko-barbero.pronto { border-color: rgba(212, 175, 55, 0.5); }
.kiosko-barbero.pronto .dot-estado { background: var(--gold); }
.kiosko-barbero.lleno .dot-estado { background: var(--danger); }
.kiosko-barbero.off { opacity: .5; }
.kiosko-main .select-card { padding: 20px; font-size: 16px; }
.kiosko-main .chip { padding: 16px; font-size: 17px; }
.kiosko-main .btn { padding: 15px 26px; font-size: 16px; }
.kiosko-main .input { padding: 16px; font-size: 18px; }
.kiosko-foot { text-align: center; }
.kiosko-ok { padding: 40px 20px; }
@media (max-width: 760px) { .kiosko-head { grid-template-columns: 1fr; text-align: center; } .kiosko-head img { margin: 0 auto; } .kiosko-reloj { justify-content: center; } }

/* ===== Tabla de la Auto Reserva (columnas = barberos, filas = horarios) ===== */
.tabla-kiosko-wrap { overflow: auto; max-height: calc(100vh - 230px); border-radius: 18px; border: 1px solid var(--border); background: rgba(6, 16, 36, 0.6); }
.tabla-kiosko { border-collapse: separate; border-spacing: 0; width: 100%; min-width: max-content; }
.tabla-kiosko th, .tabla-kiosko td { padding: 6px; text-align: center; border-bottom: 1px solid var(--border-soft); }
.tabla-kiosko thead th { position: sticky; top: 0; z-index: 2; background: #0c1b3d; border-bottom: 1px solid var(--border); padding: 14px 8px; min-width: 170px; }
.tabla-kiosko .col-hora { position: sticky; left: 0; z-index: 1; background: #0a1733; min-width: 96px; font-weight: 800; color: var(--gold-light); font-variant-numeric: tabular-nums; font-size: 17px; }
.tabla-kiosko thead .col-hora { z-index: 3; color: var(--gold); }
.th-barbero { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.th-barbero b { font-size: 16px; }
.th-barbero small { color: var(--muted); font-size: 12px; }
.celda { width: 100%; min-height: 50px; border-radius: 12px; display: grid; place-items: center; font-weight: 700; font-size: 15px; border: 1px solid transparent; }
.celda.libre { background: rgba(60, 207, 142, 0.14); border-color: rgba(60, 207, 142, 0.5); color: #8ff0c3; cursor: pointer; font-family: inherit; transition: transform .1s, background .15s; }
.celda.libre:hover, .celda.libre:focus-visible { background: rgba(60, 207, 142, 0.28); transform: scale(1.02); outline: none; }
.celda.ocupado { background: rgba(255, 107, 107, 0.1); border-color: rgba(255, 107, 107, 0.3); color: #ffb3b3; }
.celda.off { background: repeating-linear-gradient(45deg, rgba(255,255,255,.03) 0 8px, transparent 8px 16px); }
.celda.pasado, .celda.corto { color: var(--muted); }
.libre-txt { color: #8ff0c3; }
.leyenda { display: inline-block; width: 12px; height: 12px; border-radius: 4px; vertical-align: -1px; margin: 0 4px 0 10px; border: 1px solid; }
.leyenda.libre { background: rgba(60, 207, 142, 0.3); border-color: #3ccf8e; }
.leyenda.ocupado { background: rgba(255, 107, 107, 0.2); border-color: #ff6b6b; }
.leyenda.off { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.2); }
.kiosko-modal .select-card { padding: 14px 16px; }
.kiosko-modal .input { padding: 15px 15px 15px 44px; font-size: 17px; }

/* ===== Sugerencias de nombres ===== */
.nombre-input { position: relative; }
.sugerencias {
  position: absolute; z-index: 120; left: 0; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none;
  background: var(--panel-solid); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow); max-height: 300px; overflow: auto;
}
.sugerencias button {
  width: 100%; display: flex; align-items: center; gap: 10px; padding: 12px 12px; border: 0; border-radius: 10px;
  background: none; color: var(--text); font-size: 15px; text-align: left;
}
.sugerencias button svg { color: var(--gold); flex-shrink: 0; }
.sugerencias button span { flex: 1; }
.sugerencias button small { color: var(--muted); font-size: 11.5px; }
.sugerencias button:hover, .sugerencias button.activo { background: rgba(212, 175, 55, 0.12); }

/* ===== Caja ===== */
.caja-card { display: flex; flex-direction: column; gap: 12px; border-left: 4px solid var(--border); }
.caja-card.por_verificar { border-left-color: var(--warning); }
.caja-card.observada { border-left-color: var(--danger); }
.caja-card.pagada { border-left-color: var(--success); }
.mini-foto { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; border: 1px solid var(--border); }

/* ===== Footer público · estética de mar nocturno ===== */
.footer {
  position: relative; overflow: hidden; margin-top: 90px; isolation: isolate;
  color: #c9d6e8;
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(64, 160, 200, 0.18), transparent 70%),
    linear-gradient(180deg, #0b2a4a 0%, #08203b 22%, #061630 55%, #030b1c 100%);
}

/* olas superiores */
.mar-olas { position: absolute; top: -1px; left: 0; right: 0; height: 110px; pointer-events: none; z-index: 1; overflow: hidden; }
.ola { position: absolute; top: 0; left: 0; width: 200%; }
.ola-3 { height: 100%; animation: ola-mover 48s linear infinite; }
.ola-3 path { fill: rgba(90, 170, 210, 0.10); }
.ola-2 { height: 82%; animation: ola-mover 34s linear infinite reverse; }
.ola-2 path { fill: rgba(70, 140, 190, 0.16); }
.ola-1 { height: 62%; animation: ola-mover 24s linear infinite; }
.ola-1 path { fill: var(--bg); }
@keyframes ola-mover { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ambiente */
.mar-fondo { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.mar-luz {
  position: absolute; top: 40px; right: 4%; width: 380px; height: 200px;
  background: radial-gradient(ellipse at 50% 30%, rgba(240, 213, 138, 0.16), transparent 70%);
}
.mar-reflejo {
  position: absolute; top: 80px; right: calc(4% + 130px); width: 120px; height: 300px;
  background: repeating-linear-gradient(180deg, rgba(240, 213, 138, 0.28) 0 2px, transparent 2px 13px);
  -webkit-mask-image: radial-gradient(ellipse 50% 100% at 50% 0%, #000 15%, transparent 72%);
          mask-image: radial-gradient(ellipse 50% 100% at 50% 0%, #000 15%, transparent 72%);
  animation: reflejo 6s ease-in-out infinite;
}
@keyframes reflejo { 0%, 100% { transform: scaleX(1); opacity: 0.85; } 50% { transform: scaleX(1.2); opacity: 0.5; } }
.mar-rayos {
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg, transparent 20%, rgba(120, 200, 230, 0.05) 24%, transparent 30%),
    linear-gradient(98deg, transparent 45%, rgba(120, 200, 230, 0.04) 50%, transparent 56%),
    linear-gradient(110deg, transparent 62%, rgba(120, 200, 230, 0.035) 66%, transparent 72%);
}
.burbuja {
  position: absolute; bottom: -20px; border-radius: 50%;
  border: 1px solid rgba(170, 225, 245, 0.35);
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.35), rgba(170, 225, 245, 0.05) 60%);
  animation: burbuja-subir linear infinite; opacity: 0;
}
@keyframes burbuja-subir {
  0% { transform: translate(0, 0); opacity: 0; }
  10% { opacity: 0.8; }
  50% { transform: translate(12px, -45vh); }
  90% { opacity: 0.5; }
  100% { transform: translate(-6px, -90vh); opacity: 0; }
}
.b1 { left: 4%;  width: 8px;  height: 8px;  animation-duration: 14s; animation-delay: 0s; }
.b2 { left: 12%; width: 5px;  height: 5px;  animation-duration: 11s; animation-delay: 3s; }
.b3 { left: 21%; width: 11px; height: 11px; animation-duration: 18s; animation-delay: 6s; }
.b4 { left: 30%; width: 6px;  height: 6px;  animation-duration: 13s; animation-delay: 1s; }
.b5 { left: 41%; width: 9px;  height: 9px;  animation-duration: 16s; animation-delay: 8s; }
.b6 { left: 52%; width: 4px;  height: 4px;  animation-duration: 10s; animation-delay: 4s; }
.b7 { left: 60%; width: 7px;  height: 7px;  animation-duration: 15s; animation-delay: 2s; }
.b8 { left: 68%; width: 12px; height: 12px; animation-duration: 20s; animation-delay: 9s; }
.b9 { left: 77%; width: 5px;  height: 5px;  animation-duration: 12s; animation-delay: 5s; }
.b10 { left: 85%; width: 8px; height: 8px;  animation-duration: 17s; animation-delay: 7s; }
.b11 { left: 92%; width: 6px; height: 6px;  animation-duration: 13s; animation-delay: 10s; }
.b12 { left: 97%; width: 4px; height: 4px;  animation-duration: 11s; animation-delay: 12s; }

/* contenido */
.footer-contenido { position: relative; z-index: 2; padding-top: 100px; }
.footer-lema { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 0 clamp(16px, 3vw, 40px) 30px; color: var(--gold); }
.footer-lema .espejo { transform: scaleX(-1); }
.footer-lema-texto { font-family: var(--font-display, Georgia, serif); letter-spacing: 6px; font-size: 13px; color: #e8d9a8; white-space: nowrap; }
.footer-lema-linea { flex: 1; max-width: 220px; height: 1px; background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.6), transparent); }

.footer-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 28px; padding: 10px clamp(16px, 3vw, 40px) 40px; max-width: 1240px; margin: 0 auto; align-items: stretch; }
.footer-col { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.footer-col h4 { margin: 4px 0 0; font-size: 12px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold); font-weight: 700; }

.footer-marca .footer-logo { width: 190px; max-width: 70%; filter: drop-shadow(0 6px 22px rgba(0, 0, 0, 0.5)); }
.footer-slogan { margin: 0; font-style: italic; color: #9fb6d1; }
.footer-redes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.red-cristal {
  display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 14px;
  color: #e6eef9; font-weight: 600; font-size: 14px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(150, 210, 235, 0.16);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: transform .2s, border-color .2s, background .2s, box-shadow .2s;
}
.red-cristal svg { color: var(--gold); }
.red-cristal:hover { transform: translateY(-2px); border-color: rgba(212, 175, 55, 0.55); background: rgba(212, 175, 55, 0.08); box-shadow: 0 8px 24px rgba(0, 20, 50, 0.5); }

.cristal {
  height: 100%; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px;
  padding: 26px 22px; border-radius: 22px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(150, 210, 235, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 20px 50px rgba(0, 8, 24, 0.45);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.ubic-pin { position: relative; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; color: #0a1a33; background: linear-gradient(145deg, #f3dc94, #c99a2e); box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35); }
.ubic-pin svg { position: relative; z-index: 1; }
.ubic-pin .onda { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(212, 175, 55, 0.6); animation: onda 3.2s ease-out infinite; }
.ubic-pin .onda.d2 { animation-delay: 1.6s; }
@keyframes onda { from { transform: scale(1); opacity: 0.8; } to { transform: scale(2.2); opacity: 0; } }
.ubic-dir { margin: 0; color: #eef3fa; font-size: 15px; }

.hydra { border-color: rgba(200, 60, 60, 0.28); }
.hydra-logo { width: 96px; filter: drop-shadow(0 8px 20px rgba(200, 40, 40, 0.35)); }
.hydra-nombre { font-family: var(--font-display, Georgia, serif); letter-spacing: 3px; color: var(--gold); font-size: 17px; }
.hydra p { color: #b8c8dc; }
.hydra-btn { background: rgba(200, 50, 50, 0.12); border: 1px solid rgba(220, 80, 80, 0.45); color: #ffe1c2; }
.hydra-btn:hover { background: rgba(200, 50, 50, 0.25); }

.footer-bottom {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 18px clamp(16px, 3vw, 40px); font-size: 13px; color: #7f95b3;
  border-top: 1px solid rgba(150, 210, 235, 0.1); background: rgba(0, 0, 0, 0.18);
}
.footer-bottom a { color: var(--gold-light, #f0d58a); }

/* rendimiento: animaciones en pausa fuera de pantalla */
.footer.quieto *, .footer.quieto *::before, .footer.quieto *::after { animation-play-state: paused !important; }
/* celulares y tablets: sin desenfoque (es lo más pesado) y menos burbujas */
@media (max-width: 900px), (pointer: coarse) {
  .red-cristal, .cristal { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .red-cristal { background: rgba(14, 38, 72, 0.72); }
  .cristal { background: linear-gradient(160deg, rgba(20, 48, 88, 0.85), rgba(10, 28, 56, 0.85)); }
  .b2, .b4, .b6, .b8, .b10, .b12 { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ola, .burbuja, .mar-reflejo, .ubic-pin .onda { animation: none; }
  .burbuja { display: none; }
}
@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > .footer-col:last-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .footer { margin-top: 60px; }
  .mar-olas { height: 60px; }
  .footer-contenido { padding-top: 90px; }
  .mar-luz { right: 50%; transform: translateX(50%); width: 300px; }
  .mar-reflejo { right: calc(50% - 60px); top: 60px; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .footer-lema { gap: 8px; }
  .footer-lema-texto { letter-spacing: 3px; font-size: 11px; }
  .footer-marca { align-items: center; text-align: center; }
  .footer-redes { width: 100%; }
}

/* espacio para la barra inferior fija en móvil */
@media (max-width: 900px) {
  .footer-bottom { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
}

/* Cierre de mes */
.cierre-pasos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cierre-paso { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--border); background: rgba(255, 255, 255, 0.02); }
.cierre-paso.ok { border-color: rgba(60, 190, 120, 0.5); }
.cierre-paso.off { opacity: 0.55; }
@media (max-width: 640px) { .cierre-pasos { grid-template-columns: 1fr; } }

/* Medidor de espacio (Dashboard) */
.medidor { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--border); background: rgba(255, 255, 255, 0.02); }
.medidor-barra { height: 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.medidor-barra span { display: block; height: 100%; border-radius: inherit; transition: width .6s ease; }
.medidor-barra .verde { background: linear-gradient(90deg, #2fbf71, #6fe0a0); }
.medidor-barra .ambar { background: linear-gradient(90deg, #d4af37, #f3d98b); }
.medidor-barra .rojo { background: linear-gradient(90deg, #d9534f, #ff8a80); }
.medidor-pct { font-weight: 800; font-size: 15px; }
.medidor-pct.verde { color: #6fe0a0; }
.medidor-pct.ambar { color: var(--gold-light); }
.medidor-pct.rojo { color: #ff8a80; }
.girando { animation: girar 1s linear infinite; }
@keyframes girar { to { transform: rotate(360deg); } }

/* Enlace personal del barbero */
.enlace-input { display: flex; align-items: stretch; }
.enlace-prefijo { display: grid; place-items: center; padding: 0 12px; border: 1px solid var(--border); border-right: 0; border-radius: 12px 0 0 12px; background: rgba(212, 175, 55, 0.08); color: var(--gold); font-weight: 700; }
.enlace-input .input { border-radius: 0 12px 12px 0; }
.enlace-box { display: flex; flex-direction: column; gap: 12px; padding: 14px; border-radius: 14px; border: 1px solid rgba(212, 175, 55, 0.35); background: rgba(212, 175, 55, 0.05); }
.enlace-url { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 14px; color: var(--gold-light); word-break: break-all; }
.enlace-qr { display: flex; gap: 14px; align-items: center; }
.enlace-qr img { width: 120px; height: 120px; border-radius: 10px; background: #fff; padding: 6px; flex-shrink: 0; }
.barbero-hero { display: flex; gap: 22px; align-items: flex-start; flex-wrap: wrap; }
.barbero-hero-horario { flex-basis: 100%; }
.barbero-galeria { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.barbero-galeria img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; border: 1px solid var(--border); }
@media (max-width: 760px) { .barbero-galeria { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 480px) { .barbero-hero { flex-direction: column; align-items: center; text-align: center; } .barbero-hero .row { justify-content: center; } }

/* Opciones de adelanto */
.adelanto-fila { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 6px 8px; align-items: center; padding-bottom: 8px; border-bottom: 1px solid var(--border-soft); }
.adelanto-valor { display: flex; align-items: center; gap: 6px; }
.adelanto-valor .input { min-width: 0; }
.adelanto-ej { grid-column: 1 / -1; order: 5; }
.adelanto-opciones { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; }

/* Aviso de no asistencia (antes de generar el recibo) */
.aviso-adelanto { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(255, 170, 60, 0.55); background: rgba(255, 170, 60, 0.09); color: #ffe2b8; font-size: 14px; }
.aviso-adelanto > svg { color: #ffb347; flex-shrink: 0; margin-top: 2px; }
.aviso-adelanto b { color: #ffd08a; }

/* ============================ AJUSTES RESPONSIVOS ============================ */
/* nada puede ensanchar la página más que la pantalla */
.main, .content, .page-head > *, .card, .stack > *, .grid > * { min-width: 0; }
.tabs { max-width: 100%; }
.stat > div:last-child { min-width: 0; }
.stat-label, .stat-sub, .card-title, .page-head h1, .page-head p { overflow-wrap: anywhere; }
.card-title { flex-wrap: wrap; row-gap: 4px; }
/* navegación de fecha: [<]  fecha  [>] siempre en una sola fila */
.fecha-nav { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; }
.fecha-nav-centro { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }

@media (max-width: 640px) {
  /* tarjetas de números: ícono arriba, título y valor completos */
  .stat { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; }
  .stat-icon { width: 38px; height: 38px; border-radius: 11px; }
  .stat-icon svg { width: 19px; height: 19px; }
  .stat-label { font-size: 10.5px; letter-spacing: .6px; line-height: 1.3; }
  .stat-value { font-size: clamp(17px, 5.4vw, 22px); white-space: nowrap; }
  .stat-sub { font-size: 11px; line-height: 1.35; }
  /* tablas: cada dato en una línea; la tabla se desliza de lado */
  .table th, .table td { white-space: nowrap; padding: 10px 12px; }
  .table-wrap { -webkit-overflow-scrolling: touch; }
  /* encabezados de página */
  .page-head { align-items: stretch; gap: 12px; margin-bottom: 18px; }
  .page-head h1 { font-size: 22px; line-height: 1.2; }
  .page-head p { font-size: 13.5px; }
  .tabs { width: 100%; }
  .tab { padding: 8px 12px; font-size: 13px; }
  .card-title { font-size: 16px; }
  .modal-head h3, .modal-title { font-size: 17px; line-height: 1.25; }
}
@media (max-width: 380px) {
  .stat-value { font-size: 16.5px; }
  .content { padding-left: 12px; padding-right: 12px; }
}

/* ===== Barra superior del panel: acciones siempre a la derecha, en una sola fila ===== */
.topbar-acciones { display: flex; align-items: center; gap: 6px; flex-wrap: nowrap; margin-left: auto; flex-shrink: 0; }
.solo-movil { display: none !important; }
.user-dropdown { min-width: 260px; }
.user-dropdown-head { display: flex; align-items: center; gap: 10px; padding: 8px 10px 12px; margin-bottom: 4px; border-bottom: 1px solid var(--border-soft); }
.user-correo { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 190px; }
.dropdown-sep { height: 1px; background: var(--border-soft); margin: 6px 4px; }
.dropdown .dropdown-salir { color: #ff9b9b; }
.dropdown .dropdown-salir svg { color: #ff9b9b; }
@media (max-width: 900px) {
  .topbar { gap: 10px; }
  .topbar .mobile-brand { flex: 1; min-width: 0; justify-content: center; }
  .topbar .mobile-brand img { height: 36px; }
  .solo-escritorio { display: none !important; }
  .solo-movil { display: flex !important; }
  .topbar .user-chip { padding: 4px; gap: 4px; }
  /* el menú del usuario se abre pegado al borde derecho, sin salirse de la pantalla */
  .user-dropdown { position: fixed; top: 70px; right: 12px; left: auto; width: min(290px, calc(100vw - 24px)); min-width: 0; }
}

/* ===== PHP: utilidades ===== */
[hidden] { display: none !important; }

/* ===== PHP: panel ===== */
.grafico .g-barra:hover path { fill: #f3d98b; }
.barras-h { display: flex; flex-direction: column; gap: 12px; }
.barra-h-fondo { height: 10px; border-radius: 4px; background: rgba(255,255,255,.06); margin-top: 6px; overflow: hidden; }
.barra-h-fondo span { display: block; height: 100%; border-radius: 4px; background: #d4af37; }
.tip-flotante { position: fixed; z-index: 300; pointer-events: none; background: #0f2046; border: 1px solid rgba(212,175,55,.35); color: #f3efe4; border-radius: 10px; padding: 6px 10px; font-size: 12.5px; font-weight: 600; box-shadow: 0 8px 24px rgba(0,0,0,.4); white-space: nowrap; }
.nueva-cita-modal .modal { max-width: 980px; }
.desplegable .dot { position: absolute; top: 2px; right: 2px; }
.cita-card .acciones-cita { flex-basis: 100%; }
@media (min-width: 900px) { .cita-card .acciones-cita { flex-basis: auto; } }
@keyframes vivo { from { opacity: .55; } to { opacity: 1; } }
main.content.vivo-flash { animation: vivo .35s ease-out; }

/* Kiosko: nombre de quien ocupa el horario y días */
.celda.ocupado span { display: flex; flex-direction: column; align-items: center; line-height: 1.15; }
.celda.ocupado small { font-size: 12.5px; font-weight: 600; color: #f3efe4; opacity: .9; margin-top: 2px; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kiosko-dias { margin: 0 auto; width: 100%; padding: 4px 0 8px; }
.kiosko-dias .day { min-width: 78px; }
/* centrado que no corta los días cuando la pantalla es angosta (sigue deslizándose) */
.kiosko-dias > .day:first-child { margin-left: auto; }
.kiosko-dias > .day:last-child { margin-right: auto; }

/* Kiosko: botón "Otra fecha" + calendario mensual */
.kiosko-dias .day-cal { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border-style: dashed; border-color: rgba(212, 175, 55, 0.45); }
.kiosko-dias .day-cal span { color: var(--gold); display: flex; }
.kiosko-dias .day-cal.active span { color: inherit; }
.kiosko-dias .day-cal.active { border-style: solid; }
.kiosko-dias .day-cal svg { vertical-align: -1px; }
.calendario .cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.calendario .cal-head b { font-size: 18px; }
.calendario .cal-head .icon-btn:disabled { opacity: 0.25; cursor: default; }
.calendario .cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; text-align: center; }
.calendario .cal-grid small { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; padding-bottom: 4px; }
.cal-dia {
  aspect-ratio: 1; width: 100%; min-width: 0; padding: 0; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(4, 12, 30, 0.45); color: var(--text); font-size: 17px; font-weight: 600; cursor: pointer;
}
.cal-dia:hover:not(:disabled) { border-color: var(--gold); }
.cal-dia.hoy { border-color: rgba(212, 175, 55, 0.6); }
.cal-dia.active { background: var(--gold-grad); color: #1b1404; border-color: transparent; }
.cal-dia:disabled { opacity: 0.22; cursor: default; background: transparent; }
@media (max-width: 480px) {
  .calendario .cal-grid { gap: 4px; }
  .cal-dia { font-size: 15px; border-radius: 10px; }
}

/* ===== Auto Reserva responsiva: TV / PC / tablet → tabla · celular → un barbero a la vez ===== */
.tabla-kiosko-wrap { max-height: none; }
.tabla-kiosko thead th { min-width: clamp(128px, 15vw, 260px); padding: clamp(10px, 1.2vw, 16px) 8px; }
.tabla-kiosko .col-hora { min-width: clamp(76px, 8vw, 120px); font-size: clamp(14px, 1.25vw, 19px); }
.tabla-kiosko .avatar.lg { width: clamp(46px, 5vw, 80px); height: clamp(46px, 5vw, 80px); font-size: clamp(15px, 1.5vw, 24px); }
.th-barbero b { font-size: clamp(14px, 1.2vw, 18px); line-height: 1.2; }
.tabla-kiosko td { padding: clamp(4px, .45vw, 8px); }
.celda { min-height: clamp(44px, 4.2vw, 60px); font-size: clamp(14px, 1.1vw, 17px); }
.celda.libre { display: flex; align-items: center; justify-content: center; }
/* pantallas altas (PC/TV): la tabla se desplaza por dentro y los nombres de barberos quedan fijos arriba */
@media (min-width: 900px) and (min-height: 640px) { .tabla-kiosko-wrap { max-height: calc(100vh - 290px); min-height: 260px; } }
/* TV grandes */
@media (min-width: 1800px) { .kiosko { font-size: 18px; } .kiosko-dias .day { min-width: 92px; padding: 12px 10px; } }
/* tablet */
@media (max-width: 1024px) {
  .kiosko-head { grid-template-columns: 150px 1fr 150px; }
  .kiosko-head img { width: 140px; }
  .kiosko-reloj b { font-size: 28px; }
}

.kiosko-movil { display: none; }
@media (max-width: 520px) { /* solo CELULARES: tablets (también en vertical) ven la tabla */
  .kiosko { gap: 14px; padding-top: 14px; }
  .kiosko-head { grid-template-columns: 1fr auto; text-align: left; gap: 6px 12px; }
  .kiosko-head img { width: 104px; margin: 0; }
  .kiosko-head .center { grid-column: 1 / -1; grid-row: 2; text-align: center; }
  .kiosko-head h1 { font-size: 28px; }
  .kiosko-reloj { justify-content: flex-end; }
  .kiosko-reloj b { font-size: 24px; }
  .kiosko-dias .day { min-width: 66px; padding: 8px 6px; }
  .tabla-kiosko-wrap { display: none; }
  .kiosko-movil { display: flex; flex-direction: column; gap: 12px; }
  .kiosko-foot { font-size: 12px; line-height: 1.8; }
}
.km-barberos { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.km-barbero {
  display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 14px; text-align: left; min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(4, 12, 30, 0.55); color: var(--text); font-family: inherit; cursor: pointer;
}
.km-barbero span { display: flex; flex-direction: column; min-width: 0; }
.km-barbero b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.km-barbero small { font-size: 11.5px; color: #8ff0c3; white-space: nowrap; }
.km-barbero.off small { color: var(--muted); }
.km-barbero.off { opacity: .6; }
.km-barbero.active { border-color: var(--gold); background: rgba(212, 175, 55, 0.14); box-shadow: 0 0 0 1px var(--gold) inset; }
.km-info { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 0 2px; }
.km-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.km-slots .celda { min-height: 64px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 2px; padding: 6px 4px; font-size: 13px; }
.km-slots .celda em { font-style: normal; font-weight: 800; font-size: 16px; color: var(--text); font-variant-numeric: tabular-nums; }
.km-slots .celda.libre em { color: #c8ffe6; }
.km-slots .celda.ocupado em { color: #ffd0d0; }
.km-slots .celda.ocupado small { max-width: 88px; }
.km-slots .celda.pasado, .km-slots .celda.corto { opacity: .5; }
@media (max-width: 400px) {
  .km-barberos { grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); }
  .km-barbero { flex-direction: column; text-align: center; gap: 4px; padding: 8px 6px; }
  .km-barbero span { align-items: center; max-width: 100%; }
}
/* pantallas bajas (laptop 768 px de alto, tablet horizontal): encabezados más compactos para ver más horarios */
@media (min-width: 521px) and (max-height: 820px) {
  .kiosko { gap: 14px; padding-top: 14px; }
  .kiosko-head img { width: 130px; }
  .tabla-kiosko .avatar.lg { width: 44px; height: 44px; font-size: 15px; }
  .tabla-kiosko thead th { padding: 8px; }
  .th-barbero { gap: 3px; }
  .tabla-kiosko-wrap { max-height: calc(100vh - 230px); }
}

/* Cámara web dentro del panel (foto del corte al finalizar) */
.camara-box { position: relative; background: #000; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; display: grid; place-items: center; }
.camara-box video { width: 100%; height: 100%; object-fit: cover; }
.camara-msg { position: absolute; inset: auto 16px 16px; text-align: center; background: rgba(6, 16, 36, .85); padding: 10px 12px; border-radius: 10px; }

/* Clientes frecuentes */
.podio { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 14px; align-items: end; }
.podio .card { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 18px 12px; }
.podio-1 { order: 2; border-color: rgba(212, 175, 55, .6); box-shadow: 0 0 0 1px rgba(212, 175, 55, .35) inset, var(--shadow); padding-top: 26px !important; }
.podio-2 { order: 1; } .podio-3 { order: 3; }
.podio-pos { color: var(--gold); font-weight: 800; font-size: 18px; }
.podio-pts { font-size: 26px; font-weight: 800; line-height: 1; }
.podio-pts small { font-size: 13px; color: var(--muted); -webkit-text-fill-color: var(--muted); }
.puntos-barra { height: 6px; border-radius: 4px; background: rgba(255, 255, 255, .08); margin-bottom: 4px; overflow: hidden; }
.puntos-barra span { display: block; height: 100%; background: var(--gold-grad); border-radius: 4px; }
@media (max-width: 640px) { .podio { grid-template-columns: 1fr; } .podio-1, .podio-2, .podio-3 { order: 0; } }

/* Promociones */
.promo-card h3 { font-size: 19px; }
.promo-datos { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; font-size: 13px; color: var(--muted); }
.promo-datos span { display: inline-flex; align-items: center; gap: 5px; }
.promo-servs { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; margin-bottom: 6px; }
.promo-serv { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--border-soft); background: rgba(4, 12, 30, .45); cursor: pointer; }
.promo-serv:has(input:checked) { border-color: var(--gold); background: rgba(212, 175, 55, .1); }
.promo-serv input { accent-color: var(--gold); width: 18px; height: 18px; }
.promo-serv span { display: flex; flex-direction: column; }
.promo-serv small { color: var(--muted); font-size: 12px; }
/* tarjeta de promo para reservar (web, auto reserva y panel) */
.promo-opcion { position: relative; border-color: rgba(212, 175, 55, .45) !important; background: linear-gradient(135deg, rgba(212, 175, 55, .12), rgba(4, 12, 30, .5)) !important; }
.promo-opcion.active { box-shadow: 0 0 0 2px var(--gold) inset; }
.promo-tag { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #1b1404; background: var(--gold-grad); padding: 3px 8px; border-radius: 999px; }
.promo-opcion s { color: var(--muted); font-size: 13px; }
.promo-vence { font-size: 12px; color: #f3d98b; }

/* "Otra fecha" (calendario) en la reserva web y en el panel */
.days .day-cal { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border-style: dashed; border-color: rgba(212, 175, 55, 0.45); }
.days .day-cal span { color: var(--gold); display: flex; }
.days .day-cal.active { border-style: solid; }
.days .day-cal.active span { color: inherit; }
/* Reserva web en celular: los 7 días + "Otra fecha" a la vista, sin deslizar */
@media (max-width: 640px) {
  #wizard .days { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; gap: 8px; }
  #wizard .days .day { min-width: 0; }
}

/* Cuenta del cliente */
.cuenta-box { max-width: 460px; margin: 10px auto 30px; }
.cuenta-ico { width: 64px; height: 64px; border-radius: 50%; display: inline-grid; place-items: center; color: var(--gold); border: 2px solid var(--gold); background: rgba(212, 175, 55, .08); }
.codigo-input { font-size: 28px; letter-spacing: 12px; text-align: center; font-weight: 800; padding: 14px; }
.separador { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; }
.separador::before, .separador::after { content: ''; flex: 1; height: 1px; background: var(--border-soft); }
.reserva-card .badge { flex-shrink: 0; }
.reserva-card.pasada { opacity: .75; }
.section-h { display: flex; align-items: center; gap: 8px; margin: 6px 0 12px; }
.cuenta-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text); padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border-soft); background: rgba(4,12,30,.4); }
.cuenta-chip:hover { border-color: var(--gold); }
@media (max-width: 640px) { .cuenta-chip span { display: none; } }
