/* ====== Base ====== */
:root {
  --bg: #050507;
  --card: rgba(17, 17, 26, 0.7);
  --muted: #8e909c;
  --text: #ffffff;
  --gold: #d6b25e;
  --gold-hover: #e5c37d;
  --gold-glow: rgba(214, 178, 94, 0.3);
  --danger: #ff4d4d;
  --line: rgba(255, 255, 255, 0.06);
  --nav-bg: rgba(5, 5, 7, 0.82);
  --glass: blur(12px);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family:
    "Inter",
    -apple-system,
    blinkmacsystemfont,
    "Segoe UI",
    roboto,
    helvetica,
    arial,
    sans-serif;
  background:
    radial-gradient(
      circle at 0% 0%,
      rgba(214, 178, 94, 0.15) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 100% 0%,
      rgba(255, 255, 255, 0.03) 0%,
      transparent 30%
    ),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

html {
  scroll-behavior: smooth;
}

.container {
  padding: 18px;
  padding-bottom: 92px;
  max-width: 980px;
  margin: 0 auto;
}

/* ====== Topbar ====== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  background: rgba(11, 11, 16, 0.75);
  border-bottom: 1px solid var(--line);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
}
.logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(214, 178, 94, 0.16);
  border: 1px solid rgba(214, 178, 94, 0.35);
  color: var(--gold);
  font-size: 22px;
}
.brand-title {
  font-weight: 900;
  letter-spacing: 0.4px;
}
.brand-sub {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.admin-link {
  text-decoration: none;
  color: var(--gold);
  font-weight: 700;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(214, 178, 94, 0.35);
  background: rgba(214, 178, 94, 0.08);
}

/* ====== Cards - Modern Glassmorphism ====== */
.card {
  background: linear-gradient(
    135deg,
    rgba(17, 17, 26, 0.85) 0%,
    rgba(12, 12, 18, 0.75) 100%
  );
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 28px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  margin: 24px 0;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

/* Subtle glow effect */
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(214, 178, 94, 0.3) 50%,
    transparent
  );
}

.card:hover {
  border-color: rgba(214, 178, 94, 0.25);
  transform: translateY(-4px);
  box-shadow:
    0 12px 48px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(214, 178, 94, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Card with success state */
.card.success {
  border-color: rgba(76, 175, 80, 0.3);
  background: linear-gradient(
    135deg,
    rgba(17, 26, 17, 0.85) 0%,
    rgba(12, 18, 12, 0.75) 100%
  );
}

.card.success::before {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(76, 175, 80, 0.4) 50%,
    transparent
  );
}

/* Mobile card adjustments */
@media (max-width: 640px) {
  .card {
    padding: 24px 20px;
    margin: 20px 0;
    border-radius: 18px;
  }
}

.h1 {
  font-size: 26px;
  font-weight: 900;
  margin: 12px 0 8px;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #fff, rgba(255, 255, 255, 0.85));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.h2 {
  font-size: 20px;
  font-weight: 800;
  margin: 10px 0 12px;
  letter-spacing: -0.3px;
  color: rgba(255, 255, 255, 0.95);
}

.h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 10px 0 14px;
  color: rgba(255, 255, 255, 0.9);
}

.muted {
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 16px;
  line-height: 1.6;
}

.hint {
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  margin-top: 8px;
  line-height: 1.5;
}

/* ====== Global Form Base ====== */
.field {
  margin-bottom: 20px;
}

label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

input[type="text"],
input[type="tel"],
input[type="date"],
input[type="password"],
input[type="email"],
select,
textarea {
  width: 100%;
  min-height: 54px;
  padding: 12px 18px;
  background: rgba(10, 10, 15, 0.6);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #fff;
  font-size: 16px; /* Previene zoom en iOS */
  font-family: inherit;
  transition: all 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(214, 178, 94, 0.15);
}

::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

/* Base grid utility for forms */
.grid2 {
  display: grid;
  gap: 15px;
}

@media (min-width: 680px) {
  .grid2 {
    grid-template-columns: 1fr 1fr;
  }
}

/* ====== Buttons - Modern & Accessible ====== */
.btn {
  width: 100%;
  min-height: 48px; /* Mínimo para accesibilidad táctil */
  border: none;
  border-radius: 14px;
  padding: 14px 20px;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.3px;
  cursor: pointer;
  background: linear-gradient(
    135deg,
    rgba(214, 178, 94, 0.18),
    rgba(214, 178, 94, 0.12)
  );
  color: #e5c37d;
  border: 1.5px solid rgba(214, 178, 94, 0.4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
  box-shadow:
    0 4px 12px rgba(214, 178, 94, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Ripple effect simulation */
.btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition:
    width 0.6s,
    height 0.6s;
}

.btn:active::before {
  width: 300px;
  height: 300px;
}

.btn:hover {
  background: linear-gradient(
    135deg,
    rgba(214, 178, 94, 0.28),
    rgba(214, 178, 94, 0.18)
  );
  border-color: rgba(214, 178, 94, 0.6);
  transform: translateY(-2px);
  box-shadow:
    0 8px 24px rgba(214, 178, 94, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn:active {
  transform: translateY(0);
  box-shadow:
    0 2px 8px rgba(214, 178, 94, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none;
}

/* Button variants */
.btn.primary {
  background: linear-gradient(
    135deg,
    rgba(214, 178, 94, 0.35),
    rgba(194, 149, 43, 0.25)
  );
  border-color: rgba(214, 178, 94, 0.5);
  color: #fff;
  font-weight: 900;
}

.btn.primary:hover {
  background: linear-gradient(
    135deg,
    rgba(214, 178, 94, 0.45),
    rgba(194, 149, 43, 0.35)
  );
  box-shadow:
    0 8px 32px rgba(214, 178, 94, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn.primary2 {
  background: linear-gradient(
    135deg,
    rgba(204, 27, 3, 0.35),
    rgba(150, 20, 2, 0.25)
  );
  border-color: rgba(204, 27, 3, 0.5);
  color: #ffd0d0;
}

.btn.primary2:hover {
  background: linear-gradient(
    135deg,
    rgba(204, 27, 3, 0.45),
    rgba(150, 20, 2, 0.35)
  );
  box-shadow: 0 8px 32px rgba(204, 27, 3, 0.35);
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.95);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
}

.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.1);
}

.btn.danger {
  background: linear-gradient(
    135deg,
    rgba(255, 77, 77, 0.2),
    rgba(255, 77, 77, 0.12)
  );
  color: #ffd0d0;
  border: 1.5px solid rgba(255, 77, 77, 0.4);
}

.btn.danger:hover {
  background: linear-gradient(
    135deg,
    rgba(255, 77, 77, 0.3),
    rgba(255, 77, 77, 0.18)
  );
  border-color: rgba(255, 77, 77, 0.6);
  box-shadow: 0 8px 24px rgba(255, 77, 77, 0.25);
}

.btn.w-full {
  width: 100%;
}

/* Mobile button improvements */
@media (max-width: 640px) {
  .btn {
    min-height: 52px;
    padding: 16px 24px;
    font-size: 16px;
  }
}

.actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 16px;
}

@media (min-width: 680px) {
  .actions {
    grid-template-columns: 1fr 1fr;
  }
}

.pill {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  margin-bottom: 10px;
}
.pill.danger {
  border-color: rgba(255, 77, 77, 0.35);
  background: rgba(255, 77, 77, 0.1);
}

.success-details div {
  margin: 8px 0;
}
.divider {
  height: 1px;
  background: var(--line);
  margin: 14px 0;
}
.hidden {
  display: none;
}

/* ====== Tabs ====== */
.tab {
  display: none;
}
.tab.active {
  display: block;
}

/* logo del index jafet */
/* ===== Logo ===== */
.logo-img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  border-radius: 14px;
  background: rgba(214, 178, 94, 0.12);
  padding: 6px;
  border: 1px solid rgba(214, 178, 94, 0.35);
}

/* ===== Landing Navbar + Hero (Barbershop) ===== */

/* Estilos de navegación consolidados en nav.css */

/* HERO */
.hero {
  min-height: 78vh;
  display: grid;
  place-items: center;
  position: relative;
  padding: 120px 18px 60px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.65)),
    url("../img/logo.jpg");
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      900px 450px at 50% 35%,
      rgba(214, 178, 94, 0.16),
      transparent 60%
    ),
    radial-gradient(
      900px 450px at 50% 70%,
      rgba(255, 255, 255, 0.06),
      transparent 65%
    );
  pointer-events: none;
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 920px;
}

.hero-badge {
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
}

.hero-logo {
  width: 86px;
  height: 86px;
  object-fit: contain;
  border-radius: 24px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(214, 178, 94, 0.35);
  padding: 10px;
}

.hero-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 10px 0 16px;
}

.hero-line {
  width: 130px;
  height: 2px;
  background: rgba(214, 178, 94, 0.55);
  border-radius: 999px;
}

.hero-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  border: 1px solid rgba(214, 178, 94, 0.45);
  background: rgba(214, 178, 94, 0.08);
  color: var(--gold);
  font-size: 26px;
}

.hero-title {
  font-size: clamp(44px, 7vw, 88px);
  letter-spacing: 6px;
  margin: 8px 0 10px;
  font-weight: 900;
}

.hero-sub {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  color: rgba(255, 255, 255, 0.82);
  text-transform: lowercase;
  font-size: 18px;
}

.hero-mustache {
  color: rgba(214, 178, 94, 0.8);
  font-weight: 900;
}

.hero-cta {
  margin-top: 22px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-btn {
  max-width: 260px;
}

.hero-btn-ghost {
  max-width: 220px;
}

.landing-section {
  padding: 60px 0;
}

/* Services grid */
.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 680px) {
  .service-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
.service-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.2);
  border-radius: 18px;
  padding: 14px;
}
.service-name {
  font-weight: 900;
  letter-spacing: 0.4px;
}
.service-price {
  color: var(--gold);
  margin-top: 6px;
  font-weight: 800;
}

/* Ajuste para que el hero no tape anclas */
#services,
#about,
#book {
  scroll-margin-top: 86px;
}

.nav-item2 {
  flex: 1;
  padding: 12px 10px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-weight: 900;
  cursor: pointer;
}
.nav-item.active2 {
  border-color: rgba(214, 178, 94, 0.45);
  background: rgba(211, 151, 10, 0.12);
  color: var(--gold);
}

/* ===== Toast (mensaje flotante) ===== */
.toast {
  position: fixed;
  top: 88px; /* debajo del navbar */
  right: 18px;
  z-index: 9999;
  max-width: 320px;

  display: flex;
  gap: 10px;
  align-items: flex-start;

  padding: 12px 14px;
  border-radius: 18px;

  background: rgba(17, 17, 26, 0.95);
  border: 1px solid rgba(214, 178, 94, 0.35);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);

  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: 0.25s ease;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.toast .icon {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(214, 178, 94, 0.14);
  border: 1px solid rgba(214, 178, 94, 0.35);
  color: var(--gold);
  font-weight: 900;
}

.toast .title {
  font-weight: 900;
  margin-bottom: 2px;
}

.toast .msg {
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  line-height: 1.25;
}

.toast .close {
  margin-left: 6px;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 520px) {
  .toast {
    left: 14px;
    right: 14px;
    max-width: unset;
    top: 78px;
  }
}
/* ===== Multi servicios checklist ===== */
.service-checklist {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

.service-option {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px;
  padding: 16px 18px !important; /* Más alto para toque */
  border-radius: 12px !important;
  border: 1px solid rgba(214, 178, 94, 0.2) !important;
  background: rgba(255, 255, 255, 0.05) !important;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 8px;
}

.service-option:active {
  background: rgba(214, 178, 94, 0.1) !important;
  transform: scale(0.98);
}

.service-option input[type="checkbox"] {
  width: 22px !important;
  height: 22px !important;
  min-height: unset !important; /* Reset generic min-height */
  margin: 0 !important;
  accent-color: #d6b25e;
  cursor: pointer;
}

.service-option-name {
  flex: 1;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
}

.service-option-price {
  color: #d6b25e;
  font-weight: 800;
  white-space: nowrap;
  font-size: 14px;
}

.total-box {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(214, 178, 94, 0.3);
  background: rgba(214, 178, 94, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-weight: 900;
}

.total-amount {
  color: var(--gold);
  font-size: 18px;
}
/* Layout superior: Servicios vs Fecha/Hora */
.booking-top-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

/* Estilos de booking antiguos eliminados */

.w-full {
  width: 100%;
}
/* ===== HERO BOTONES MISMO TAMAÑO ===== */
.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.hero-btn {
  min-width: 220px; /* mismo ancho */
  height: 52px; /* misma altura */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  font-weight: 700;
  border-radius: 999px;
  text-align: center;
}

/* móvil: ocupan todo el ancho */
@media (max-width: 600px) {
  .hero-btn {
    width: 100%;
    max-width: 320px;
  }
}
.hero-btn.active2 {
  box-shadow:
    0 0 0 2px rgba(214, 178, 94, 0.35),
    0 8px 24px rgba(214, 178, 94, 0.25);
}
/* Quitar líneas/bordes no deseados en login admin */
.admin-login hr {
  display: none;
}

.admin-login,
.admin-login * {
  border: none !important;
  outline: none !important;
  box-shadow: none;
}
/* =========================
   ADMIN LOGIN PRO
========================= */

.admin-login {
  min-height: 100vh;
  background:
    radial-gradient(
      1200px 600px at 50% -20%,
      rgba(214, 178, 94, 0.411),
      transparent
    ),
    linear-gradient(180deg, #0b0b10, #07070b);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: system-ui, sans-serif;
}

/* =============================================
   ADMIN LOGIN - PREMIUM REDESIGN
   ============================================= */

.admin-login {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background:
    radial-gradient(
      circle at 50% 50%,
      rgba(214, 178, 94, 0.1) 0%,
      transparent 80%
    ),
    var(--bg);
}

.login-page-container {
  width: 100%;
  max-width: 440px;
  animation: loginFadeUp 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes loginFadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.login-card-wrapper {
  background: rgba(18, 18, 26, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
  position: relative;
}

.login-header {
  text-align: center;
  margin-bottom: 30px;
}

.login-logo-container {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: rgba(214, 178, 94, 0.1);
  border: 1px solid rgba(214, 178, 94, 0.3);
  border-radius: 20px;
  display: grid;
  place-items: center;
  padding: 10px;
}

.login-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.login-header h1 {
  font-size: 24px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.login-error {
  background: rgba(255, 77, 77, 0.1);
  border: 1px solid rgba(255, 77, 77, 0.3);
  color: #ff7777;
  padding: 14px 18px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-left: 4px;
}

.input-with-icon {
  position: relative;
}

.field-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.3);
  pointer-events: none;
  transition: color 0.2s ease;
}

.input-with-icon input {
  width: 100%;
  min-height: 56px;
  padding: 12px 18px 12px 50px;
  background: rgba(0, 0, 0, 0.4);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  color: #fff;
  font-size: 16px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.input-with-icon input:focus {
  border-color: var(--gold);
  background: rgba(0, 0, 0, 0.6);
  box-shadow: 0 0 0 4px rgba(214, 178, 94, 0.1);
}

.input-with-icon input:focus + .field-icon {
  color: var(--gold);
}

/* Chrome/Safari Auto-fill fix */
.input-with-icon input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #0b0b10 inset !important;
  -webkit-text-fill-color: #fff !important;
}

.login-btn-primary {
  width: 100%;
  min-height: 58px;
  background: linear-gradient(135deg, #d6b25e, #b89344);
  border: none;
  border-radius: 16px;
  color: #000;
  font-size: 16px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 15px 35px rgba(214, 178, 94, 0.2);
}

.login-btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
  box-shadow: 0 20px 45px rgba(214, 178, 94, 0.3);
}

.login-btn-primary:active {
  transform: scale(0.97);
}

.login-btn-secondary {
  width: 100%;
  min-height: 56px;
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.2s ease;
}

.login-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(214, 178, 94, 0.3);
}

.login-footer {
  text-align: center;
  margin-top: 30px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
  font-weight: 600;
  letter-spacing: 0.5px;
}

@media (max-width: 480px) {
  .login-card-wrapper {
    padding: 30px 24px;
    background: transparent;
    border: none;
    box-shadow: none;
  }
  .back-link {
    top: -20px;
    left: 4px;
  }
}

/* Móvil */
/* ====== Admin Topbar Refinement ====== */
.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: var(--nav-bg);
  backdrop-filter: var(--glass);
  -webkit-backdrop-filter: var(--glass);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.admin-burger {
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

.admin-burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 10px;
  transition: var(--transition);
}

.admin-burger.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.admin-burger.open span:nth-child(2) {
  opacity: 0;
}
.admin-burger.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 768px) {
  .admin-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 260px;
    height: 100vh;
    background: var(--bg);
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: var(--transition);
    border-left: 1px solid var(--line);
    z-index: 999;
  }
  .admin-nav.open {
    transform: translateX(0);
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content,
.card,
.service-card {
  animation: fadeIn 0.8s ease forwards;
}
.admin-login-card {
  position: relative;
  z-index: 1;
}

/* Glow externo */
.admin-login-card::before {
  content: "";
  position: absolute;
  inset: -6px; /* controla qué tan lejos sale la luz */
  border-radius: 26px;
  background: linear-gradient(
    135deg,
    rgba(214, 178, 94, 0.185),
    rgba(214, 178, 94, 0.4),
    rgba(214, 178, 94, 0.082)
  );
  filter: blur(22px);
  opacity: 0.9;
  z-index: -1;
}

/* Capa de profundidad (opcional pero PRO) */
.admin-login-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 22px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 20px 60px rgba(0, 0, 0, 0.6);
  z-index: -1;
}
/* =========================
   ADMIN TOPBAR + MENU MOVIL
========================= */
.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(10, 10, 14, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
}
.admin-brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.admin-brand-title {
  font-weight: 800;
  letter-spacing: 0.3px;
}

.admin-burger {
  display: none;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  background: #11111a;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 20px;
  cursor: pointer;
}

.admin-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}
.admin-link {
  text-decoration: none;
  color: #e9e9f1;
  font-weight: 700;
  padding: 10px 12px;
  border-radius: 12px;
  transition: 0.15s ease;
  border: 1px solid transparent;
}
.admin-link:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(96, 102, 15, 0.411);
}
.admin-link.danger {
  color: #ffb4b4;
}

/* ===== MOBILE ===== */
@media (max-width: 860px) {
  .admin-burger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .admin-nav {
    position: absolute;
    left: 12px;
    right: 12px;
    top: 64px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 12px;
    background: rgba(17, 17, 26, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
  }
  .admin-nav.open {
    display: flex;
  }

  .admin-link {
    padding: 12px 14px;
  }
}
/* =========================
   ADMIN TOASTS (avisos flotantes)
========================= */
.toast-wrap {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none; /* no bloquea clicks */
}

.toast {
  pointer-events: auto;
  min-width: 280px;
  max-width: 380px;
  padding: 14px 14px;
  border-radius: 16px;
  background: rgba(17, 17, 26, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  transform: translateY(-8px);
  opacity: 0;
  transition: 0.18s ease;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast .ico {
  font-size: 18px;
  line-height: 1.1;
  margin-top: 2px;
}

.toast .txt {
  flex: 1;
}

.toast .title {
  font-weight: 900;
  margin-bottom: 2px;
  color: #fff;
  font-size: 14px;
}

.toast .msg {
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
}

.toast .x {
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  cursor: pointer;
  padding: 0 2px;
}

/* Variantes */
.toast.success {
  border-color: rgba(70, 220, 160, 0.25);
}
.toast.success .ico {
  color: rgb(70, 220, 160);
}

.toast.error {
  border-color: rgba(255, 120, 120, 0.28);
}
.toast.error .ico {
  color: rgb(255, 120, 120);
}

.toast.info {
  border-color: rgba(214, 178, 94, 0.22);
}
.toast.info .ico {
  color: rgb(214, 178, 94);
}

/* móvil */
@media (max-width: 520px) {
  .toast-wrap {
    left: 12px;
    right: 12px;
    top: 12px;
  }
  .toast {
    max-width: none;
    width: 100%;
  }
}
/* =========================
   FOOTER
========================= */
.site-footer {
  margin-top: 80px;
  padding-bottom: 24px;
  background:
    radial-gradient(
      1200px 300px at 50% 0%,
      rgba(214, 178, 94, 0.15),
      transparent 60%
    ),
    #0b0b10;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: #e6e6ef;
}

.footer-container {
  max-width: 1000px;
  margin: auto;
  padding: 48px 20px 32px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 32px;
}

.footer-brand {
  max-width: 380px;
}

.footer-logo {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  margin-bottom: 12px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.footer-title {
  font-weight: 900;
  letter-spacing: 0.6px;
  font-size: 18px;
  margin-bottom: 6px;
}

.footer-desc {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  line-height: 1.5;
}

.footer-links h4,
.footer-info h4 {
  font-size: 14px;
  margin-bottom: 10px;
  color: #d6b25e;
  letter-spacing: 0.3px;
}

.footer-links a {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 6px;
  transition: 0.15s ease;
}

.footer-links a:hover {
  color: #d6b25e;
}

.footer-info p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 6px;
}

.footer-bottom {
  text-align: center;
  padding: 14px 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ===== Responsive ===== */
@media (max-width: 820px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand {
    margin: auto;
  }

  .footer-links,
  .footer-info {
    margin-top: 20px;
  }
}

.footer-link {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-weight: 600;
  transition: 0.15s ease;
}

.footer-link:hover {
  color: #d6b25e;
  text-decoration: underline;
}
/* =========================
   BOTÓN FLOTANTE WHATSAPP
========================= */
.whatsapp-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #1ebe5d);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow:
    0 12px 30px rgba(37, 211, 102, 0.45),
    0 0 0 0 rgba(37, 211, 102, 0.6);
  z-index: 9999;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow:
    0 16px 40px rgba(37, 211, 102, 0.55),
    0 0 0 10px rgba(37, 211, 102, 0.15);
}

.whatsapp-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.whatsapp-icon svg {
  fill: #fff;
  transition: var(--transition);
}

/* Móvil: Ajuste de posición WhatsApp */
@media (max-width: 600px) {
  .whatsapp-float {
    bottom: 25px; /* Bajamos el icono ya que no hay barra inferior */
  }
}
/* =========================
   FOOTER - REDES SOCIALES
========================= */
.footer-social h4 {
  font-size: 14px;
  margin-bottom: 10px;
  color: #d6b25e;
  letter-spacing: 0.3px;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  transition: 0.15s ease;
}

.social-link:hover {
  color: #d6b25e;
  transform: translateX(3px);
}

.social-icon {
  font-size: 16px;
}

/* Centrar en móvil */
@media (max-width: 820px) {
  .footer-social {
    margin-top: 20px;
  }
}
/* Evita loops de resize / crecimiento infinito */
.chart-wrap {
  height: 320px; /* altura fija */
  max-height: 320px;
  overflow: hidden;
}

.chart-wrap canvas {
  width: 100% !important;
  height: 320px !important; /* fuerza altura estable */
  display: block;
}
.btnadmin {
  width: 100%;
  border: none;
  border-radius: 18px;
  padding: 12px 14px;
  font-weight: 900;
  cursor: pointer;
  background: rgba(32, 36, 97, 0.212);
  color: var(--gold);
  border: 1px solid rgba(155, 143, 116, 0.295);
  display: inline-block;
  text-align: center;
  text-decoration: none;
}
.btnadmin:hover {
  filter: brightness(1.06);
}
.btnadmin.primaryadmin {
  background: linear-gradient(
    180deg,
    rgba(96, 127, 173, 0.589),
    rgba(15, 13, 8, 0.308)
  );
}
/* =========================
   BOTÓN ROJO CON GLOW
========================= */
.btn.danger-glow {
  position: relative;
  width: 100%;
  border: none;
  border-radius: 18px;
  padding: 12px 14px;
  font-weight: 900;
  cursor: pointer;
  background: linear-gradient(180deg, rgb(204, 27, 3), rgba(15, 10, 8, 0.15));
  color: #ffd7d2;
  border: 1px solid rgba(255, 60, 60, 0.45);
  display: inline-block;
  text-align: center;
  text-decoration: none;
  overflow: hidden;
}

/* Glow alrededor */
.btn.danger-glow::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 22px;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(255, 60, 60, 0.85),
    rgba(255, 60, 60, 0.25),
    transparent 65%
  );
  filter: blur(22px);
  opacity: 0.9;
  z-index: -1;
}

/* Hover */
.btn.danger-glow:hover {
  filter: brightness(1.1);
}

/* Click */
.btn.danger-glow:active {
  transform: scale(0.98);
}

/* =============================================
   FORM REDESIGN 3.0 - ACCESSIBLE & PREMIUM
   ============================================= */

.form-header {
  text-align: center;
  margin-bottom: 30px;
}

.form-container {
  max-width: 850px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.booking-form,
.search-form {
  background: rgba(15, 15, 20, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(214, 178, 94, 0.2);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.section-title {
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  color: #d6b25e;
  letter-spacing: 1px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.selection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
  margin-bottom: 15px;
}

.selection-card {
  position: relative;
  display: flex;
  align-items: center;
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.selection-card input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.selection-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.selection-name {
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  margin-bottom: 2px;
}

.selection-price {
  font-size: 14px;
  color: #d6b25e;
  font-weight: 600;
}

.selection-indicator {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid rgba(214, 178, 94, 0.3);
  position: relative;
  transition: all 0.2s ease;
}

.selection-card:hover {
  background: rgba(214, 178, 94, 0.05);
  border-color: rgba(214, 178, 94, 0.25);
}

.selection-card input[type="checkbox"]:checked ~ .selection-indicator {
  background: #d6b25e;
  border-color: #d6b25e;
}

.selection-card input[type="checkbox"]:checked ~ .selection-indicator::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #000;
  font-size: 14px;
  font-weight: 900;
}

.price-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 22px;
  background: rgba(214, 178, 94, 0.1);
  border: 1px solid rgba(214, 178, 94, 0.3);
  border-radius: 12px;
  margin-top: 15px;
}

.price-summary .label {
  font-weight: 700;
  font-size: 15px;
}

.price-summary .amount {
  font-size: 20px;
  font-weight: 900;
  color: #d6b25e;
}

.input-stack,
.input-grid {
  display: grid;
  gap: 15px;
}

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

.field-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field-item label {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.field-item input,
.field-item select {
  width: 100% !important;
  min-height: 56px !important;
  padding: 15px 18px !important;
  font-size: 16px !important;
  background: rgba(0, 0, 0, 0.4) !important;
  border: 2px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 14px !important;
  color: #fff !important;
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
}

.field-item input:focus,
.field-item select:focus {
  border-color: #d6b25e !important;
  box-shadow: 0 0 0 4px rgba(214, 178, 94, 0.1) !important;
  outline: none;
}

.field-hint {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 4px;
}

.select-wrapper {
  position: relative;
}

.select-wrapper::after {
  content: "▼";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #d6b25e;
  font-size: 10px;
  pointer-events: none;
}

.btn-submit,
.btn-search {
  width: 100%;
  min-height: 58px;
  background: linear-gradient(135deg, #d6b25e, #b89344);
  border: none;
  border-radius: 16px;
  color: #000;
  font-size: 16px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  margin-top: 20px;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.btn-submit:active {
  transform: scale(0.97);
}

/* Success & Management Screens */
.success-screen,
.manage-screen {
  background: rgba(15, 15, 20, 0.9);
  border: 1px solid rgba(214, 178, 94, 0.3);
  border-radius: 20px;
  padding: 40px 20px;
  text-align: center;
}

.success-badge {
  font-size: 50px;
  margin-bottom: 10px;
}
.success-data,
.manage-details-card {
  text-align: left;
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 14px;
  margin: 20px 0;
}

.success-actions,
.manage-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-download,
.btn-confirm {
  background: #fff;
  color: #000;
  border: none;
  padding: 18px;
  border-radius: 14px;
  font-weight: 800;
  cursor: pointer;
}

.btn-reset {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  padding: 18px;
  border-radius: 14px;
  font-weight: 700;
  cursor: pointer;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .form-container {
    padding: 20px 15px;
    background: transparent;
    border: none;
    box-shadow: none;
  }

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

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

/* Result & Manage Detail UI */
.result-card,
.manage-info {
  background: rgba(255, 255, 255, 0.03);
  padding: 20px;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.result-row,
.info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
}

.result-row span,
.info-item span {
  color: rgba(255, 255, 255, 0.5);
}

.code-badge {
  background: rgba(214, 178, 94, 0.15);
  color: #d6b25e;
  padding: 4px 12px;
  border-radius: 6px;
  font-family: monospace;
  font-size: 18px;
}

.services-list,
.manage-services {
  font-size: 14px;
  line-height: 1.6;
}

.result-total,
.manage-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 5px;
}

.total-price {
  font-size: 22px;
  color: #d6b25e;
  font-weight: 900;
}

.status-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 15px;
  align-self: flex-start;
}

.status-badge.booked {
  background: rgba(70, 220, 160, 0.15);
  color: #46dca0;
}

.status-badge.cancelled {
  background: rgba(255, 120, 120, 0.15);
  color: #ff7878;
}

.divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 10px 0;
}
