/* ===== GLOBAL VARIABLES ===== */
:root {
  /* Base */
  --bg-main: #0b0d12;
  --bg-soft: #10131a;
  --bg-card: #151923;
  --bg-card-2: #1b202b;

  /* Brand */
  --gold: #d7b270;
  --gold-strong: #b88a2f;

  /* Text */
  --text-main: #f7f8fb;
  --text-soft: #a8b0be;

  /* UI */
  --border: rgba(255, 255, 255, 0.08);
  --danger: #ff6b6b;
  --success: #25c281;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.35);

  /* Radius */
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;

  /* Auth */
  --auth-bg-main: #0f0f10;
  --auth-bg-card: rgba(255, 255, 255, 0.06);
  --auth-border-soft: rgba(255, 255, 255, 0.1);
  --auth-text-main: #f5f5f5;
  --auth-text-soft: rgba(255, 255, 255, 0.72);
  --auth-gold: var(--gold);
  --auth-gold-dark: var(--gold-strong);
  --auth-danger: var(--danger);
  --auth-success: #67d48a;
  --auth-shadow-soft: 0 20px 60px rgba(0, 0, 0, 0.35);
  --auth-radius-xl: 26px;
  --auth-radius-lg: 18px;
  --auth-radius-md: 14px;
}

/* ===== RESET & BASE ===== */
* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: Inter, Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(215, 178, 112, 0.08), transparent 25%),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.03), transparent 20%),
    linear-gradient(180deg, #0b0d12 0%, #0d1016 100%);
  color: var(--text-main);
}

img {
  max-width: 100%;
  display: block;
}

button,
select,
input {
  font-family: inherit;
}

/* ===== LAYOUT ===== */
.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(10, 12, 16, 0.84);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  width: 100%;
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  flex-shrink: 0;
}

.logo-img {
  height: 58px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

.header-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  flex-wrap: wrap;
  margin-left: auto;
}

.header-back-box {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header-session-box {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
}

/* ===== BOTONES ===== */
.btn {
  border: none;
  border-radius: var(--radius-md);
  padding: 12px 18px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.btn-gold {
  color: #121212;
  background: linear-gradient(135deg, var(--gold), var(--gold-strong));
  box-shadow: 0 10px 20px rgba(215, 178, 112, 0.18);
}

.btn-dark {
  color: #fff;
  background: #2c3240;
}

.btn-outline {
  color: #fff;
  background: transparent;
  border: 1px solid rgba(215, 178, 112, 0.28);
}

.btn-block {
  width: 100%;
}

/* ===== HOME HERO ===== */
.hero-home {
  padding: 42px 0 24px;
}

.hero-home-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 24px;
  align-items: stretch;
}

.hero-home-content,
.hero-home-card {
  background: linear-gradient(180deg, rgba(21, 25, 35, 0.95), rgba(13, 16, 22, 0.98));
  border: 1px solid rgba(215, 178, 112, 0.12);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.hero-home-content {
  padding: 42px;
}

.hero-home-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-badge,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  background: rgba(215, 178, 112, 0.1);
  border: 1px solid rgba(215, 178, 112, 0.12);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 800;
}

.hero-home-content h1 {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1.05;
  margin: 18px 0 16px;
}

.hero-home-content p {
  color: var(--text-soft);
  font-size: 1.02rem;
  line-height: 1.7;
  margin: 0 0 22px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-home-card h3 {
  margin: 0 0 10px;
  font-size: 1.3rem;
}

.hero-home-card p {
  margin: 0 0 20px;
  color: var(--text-soft);
}

.hero-mini-stats {
  display: grid;
  gap: 16px;
}

.hero-mini-stats strong {
  display: block;
  margin-bottom: 5px;
  color: var(--gold);
}

.hero-mini-stats span {
  color: var(--text-soft);
  font-size: 0.95rem;
}

/* ===== SECCIONES GENERALES ===== */
.section {
  padding: 10px 0 42px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.section-head h2 {
  margin: 10px 0 0;
  font-size: 2rem;
}

.section-head p {
  color: var(--text-soft);
  max-width: 520px;
  line-height: 1.6;
  margin: 0;
}

/* ===== CARDS ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.card,
.servicio-card,
.loading-card {
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-card-2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.card-hover,
.servicio-hover {
  overflow: hidden;
  padding: 0;
}

.card:hover,
.servicio-card:hover {
  transform: translateY(-5px);
  border-color: rgba(215, 178, 112, 0.2);
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.42);
}

.card-img,
.servicio-img {
  height: 180px;
  background: #111;
  overflow: hidden;
}

.card-img img,
.servicio-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.card:hover .card-img img,
.servicio-card:hover .servicio-img img {
  transform: scale(1.06);
}

.card-body,
.servicio-body {
  padding: 18px;
}

.card h3,
.servicio-card h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.18rem;
}

.card p,
.servicio-card p,
.loading-card,
.negocio-description,
.meta-value {
  color: var(--text-soft);
  line-height: 1.65;
}

.card-actions,
.servicio-footer {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.precio {
  color: var(--gold);
  font-size: 1.25rem;
  font-weight: 800;
}

.badge {
  background: rgba(215,178,112,0.12);
  color: var(--gold);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
}

/* ===== PÁGINA DE NEGOCIO ===== */
.negocio-page {
  padding-top: 28px;
  padding-bottom: 40px;
}

.premium-hero {
  position: relative;
  height: 320px;
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 30px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(215, 178, 112, 0.12);
}

.hero-bg,
.hero-bg img {
  width: 100%;
  height: 100%;
}

.hero-bg img {
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.18), rgba(0,0,0,0.82));
}

.hero-content {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: flex;
  align-items: end;
  gap: 20px;
}

.hero-logo img {
  width: 92px;
  height: 92px;
  border-radius: 22px;
  border: 2px solid var(--gold);
  background: #111;
}

.hero-text h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
}

.hero-text p {
  margin: 8px 0 10px;
  color: #d7dde8;
}

.hero-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--gold);
  font-size: 0.92rem;
  font-weight: 700;
}

.hero-stats {
  display: flex;
  gap: 20px;
  margin-top: 12px;
}

.hero-stats div {
  background: rgba(255,255,255,0.05);
  padding: 10px 14px;
  border-radius: 12px;
  text-align: center;
}

.hero-stats strong {
  display: block;
  font-size: 1.2rem;
  color: var(--gold);
}

.hero-stats span {
  font-size: 0.75rem;
  color: #ccc;
}

/* ===== REVIEWS ===== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}

.review-card {
  background: linear-gradient(180deg, var(--bg-card), var(--bg-card-2));
  border: 1px solid var(--border);
  padding: 18px;
  border-radius: 16px;
}

.review-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.review-card p {
  color: var(--text-soft);
}

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 5, 7, 0.78);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 18px;
}

.modal-box {
  background: linear-gradient(180deg, #141820 0%, #0f1218 100%);
  border: 1px solid rgba(215, 178, 112, 0.18);
  border-radius: 24px;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.46);
  width: 100%;
}

.modal-wide {
  max-width: 900px;
  padding: 26px;
}

.modal-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.modal-header h3 {
  margin: 10px 0 0;
  font-size: 1.5rem;
}

.modal-close {
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 12px;
  font-size: 1.6rem;
  cursor: pointer;
  color: #fff;
  background: #2b313d;
}

/* ===== RESERVA / BOOKING ===== */
.booking-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
}

.booking-col {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 20px;
}

.field-label {
  display: block;
  margin: 0 0 8px;
  font-weight: 800;
  color: var(--gold);
}

.field-control {
  width: 100%;
  min-height: 48px;
  background: #1b2029;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 14px;
  outline: none;
}

.field-control:focus {
  border-color: rgba(215, 178, 112, 0.45);
  box-shadow: 0 0 0 4px rgba(215, 178, 112, 0.08);
}

.booking-note {
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.5;
}

.reserva-error {
  color: var(--danger);
  min-height: 24px;
  margin: 8px 0 0;
}

.reserva-success {
  color: var(--success);
}

.modal-actions {
  margin-top: 16px;
  display: flex;
  gap: 12px;
}

/* ===== CALENDARIO ===== */
.calendar-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 14px;
  margin-bottom: 14px;
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.calendar-month-label {
  font-weight: 800;
  color: var(--text-main);
  text-align: center;
  flex: 1;
}

.calendar-nav {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(215, 178, 112, 0.2);
  border-radius: 12px;
  background: #1b2029;
  color: var(--gold);
  font-size: 1.2rem;
  font-weight: 800;
  cursor: pointer;
}

.calendar-nav:hover {
  background: rgba(215, 178, 112, 0.08);
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-bottom: 10px;
}

.calendar-weekdays span {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-soft);
  font-weight: 700;
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.calendar-day {
  min-height: 46px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #161b23;
  color: var(--text-main);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
}

.calendar-day:hover {
  transform: translateY(-1px);
  border-color: rgba(215, 178, 112, 0.3);
}

.calendar-day.muted {
  opacity: 0.28;
  cursor: default;
}

.calendar-day.disabled {
  opacity: 0.35;
  cursor: not-allowed;
  background: #11151b;
}

.calendar-day.selected {
  background: linear-gradient(135deg, var(--gold), var(--gold-strong));
  color: #101010;
  border-color: transparent;
  box-shadow: 0 10px 18px rgba(215, 178, 112, 0.2);
}

/* ===== HORARIOS (UNIFICADO) ===== */
.horarios-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.horarios-badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
}

.horarios-badge-ok {
  background: rgba(215, 178, 112, 0.14);
  color: #d7b270;
  border: 1px solid rgba(215, 178, 112, 0.28);
}

.horarios-help {
  font-size: 0.9rem;
  opacity: 0.74;
}

.horarios-lista {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  max-height: 520px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 6px;
}

.hora-btn {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 14px;
  padding: 10px 12px;
  min-height: 62px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  cursor: pointer;
  transition: 0.2s ease;
  color: #fff;
}

.hora-btn-top {
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1;
}

.hora-btn-bottom {
  font-size: 0.74rem;
  line-height: 1.1;
  opacity: 0.82;
}

.hora-btn-disponible {
  background: rgba(215, 178, 112, 0.08);
  border: 1px solid rgba(215, 178, 112, 0.28);
}

.hora-btn-disponible:hover {
  background: rgba(215, 178, 112, 0.14);
  border-color: rgba(215, 178, 112, 0.42);
  transform: translateY(-1px);
}

.hora-btn.active {
  background: linear-gradient(135deg, #d7b270, #b89457);
  color: #151515;
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(215, 178, 112, 0.24);
}

.hora-btn.active .hora-btn-bottom {
  opacity: 0.95;
}

.hora-btn-no-disponible {
  cursor: not-allowed;
  color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0.72;
  text-decoration: line-through;
}

.hora-btn-no-disponible .hora-btn-bottom {
  opacity: 0.65;
}

.hora-btn-login-required {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.horarios-empty-state {
  padding: 22px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  text-align: center;
}

.horarios-empty-icon {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.horarios-empty-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.horarios-empty-text {
  font-size: 0.92rem;
  opacity: 0.74;
  line-height: 1.45;
}

/* ===== COMPONENTES DE USUARIO Y AUTENTICACIÓN (no auth page) ===== */
.guest-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.user-menu {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-left: 10px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.user-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-width: 0;
}

.user-chip img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(215, 178, 112, 0.35);
  background: #111;
}

.user-chip-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}

.user-chip-text strong {
  font-size: 0.95rem;
  white-space: nowrap;
}

.user-chip-text span {
  font-size: 0.82rem;
  opacity: 0.72;
  white-space: nowrap;
}

.auth-reserva-box {
  margin-top: 14px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(215, 178, 112, 0.08);
  border: 1px solid rgba(215, 178, 112, 0.28);
}

.auth-reserva-text {
  margin: 0 0 12px 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.auth-reserva-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.auth-reserva-actions .btn {
  flex: 1 1 180px;
}

.reserva-sesion-info {
  margin: 10px 0 18px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(215, 178, 112, 0.12);
  border: 1px solid rgba(215, 178, 112, 0.28);
  font-size: 0.95rem;
  line-height: 1.45;
}

/* ===== PÁGINAS DE AUTENTICACIÓN (LOGIN / REGISTER) ===== */
.auth-page {
  margin: 0;
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at top right, rgba(215, 178, 112, 0.18), transparent 22%),
    radial-gradient(circle at bottom left, rgba(215, 178, 112, 0.12), transparent 24%),
    linear-gradient(180deg, #111214 0%, #0b0b0c 100%);
  color: var(--auth-text-main);
}

.auth-page * {
  box-sizing: border-box;
}

.auth-page a {
  color: inherit;
  text-decoration: none;
}

/*  */

.auth-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
}

.auth-brand {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
  overflow: hidden;
}

.auth-brand::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(215, 178, 112, 0.14), transparent 40%),
    linear-gradient(220deg, rgba(255, 255, 255, 0.04), transparent 30%);
  pointer-events: none;
}

.brand-content {
  position: relative;
  z-index: 1;
  max-width: 560px;
  width: 100%;
}

.brand-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.brand-logo {
  width: 74px;
  height: 74px;
  object-fit: contain;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  padding: 10px;
  border: 1px solid rgba(215, 178, 112, 0.18);
  box-shadow: var(--auth-shadow-soft);
}

.brand-kicker {
  display: inline-block;
  font-size: 0.88rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--auth-gold);
  margin-bottom: 10px;
}

.brand-title {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  font-weight: 800;
}

.brand-text {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--auth-text-soft);
  max-width: 520px;
}

.brand-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.brand-point {
  padding: 18px;
  border-radius: var(--auth-radius-lg);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--auth-border-soft);
  backdrop-filter: blur(8px);
}

.brand-point strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
  color: #fff;
}

.brand-point span {
  display: block;
  color: var(--auth-text-soft);
  font-size: 0.94rem;
  line-height: 1.5;
}

.auth-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

.auth-card {
  width: 100%;
  max-width: 480px;
  border-radius: var(--auth-radius-xl);
  background: rgba(17, 18, 20, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--auth-shadow-soft);
  backdrop-filter: blur(16px);
  padding: 32px;
}

.auth-card-register {
  max-width: 520px;
}

.auth-card-top {
  margin-bottom: 24px;
}

.auth-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--auth-text-soft);
  font-size: 0.94rem;
  margin-bottom: 18px;
}

.auth-back:hover {
  color: #fff;
}

.auth-title {
  margin: 0 0 10px;
  font-size: 2rem;
  line-height: 1.1;
}

.auth-subtitle {
  margin: 0;
  color: var(--auth-text-soft);
  line-height: 1.6;
  font-size: 0.98rem;
}

.redirect-chip {
  display: none;
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: var(--auth-radius-md);
  background: rgba(215, 178, 112, 0.08);
  border: 1px solid rgba(215, 178, 112, 0.24);
  color: #f4e2bf;
  font-size: 0.94rem;
  line-height: 1.5;
}

.form-grid {
  display: grid;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field-group {
  display: grid;
  gap: 8px;
}

.field-label {
  font-size: 0.95rem;
  color: #f2f2f2;
  font-weight: 600;
}

.field-control {
  width: 100%;
  height: 52px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  padding: 0 16px;
  outline: none;
  transition: 0.2s ease;
  font-size: 0.98rem;
}

.field-control::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.field-control:focus {
  border-color: rgba(215, 178, 112, 0.72);
  box-shadow: 0 0 0 4px rgba(215, 178, 112, 0.12);
}

.password-wrap {
  position: relative;
}

.toggle-password {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  color: var(--auth-text-soft);
  cursor: pointer;
  font-size: 0.92rem;
  padding: 6px 8px;
}

.auth-message {
  display: none;
  padding: 14px 16px;
  border-radius: 14px;
  font-size: 0.95rem;
  line-height: 1.55;
}

.auth-message.error {
  display: block;
  background: rgba(255, 107, 107, 0.1);
  border: 1px solid rgba(255, 107, 107, 0.28);
  color: #ffd1d1;
}

.auth-message.success {
  display: block;
  background: rgba(103, 212, 138, 0.12);
  border: 1px solid rgba(103, 212, 138, 0.28);
  color: #d9ffe6;
}

.auth-bottom {
  margin-top: 8px;
  text-align: center;
  color: var(--auth-text-soft);
  font-size: 0.95rem;
  line-height: 1.6;
}

.auth-bottom a {
  color: var(--auth-gold);
  font-weight: 700;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .hero-home-grid,
  .booking-layout {
    grid-template-columns: 1fr;
  }
}

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

  .header-tools {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-left: 0;
  }

  .header-back-box,
  .header-session-box,
  .guest-actions,
  .user-menu {
    width: 100%;
  }

  .guest-actions,
  .user-menu {
    justify-content: flex-start;
  }
}

@media (max-width: 980px) {
  .auth-shell {
    grid-template-columns: 1fr;
  }

  .auth-brand {
    padding: 34px 24px 10px;
  }

  .auth-panel {
    padding: 20px 16px 32px;
  }

  .brand-points {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-home-content,
  .hero-home-card,
  .modal-wide {
    padding: 20px;
  }

  .hero-home-content h1 {
    font-size: 2.3rem;
  }

  .hero-content {
    flex-direction: column;
    align-items: start;
  }

  .hero-logo img {
    width: 78px;
    height: 78px;
  }

  .modal-actions,
  .hero-buttons,
  .header-actions {
    flex-direction: column;
  }

  .btn,
  .btn-block {
    width: 100%;
  }

  .calendar-day {
    min-height: 42px;
    border-radius: 12px;
    font-size: 0.9rem;
  }

  .calendar-weekdays span {
    font-size: 0.72rem;
  }
}

@media (max-width: 640px) {
  .auth-card {
    padding: 24px 18px;
    border-radius: 22px;
  }

  .brand-title {
    font-size: 2rem;
  }

  .auth-title {
    font-size: 1.7rem;
  }

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

/* =========================
   INDEX PRO / PORTAL HOME
========================= */

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.main-nav a {
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
  opacity: 0.88;
  transition: 0.2s ease;
}

.main-nav a:hover {
  color: var(--gold);
  opacity: 1;
}

.hero-portal-pro {
  padding: 34px 0 18px;
}

.hero-portal-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 26px;
  align-items: stretch;
}

.hero-portal-content,
.hero-portal-visual {
  background: linear-gradient(180deg, rgba(21, 25, 35, 0.95), rgba(13, 16, 22, 0.98));
  border: 1px solid rgba(215, 178, 112, 0.12);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.hero-portal-content {
  padding: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-portal-content h1 {
  margin: 18px 0 14px;
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 1.03;
  letter-spacing: -0.02em;
}

.hero-portal-content h1 span {
  color: var(--gold);
}

.hero-portal-content p {
  margin: 0 0 24px;
  color: var(--text-soft);
  font-size: 1.02rem;
  line-height: 1.75;
  max-width: 620px;
}

.hero-trust-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.hero-trust-item {
  min-width: 120px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-trust-item strong {
  display: block;
  color: var(--gold);
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.hero-trust-item span {
  color: var(--text-soft);
  font-size: 0.85rem;
}

.hero-portal-visual {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.hero-portal-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(215, 178, 112, 0.18), transparent 20%),
    radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.04), transparent 24%);
  pointer-events: none;
}

.hero-device-card {
  position: relative;
  width: min(360px, 100%);
  min-height: 460px;
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(17, 17, 17, 0.96), rgba(27, 32, 43, 0.98));
  border: 1px solid rgba(215, 178, 112, 0.18);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
  padding: 28px 22px;
  z-index: 1;
}

.hero-device-glow {
  position: absolute;
  inset: auto -40px -30px auto;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(215, 178, 112, 0.26), transparent 70%);
  pointer-events: none;
}

.hero-device-logo {
  width: 68px;
  height: 68px;
  object-fit: contain;
  margin-bottom: 24px;
}

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

.hero-device-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hero-device-chip,
.hero-device-status {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
}

.hero-device-chip {
  background: rgba(215, 178, 112, 0.12);
  color: var(--gold);
}

.hero-device-status {
  background: rgba(37, 194, 129, 0.12);
  color: var(--success);
}

.hero-device-list {
  display: grid;
  gap: 14px;
}

.hero-device-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-device-avatar {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--gold), var(--gold-strong));
  flex-shrink: 0;
}

.hero-device-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.98rem;
}

.hero-device-item span {
  color: var(--text-soft);
  font-size: 0.85rem;
}

.home-search-section {
  margin-top: -26px;
  position: relative;
  z-index: 5;
  padding-bottom: 18px;
}

.home-search-card {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 24px;
  padding: 18px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
  border: 1px solid rgba(215, 178, 112, 0.16);
}

.home-search-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1fr 0.9fr;
  gap: 14px;
  align-items: end;
}

.search-field {
  display: grid;
  gap: 8px;
}

.search-field label {
  color: #2a2f38;
  font-size: 0.88rem;
  font-weight: 800;
}

.search-field input,
.search-field select {
  width: 100%;
  min-height: 52px;
  border-radius: 14px;
  border: 1px solid rgba(16, 18, 24, 0.08);
  background: #ffffff;
  color: #171a20;
  padding: 0 14px;
  outline: none;
}

.search-field input:focus,
.search-field select:focus {
  border-color: rgba(215, 178, 112, 0.6);
  box-shadow: 0 0 0 4px rgba(215, 178, 112, 0.12);
}

.search-action {
  display: flex;
  align-items: end;
}

.portal-stats-section {
  background: linear-gradient(180deg, rgba(21, 25, 35, 0.92), rgba(13, 16, 22, 0.98));
  border: 1px solid rgba(215, 178, 112, 0.12);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  padding: 34px 28px;
}

.portal-stats-header {
  text-align: center;
  margin-bottom: 22px;
}

.portal-stats-header h2 {
  margin: 12px 0 0;
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.portal-stats-header h2 span {
  color: var(--gold);
}

.portal-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.portal-stat-card {
  text-align: center;
  padding: 26px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.portal-stat-card strong {
  display: block;
  font-size: 2.2rem;
  color: var(--gold);
  margin-bottom: 8px;
}

.portal-stat-card span {
  color: var(--text-soft);
  font-size: 1rem;
  font-weight: 700;
}

.apps-suite-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.suite-card {
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-card-2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow);
}

.suite-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.suite-avatar {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--gold), var(--gold-strong));
  color: #141414;
  font-weight: 900;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.suite-card h3 {
  margin: 0 0 4px;
  font-size: 1.2rem;
}

.suite-card-top p,
.suite-card p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.6;
}

.suite-actions {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.portal-cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(21, 25, 35, 0.95), rgba(13, 16, 22, 0.98));
  border: 1px solid rgba(215, 178, 112, 0.14);
  box-shadow: var(--shadow);
}

.portal-cta-box h2 {
  margin: 10px 0 10px;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.portal-cta-box p {
  margin: 0;
  color: var(--text-soft);
  max-width: 620px;
  line-height: 1.65;
}

.portal-cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.portal-footer {
  margin-top: 10px;
  padding: 38px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(8, 10, 14, 0.92);
}

.portal-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 24px;
}

.portal-footer-grid h4 {
  margin: 0 0 14px;
  font-size: 1rem;
}

.portal-footer-grid p,
.portal-footer-grid a {
  display: block;
  color: var(--text-soft);
  text-decoration: none;
  line-height: 1.8;
  margin: 0 0 6px;
}

.portal-footer-grid a:hover {
  color: var(--gold);
}

@media (max-width: 1100px) {
  .hero-portal-grid {
    grid-template-columns: 1fr;
  }

  .hero-portal-visual {
    min-height: 420px;
  }

  .home-search-grid {
    grid-template-columns: 1fr 1fr;
  }

  .apps-suite-grid {
    grid-template-columns: 1fr;
  }

  .portal-footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .main-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .portal-stats-grid {
    grid-template-columns: 1fr;
  }

  .portal-cta-box {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .hero-portal-content,
  .hero-portal-visual,
  .portal-stats-section,
  .portal-cta-box {
    padding: 22px;
  }

  .hero-portal-content h1 {
    font-size: 2.5rem;
  }

  .home-search-card {
    padding: 14px;
    border-radius: 18px;
  }

  .home-search-grid {
    grid-template-columns: 1fr;
  }

  .header-actions,
  .portal-cta-actions,
  .suite-actions {
    width: 100%;
    flex-direction: column;
  }

  .header-actions .btn,
  .portal-cta-actions .btn,
  .suite-actions .btn {
    width: 100%;
  }
}
.card-meta {
  margin-top: 4px;
  color: var(--text-soft);
  font-size: 0.88rem;
  line-height: 1.5;
}

/* ===== FOOTER BRAND SPI ===== */

.footer-brand p {
  margin-top: 10px;
}

.footer-powered {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--text-soft);
}

.footer-powered span {
  display: block;
  margin-bottom: 4px;
}

.footer-powered a {
  color: var(--gold);
  font-weight: 700;
  text-decoration: none;
  transition: 0.2s ease;
}

.footer-powered a:hover {
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-soft);
}

/* =========================
   NEGOCIO PRO
========================= */

.negocio-page-pro {
  padding-top: 26px;
  padding-bottom: 34px;
}

.negocio-hero-pro {
  position: relative;
  min-height: 420px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(215, 178, 112, 0.12);
  box-shadow: var(--shadow);
  margin-bottom: 22px;
}

.negocio-hero-cover,
.negocio-hero-cover img {
  width: 100%;
  height: 100%;
}

.negocio-hero-cover {
  position: absolute;
  inset: 0;
}

.negocio-hero-cover img {
  object-fit: cover;
}

.negocio-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.82));
}

.negocio-hero-content {
  position: relative;
  z-index: 1;
  min-height: 420px;
  padding: 28px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.negocio-hero-left {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  max-width: 70%;
}

.negocio-logo-box {
  width: 110px;
  height: 110px;
  border-radius: 24px;
  overflow: hidden;
  border: 2px solid var(--gold);
  background: #111;
  flex-shrink: 0;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
}

.negocio-logo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.negocio-hero-text h1 {
  margin: 10px 0 10px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
}

.negocio-hero-text p {
  margin: 0 0 14px;
  color: #d7dde8;
  max-width: 780px;
  line-height: 1.65;
}

.negocio-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-badge-soft {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.12);
}

.negocio-meta-inline {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--gold);
  font-size: 0.92rem;
  font-weight: 700;
}

.negocio-hero-right {
  width: 320px;
  max-width: 100%;
  display: grid;
  gap: 16px;
  flex-shrink: 0;
}

.negocio-kpi-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.negocio-kpi-card {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  text-align: left;
}

.negocio-kpi-card strong {
  display: block;
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 6px;
}

.negocio-kpi-card span {
  color: #d3d8e2;
  font-size: 0.9rem;
  font-weight: 700;
}

.negocio-cta-box {
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.negocio-info-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 0 0 24px;
}

.negocio-info-card {
  padding: 20px;
  border-radius: 20px;
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-card-2) 100%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.negocio-info-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
  color: var(--gold);
}

.negocio-info-card span {
  color: var(--text-soft);
  font-size: 0.94rem;
  line-height: 1.6;
}

.negocio-tabs-section {
  margin-bottom: 8px;
}

.negocio-tabs {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 8px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
}

.negocio-tab {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 14px;
  color: var(--text-main);
  text-decoration: none;
  font-weight: 800;
  transition: 0.2s ease;
}

.negocio-tab:hover,
.negocio-tab.active {
  background: rgba(215, 178, 112, 0.12);
  color: var(--gold);
}

.profesionales-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.profesional-preview-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  border-radius: 20px;
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-card-2) 100%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.profesional-preview-avatar {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--gold), var(--gold-strong));
  flex-shrink: 0;
}

.profesional-preview-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
}

.profesional-preview-card span {
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.55;
}

.modal-reserva-pro {
  max-width: 960px;
}

.card-meta {
  margin-top: 4px;
  color: var(--text-soft);
  font-size: 0.88rem;
  line-height: 1.5;
}

@media (max-width: 1100px) {
  .negocio-hero-content {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
  }

  .negocio-hero-left {
    max-width: 100%;
  }

  .negocio-hero-right {
    width: 100%;
  }

  .negocio-info-bar,
  .profesionales-preview-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .negocio-hero-pro {
    min-height: 440px;
  }

  .negocio-hero-content {
    min-height: 440px;
    padding: 22px;
  }

  .negocio-hero-left {
    flex-direction: column;
    align-items: flex-start;
  }

  .negocio-logo-box {
    width: 88px;
    height: 88px;
    border-radius: 20px;
  }

  .negocio-hero-text h1 {
    font-size: 2.2rem;
  }

  .negocio-tabs {
    width: 100%;
  }

  .negocio-tab {
    flex: 1 1 100%;
    justify-content: center;
  }
}

/* =========================
   MODAL RESERVA PRO
========================= */

.modal-reserva-pro .field-control,
.modal-reserva-pro select.field-control {
  background: #1b2029;
  color: #f7f8fb;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-reserva-pro select.field-control option {
  background: #11151d;
  color: #f7f8fb;
}

.modal-reserva-pro select.field-control:focus {
  border-color: rgba(215, 178, 112, 0.45);
  box-shadow: 0 0 0 4px rgba(215, 178, 112, 0.08);
}

.reserva-toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 10050;
  min-width: 280px;
  max-width: 420px;
  padding: 16px 18px;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.95rem;
  line-height: 1.5;
  animation: toastFadeIn 0.24s ease;
}

.reserva-toast.success {
  background: linear-gradient(180deg, rgba(37, 194, 129, 0.18), rgba(18, 32, 24, 0.96));
  color: #eafff3;
  border-color: rgba(37, 194, 129, 0.28);
}

.reserva-toast.error {
  background: linear-gradient(180deg, rgba(255, 107, 107, 0.14), rgba(38, 17, 17, 0.96));
  color: #ffe7e7;
  border-color: rgba(255, 107, 107, 0.24);
}

.reserva-toast strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1rem;
}

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

.review-stars {
  color: var(--gold);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.review-date {
  display: block;
  margin-top: 10px;
  color: var(--text-soft);
  opacity: 0.78;
  font-size: 0.82rem;
}

/* ===== THEME TOGGLE BUTTON ===== */
.btn-theme {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: transparent;
  color: var(--text-main);
  font-size: 1.1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease;
  flex-shrink: 0;
}

.btn-theme:hover {
  background: rgba(215, 178, 112, 0.1);
  border-color: rgba(215, 178, 112, 0.3);
  transform: none;
}

/* ===== LIGHT THEME ===== */
[data-theme="light"] {
  --bg-main: #f0f4fa;
  --bg-soft: #f7f9fc;
  --bg-card: #ffffff;
  --bg-card-2: #f5f8fd;
  --text-main: #1a1f2e;
  --text-soft: #64748b;
  --border: rgba(0, 0, 0, 0.08);
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --auth-bg-main: #f0f2f5;
  --auth-bg-card: rgba(255, 255, 255, 0.95);
  --auth-border-soft: rgba(0, 0, 0, 0.1);
  --auth-text-main: #1a1f2e;
  --auth-text-soft: #64748b;
  --auth-shadow-soft: 0 20px 60px rgba(0, 0, 0, 0.12);
}

[data-theme="light"] body {
  background: linear-gradient(180deg, #f0f4fa 0%, #eef1f8 100%);
  color: var(--text-main);
}

[data-theme="light"] .site-header {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .main-nav a {
  color: #1a1f2e;
}

[data-theme="light"] .hero-portal-content,
[data-theme="light"] .hero-portal-visual {
  background: linear-gradient(180deg, #ffffff 0%, #f5f8ff 100%);
  border-color: rgba(37, 99, 235, 0.1);
}

[data-theme="light"] .hero-device-card {
  background: linear-gradient(180deg, #ffffff 0%, #f5f8ff 100%);
  border-color: rgba(37, 99, 235, 0.15);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .hero-device-item {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.07);
}

[data-theme="light"] .hero-device-item strong {
  color: #1a1f2e;
}

[data-theme="light"] .hero-device-item span {
  color: #64748b;
}

[data-theme="light"] .hero-trust-item {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .home-search-card {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.98);
}

[data-theme="light"] .card,
[data-theme="light"] .servicio-card,
[data-theme="light"] .loading-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .card:hover,
[data-theme="light"] .servicio-card:hover {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  border-color: rgba(37, 99, 235, 0.15);
}

[data-theme="light"] .card-img,
[data-theme="light"] .servicio-img {
  background: #e8edf5;
}

[data-theme="light"] .portal-stats-section {
  background: linear-gradient(180deg, #ffffff 0%, #f5f8ff 100%);
  border-color: rgba(37, 99, 235, 0.1);
}

[data-theme="light"] .portal-stat-card {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .suite-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .portal-cta-box {
  background: linear-gradient(180deg, #ffffff 0%, #f5f8ff 100%);
  border-color: rgba(37, 99, 235, 0.1);
}

[data-theme="light"] .portal-footer {
  background: #e5eaf2;
  border-top-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .footer-bottom {
  border-top-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .modal-box {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .modal-close {
  background: #f0f2f5;
  color: #1a1f2e;
}

[data-theme="light"] .booking-col {
  background: #f5f8fd;
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .field-control {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.12);
  color: #1a1f2e;
}

[data-theme="light"] .field-control::placeholder {
  color: rgba(0, 0, 0, 0.35);
}

[data-theme="light"] .calendar-box {
  background: #f5f7fa;
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .calendar-month-label {
  color: #1a1f2e;
}

[data-theme="light"] .calendar-nav {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .calendar-day {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  color: #1a1f2e;
}

[data-theme="light"] .calendar-day:hover {
  border-color: rgba(37, 99, 235, 0.3);
}

[data-theme="light"] .calendar-day.disabled {
  background: #f0f2f5;
  color: #94a3b8;
}

[data-theme="light"] .hora-btn {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.1);
  color: #1a1f2e;
}

[data-theme="light"] .hora-btn-no-disponible {
  color: rgba(0, 0, 0, 0.35);
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.07);
}

[data-theme="light"] .horarios-empty-state {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .user-chip {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.08);
  color: #1a1f2e;
}

[data-theme="light"] .user-chip-text span {
  color: #64748b;
}

[data-theme="light"] .user-menu {
  border-left-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .review-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .negocio-info-card,
[data-theme="light"] .profesional-preview-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .negocio-tabs {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .negocio-tab {
  color: #1a1f2e;
}

[data-theme="light"] .modal-reserva-pro .field-control,
[data-theme="light"] .modal-reserva-pro select.field-control {
  background: #ffffff;
  color: #1a1f2e;
  border-color: rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .modal-reserva-pro select.field-control option {
  background: #ffffff;
  color: #1a1f2e;
}

[data-theme="light"] .btn-dark {
  background: #1e293b;
}

[data-theme="light"] .btn-outline {
  border-color: rgba(37, 99, 235, 0.35);
  color: #2563eb;
}

[data-theme="light"] .btn-theme {
  border-color: rgba(0, 0, 0, 0.1);
  color: #1a1f2e;
}

[data-theme="light"] .btn-theme:hover {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.18);
}

[data-theme="light"] .auth-page {
  background: linear-gradient(180deg, #f0f4fa 0%, #eef1f8 100%);
  color: var(--auth-text-main);
}

[data-theme="light"] .auth-card {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .brand-point {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .brand-point strong {
  color: #1a1f2e;
}

[data-theme="light"] .section-head h2 {
  color: #1a1f2e;
}

[data-theme="light"] .empty-hours {
  color: #64748b;
}
/* ===========================
   LIGHT MODE — ACENTOS AZULES
=========================== */

[data-theme="light"] .btn-gold {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.18);
}

[data-theme="light"] .btn-gold:hover {
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.28);
}

[data-theme="light"] .hero-badge,
[data-theme="light"] .section-kicker {
  color: #2563eb;
  background: rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.15);
}

[data-theme="light"] .badge {
  background: rgba(37, 99, 235, 0.08);
  color: #2563eb;
}

[data-theme="light"] .precio {
  color: #2563eb;
}

[data-theme="light"] .field-label {
  color: #2563eb;
}

[data-theme="light"] .portal-stat-card strong {
  color: #2563eb;
}

[data-theme="light"] .hero-trust-item strong {
  color: #2563eb;
}

[data-theme="light"] .suite-avatar {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
}

[data-theme="light"] .hero-device-avatar {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

[data-theme="light"] .calendar-day.selected {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  box-shadow: 0 10px 18px rgba(37, 99, 235, 0.22);
}

[data-theme="light"] .hora-btn.active {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.22);
}

[data-theme="light"] .hora-btn-disponible {
  background: rgba(37, 99, 235, 0.05);
  border-color: rgba(37, 99, 235, 0.22);
}

[data-theme="light"] .hora-btn-disponible:hover {
  background: rgba(37, 99, 235, 0.1);
  border-color: rgba(37, 99, 235, 0.35);
  transform: translateY(-1px);
}

[data-theme="light"] .hero-portal-content h1 span {
  color: #2563eb;
}

[data-theme="light"] .portal-stats-header h2 span {
  color: #2563eb;
}

[data-theme="light"] .negocio-meta-inline {
  color: #2563eb;
}

[data-theme="light"] .negocio-logo-box {
  border-color: #2563eb;
}

[data-theme="light"] .negocio-kpi-card strong {
  color: #2563eb;
}

[data-theme="light"] .negocio-info-card strong {
  color: #2563eb;
}

[data-theme="light"] .negocio-tab:hover,
[data-theme="light"] .negocio-tab.active {
  background: rgba(37, 99, 235, 0.08);
  color: #2563eb;
}

[data-theme="light"] .main-nav a:hover {
  color: #2563eb;
}

[data-theme="light"] .portal-footer-grid a:hover {
  color: #2563eb;
}

[data-theme="light"] .auth-bottom a {
  color: #2563eb;
}

[data-theme="light"] .horarios-badge-ok {
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
  border-color: rgba(37, 99, 235, 0.25);
}

[data-theme="light"] .hero-badge-soft {
  background: rgba(37, 99, 235, 0.06);
  color: #2563eb;
  border-color: rgba(37, 99, 235, 0.12);
}

[data-theme="light"] .profesionales-preview-avatar {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

/* ===========================
   PORTAL — MOBILE FIRST (OVERRIDES)
   Defaults = mobile → tablet (min 640) → desktop (min 1100)
=========================== */

/* Hamburger nav toggle */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: transparent;
  color: var(--text-main);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s ease;
  order: -1;
}

.nav-toggle:hover {
  background: rgba(215, 178, 112, 0.1);
}

[data-theme="light"] .nav-toggle:hover {
  background: rgba(37, 99, 235, 0.07);
}

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 40;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.22);
}

.mobile-nav.open {
  display: block;
}

.mobile-nav-inner {
  padding: 8px 0 14px;
}

.mobile-nav a {
  display: block;
  padding: 14px 20px;
  color: var(--text-main);
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  border-bottom: 1px solid var(--border);
  transition: 0.15s ease;
}

.mobile-nav a:last-child {
  border-bottom: none;
}

.mobile-nav a:hover {
  color: var(--gold);
  background: rgba(215, 178, 112, 0.05);
}

[data-theme="light"] .mobile-nav a:hover {
  color: #2563eb;
  background: rgba(37, 99, 235, 0.04);
}

/* Default: hide desktop nav, show hamburger */
.main-nav {
  display: none;
}

.header-actions .btn-gold-hidden-mobile {
  display: none;
}

/* Hero — mobile default */
.hero-portal-pro {
  padding: 18px 0 12px;
}

.hero-portal-grid {
  grid-template-columns: 1fr;
  gap: 14px;
}

.hero-portal-content {
  padding: 22px 18px;
}

.hero-portal-visual {
  min-height: 300px;
}

/* Search — mobile default: 1 col */
.home-search-grid {
  grid-template-columns: 1fr;
  gap: 10px;
}

.home-search-section {
  margin-top: -16px;
}

/* Stats — mobile default: 1 col */
.portal-stats-grid {
  grid-template-columns: 1fr;
  gap: 12px;
}

/* Apps — mobile default: 1 col */
.apps-suite-grid {
  grid-template-columns: 1fr;
  gap: 14px;
}

/* CTA — mobile: vertical */
.portal-cta-box {
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 18px;
}

.portal-cta-actions {
  width: 100%;
}

.portal-cta-actions .btn {
  flex: 1 1 auto;
}

/* Footer — mobile: 1 col */
.portal-footer-grid {
  grid-template-columns: 1fr;
  gap: 20px;
}

/* Header actions: stack on very small screens */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}

/* Hide "Reservar ahora" button in header on mobile (already in hero) */
@media (max-width: 639px) {
  .header-cta-hide-mobile {
    display: none;
  }
}

/* ── Tablet (≥ 640px) ── */
@media (min-width: 640px) {
  .portal-stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .portal-cta-box {
    padding: 26px 22px;
  }

  .home-search-section {
    margin-top: -20px;
  }
}

/* ── Tablet grande (≥ 768px) ── */
@media (min-width: 768px) {
  .main-nav {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }

  .hero-portal-pro {
    padding: 26px 0 16px;
  }

  .hero-portal-content {
    padding: 34px 28px;
  }

  .hero-portal-visual {
    min-height: 400px;
  }

  .home-search-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .home-search-section {
    margin-top: -22px;
  }

  .apps-suite-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .portal-footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }

  .portal-cta-box {
    flex-direction: row;
    align-items: center;
    padding: 30px 26px;
  }

  .portal-cta-actions {
    width: auto;
  }

  .portal-cta-actions .btn {
    flex: none;
  }
}

/* ── Desktop (≥ 1100px) ── */
@media (min-width: 1100px) {
  .hero-portal-pro {
    padding: 34px 0 18px;
  }

  .hero-portal-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 26px;
  }

  .hero-portal-content {
    padding: 44px;
  }

  .hero-portal-visual {
    min-height: 520px;
  }

  .home-search-grid {
    grid-template-columns: 2fr 1.2fr 1fr 0.9fr;
  }

  .home-search-section {
    margin-top: -26px;
  }

  .apps-suite-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .portal-cta-box {
    padding: 32px;
  }
}

/* ===========================
   HERO CINEMATOGRÁFICO
=========================== */

.hero-portal-pro {
  position: relative;
  overflow: hidden;
  padding: 52px 0 62px;
  background:
    radial-gradient(ellipse 70% 60% at 78% 30%, rgba(180, 138, 55, 0.28) 0%, transparent 52%),
    radial-gradient(ellipse 50% 70% at 14% 78%, rgba(110, 84, 28, 0.16) 0%, transparent 50%),
    radial-gradient(circle at 92% 8%,  rgba(215, 178, 112, 0.2) 0%, transparent 20%),
    radial-gradient(circle at 6% 94%,  rgba(140, 100, 32, 0.12) 0%, transparent 18%),
    radial-gradient(ellipse 90% 50% at 50% 85%, rgba(5, 8, 12, 0.7) 0%, transparent 70%),
    linear-gradient(158deg, #04060a 0%, #0b1320 30%, #101928 60%, #060b12 100%);
  border-bottom: 1px solid rgba(215, 178, 112, 0.1);
}

@media (min-width: 768px) {
  .hero-portal-pro { padding: 68px 0 78px; }
}
@media (min-width: 1100px) {
  .hero-portal-pro { padding: 82px 0 88px; }
}

.hero-portal-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 45% at 68% 42%, rgba(215, 178, 112, 0.06) 0%, transparent 60%),
    radial-gradient(circle at 35% 55%, rgba(255,255,255,0.015) 0%, transparent 45%);
  pointer-events: none;
  z-index: 0;
}

.hero-portal-grid {
  position: relative;
  z-index: 1;
}

/* Hero content — sin card, flota sobre el fondo */
.hero-portal-content {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Hero visual — fondo transparente, solo el device card */
.hero-portal-visual {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
}

/* Título hero con sombra para legibilidad sobre el fondo */
.hero-portal-content h1 {
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.45);
}

.hero-portal-content p {
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

/* Botón outline adaptado al hero */
.hero-portal-content .btn-outline {
  border-color: rgba(255, 255, 255, 0.35);
  color: #f5f5f5;
  backdrop-filter: blur(4px);
  background: rgba(255, 255, 255, 0.05);
}

.hero-portal-content .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.hide-mobile {
  display: none;
}
@media (min-width: 768px) {
  .hide-mobile { display: inline; }
}

/* Stats hero con fondo translúcido */
.hero-trust-item {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(6px);
}

[data-theme="light"] .hero-portal-pro {
  background:
    radial-gradient(ellipse 70% 60% at 78% 30%, rgba(37, 99, 235, 0.18) 0%, transparent 52%),
    radial-gradient(ellipse 50% 70% at 14% 78%, rgba(30, 64, 175, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 92% 8%,  rgba(37, 99, 235, 0.16) 0%, transparent 20%),
    radial-gradient(ellipse 90% 50% at 50% 85%, rgba(240, 244, 250, 0.8) 0%, transparent 70%),
    linear-gradient(158deg, #dce8ff 0%, #eef2ff 30%, #f0f5ff 60%, #e8eeff 100%);
  border-bottom-color: rgba(37, 99, 235, 0.12);
}

[data-theme="light"] .hero-portal-overlay {
  background:
    radial-gradient(ellipse 55% 45% at 68% 42%, rgba(37, 99, 235, 0.06) 0%, transparent 60%);
}

[data-theme="light"] .hero-portal-content h1 {
  color: #0f172a;
  text-shadow: none;
}

[data-theme="light"] .hero-portal-content p {
  color: #475569;
  text-shadow: none;
}

[data-theme="light"] .hero-portal-content .btn-outline {
  border-color: rgba(37, 99, 235, 0.35);
  color: #2563eb;
  background: rgba(37, 99, 235, 0.06);
  backdrop-filter: none;
}

[data-theme="light"] .hero-portal-content .btn-outline:hover {
  background: rgba(37, 99, 235, 0.12);
}

[data-theme="light"] .hero-trust-item {
  background: rgba(255, 255, 255, 0.65) !important;
  border-color: rgba(37, 99, 235, 0.12) !important;
  backdrop-filter: blur(8px);
}

[data-theme="light"] .hero-trust-item strong {
  color: #2563eb;
}

[data-theme="light"] .hero-trust-item span {
  color: #475569;
}

[data-theme="light"] .hero-device-card {
  box-shadow: 0 24px 60px rgba(37, 99, 235, 0.15), 0 8px 20px rgba(0,0,0,0.08);
}

/* ===========================
   BUSCADOR CON ÍCONOS
=========================== */

.home-search-section {
  margin-top: -28px;
  position: relative;
  z-index: 10;
  padding-bottom: 0;
}

.home-search-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 12px 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3), 0 4px 12px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

[data-theme="light"] .home-search-card {
  box-shadow: 0 16px 40px rgba(37, 99, 235, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
  border-color: rgba(37, 99, 235, 0.1);
}

.home-search-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-items: stretch;
}

@media (min-width: 580px) {
  .home-search-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 880px) {
  .home-search-grid {
    grid-template-columns: 2fr 1.3fr 1.2fr auto;
    gap: 8px;
  }
  .home-search-card {
    padding: 10px 12px;
  }
}

/* Campo con ícono */
.search-icon-field {
  position: relative;
  display: flex;
  align-items: stretch;
}

.sif-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  pointer-events: none;
  z-index: 2;
  line-height: 1;
}

.search-icon-field input,
.search-icon-field select {
  width: 100%;
  min-height: 52px;
  padding: 0 14px 0 42px;
  border: 1.5px solid rgba(0, 0, 0, 0.09);
  border-radius: 14px;
  background: #f8fafb;
  color: #1a1f2e;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
}

.search-icon-field input::placeholder {
  color: #94a3b8;
}

.search-icon-field input[type="date"] {
  color: #64748b;
}

.search-icon-field input:focus,
.search-icon-field select:focus {
  border-color: rgba(215, 178, 112, 0.65);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(215, 178, 112, 0.12);
}

[data-theme="light"] .search-icon-field input:focus,
[data-theme="light"] .search-icon-field select:focus {
  border-color: rgba(37, 99, 235, 0.5);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Botón buscar */
.btn-buscar {
  min-height: 52px;
  border: none;
  border-radius: 14px;
  background: #1a1f2e;
  color: #ffffff;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
  padding: 0 24px;
  font-family: inherit;
}

.btn-buscar:hover {
  background: #252d42;
  transform: translateY(-1px);
}

[data-theme="light"] .btn-buscar {
  background: #2563eb;
  color: #ffffff;
}

[data-theme="light"] .btn-buscar:hover {
  background: #1d4ed8;
}

.search-action {
  display: flex;
  align-items: stretch;
}

.search-action .btn-buscar {
  width: 100%;
}

/* ── Booking summary card ────────────────────────────────── */
.reserva-resumen {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 12px;
}

.reserva-resumen-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 10px;
}

.reserva-resumen-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  padding: 5px 0;
  border-bottom: 1px solid var(--card-border);
  font-size: 0.85rem;
}

.reserva-resumen-row:last-child {
  border-bottom: none;
}

.reserva-resumen-label {
  color: var(--muted);
  flex-shrink: 0;
}

.reserva-resumen-value {
  font-weight: 600;
  color: var(--text);
  text-align: right;
}

/* ══════════════════════════════════════════════════════
   NEGOCIO PAGE V2 — tabs + layout rediseñado
   ══════════════════════════════════════════════════════ */

/* Hero */
.ngv2-hero {
  position: relative;
  min-height: 280px;
  overflow: hidden;
}

.ngv2-hero-cover {
  position: absolute;
  inset: 0;
}

.ngv2-hero-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ngv2-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.35) 0%, rgba(0,0,0,.72) 100%);
}

.ngv2-hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 32px 0 28px;
  flex-wrap: wrap;
}

.ngv2-hero-left {
  display: flex;
  align-items: flex-end;
  gap: 16px;
}

.ngv2-logo-ring {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 3px solid var(--accent);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--card-bg);
}

.ngv2-logo-ring img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ngv2-hero-info h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 6px;
  text-shadow: 0 1px 4px rgba(0,0,0,.5);
}

.ngv2-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 8px;
}

.ngv2-meta-item {
  font-size: 0.82rem;
  color: rgba(255,255,255,.85);
}

.ngv2-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ngv2-stat-pill {
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  border-radius: 20px;
  padding: 3px 12px;
  font-size: 0.8rem;
}

.ngv2-hero-right {
  flex-shrink: 0;
}

.ngv2-cta-btn {
  font-size: 0.95rem;
  padding: 10px 28px;
  white-space: nowrap;
}

/* Tabs bar */
.ngv2-tabs-wrap {
  background: var(--card-bg);
  border-bottom: 1px solid var(--card-border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.ngv2-tabs {
  display: flex;
  gap: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.ngv2-tabs::-webkit-scrollbar { display: none; }

.ngv2-tab {
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 14px 20px;
  white-space: nowrap;
  transition: color .2s, border-color .2s;
  font-family: inherit;
}

.ngv2-tab:hover {
  color: var(--text);
}

.ngv2-tab.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
  font-weight: 600;
}

/* Tab panels */
.ngv2-body {
  padding-top: 28px;
  padding-bottom: 60px;
  min-height: 400px;
}

.ngv2-tab-panel {
  animation: fadeInTab .18s ease;
}

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

/* ── Servicios list ──────────────────────────────────── */
.ngv2-servicios-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ngv2-servicio-row {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 14px;
  transition: box-shadow .2s, transform .15s;
}

.ngv2-servicio-row:hover {
  box-shadow: 0 4px 18px rgba(0,0,0,.18);
  transform: translateY(-1px);
}

.ngv2-srv-img {
  width: 70px;
  height: 70px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--input-bg);
}

.ngv2-srv-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ngv2-srv-body {
  flex: 1;
  min-width: 0;
}

.ngv2-srv-nombre {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 4px;
}

.ngv2-srv-desc {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0 0 6px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.ngv2-srv-meta {
  display: flex;
  gap: 12px;
}

.ngv2-srv-duracion {
  font-size: 0.8rem;
  color: var(--muted);
}

.ngv2-srv-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0;
}

.ngv2-srv-precio {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent);
}

.ngv2-btn-reservar {
  font-size: 0.85rem;
  padding: 7px 18px;
}

/* ── Profesionales grid ──────────────────────────────── */
.ngv2-prof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
}

.ngv2-prof-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 20px 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: box-shadow .2s;
}

.ngv2-prof-card:hover {
  box-shadow: 0 4px 18px rgba(0,0,0,.18);
}

.ngv2-prof-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--accent);
  background: var(--input-bg);
}

.ngv2-prof-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ngv2-prof-info strong {
  display: block;
  font-size: 0.92rem;
  color: var(--text);
}

.ngv2-prof-info span {
  font-size: 0.78rem;
  color: var(--muted);
  display: block;
  margin-top: 2px;
}

/* ── Reseñas list ────────────────────────────────────── */
.ngv2-reviews-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ── Galería grid ────────────────────────────────────── */
.ngv2-galeria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
}

.ngv2-galeria-item {
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  background: var(--input-bg);
}

.ngv2-galeria-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}

.ngv2-galeria-item:hover img {
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 480px) {
  .ngv2-hero-content { padding: 20px 0 18px; }
  .ngv2-logo-ring { width: 56px; height: 56px; }
  .ngv2-hero-info h1 { font-size: 1.2rem; }
  .ngv2-hero-right { width: 100%; }
  .ngv2-cta-btn { width: 100%; }
  .ngv2-tab { padding: 12px 14px; font-size: 0.85rem; }
  .ngv2-srv-img { width: 56px; height: 56px; }
}
