/* ═══════════════════════════════════════════════════════════
   RESERVANDONLINE — LANDING PAGE STYLES
   Paleta: Navy #0d1b2a · Azul #2d7dd2 · Teal #00c9a7 · Amber #f7b731
   Tipografía: Barlow Condensed (títulos) · Barlow (cuerpo)
═══════════════════════════════════════════════════════════ */

/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:       #0d1b2a;
  --navy-dark:  #080f18;
  --navy-mid:   #111e30;
  --navy-card:  #152035;
  --navy-border:#1e3150;
  --blue:       #2d7dd2;
  --blue-light: #4a9ae8;
  --blue-glow:  #2d7dd240;
  --teal:       #00c9a7;
  --amber:      #f7b731;
  --red:        #e74c3c;
  --purple:     #9b59b6;
  --white:      #f0f4f8;
  --muted:      #6b88a8;
  --text:       #ccd6e8;
  --border:     #1e3150;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  28px;

  --shadow-blue: 0 0 40px #2d7dd230;
  --shadow-card: 0 4px 24px #00000040;

  --font-display: 'Barlow Condensed', sans-serif;
  --font-body:    'Barlow', sans-serif;
}

html { scroll-behavior: smooth; }

/* ─── FOCUS VISIBLE — accesibilidad de teclado (WCAG AA) ─── */
/* Ocultar outline para mouse, mostrarlo para teclado */
*:focus              { outline: none; }
*:focus-visible      {
  outline:        2px solid var(--blue, #2d7dd2);
  outline-offset: 3px;
  border-radius:  4px;
}
/* Inputs y selects: usar box-shadow para no chocar con border */
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--blue, #2d7dd2);
}
/* Botones: outline más visible */
button:focus-visible,
a:focus-visible {
  outline:        2px solid var(--blue, #2d7dd2);
  outline-offset: 3px;
}

/* ─── SCROLLBAR CUSTOM (dark mode base) ─── */
::-webkit-scrollbar               { width: 6px; height: 6px; }
::-webkit-scrollbar-track         { background: var(--navy-card, #152035); }
::-webkit-scrollbar-thumb         { background: var(--border, #1e3150); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover   { background: var(--muted, #6b88a8); }
* { scrollbar-width: thin; scrollbar-color: var(--border, #1e3150) transparent; }

/* ─── LIGHT MODE ─── */
[data-theme="light"] {
  --navy:       #f0f4f8;
  --navy-dark:  #e2e8f0;
  --navy-mid:   #f8fafc;
  --navy-card:  #ffffff;
  --navy-border:#cbd5e1;
  --blue:       #2563eb;
  --blue-light: #3b82f6;
  --blue-glow:  #2563eb30;
  --teal:       #0d9488;
  --amber:      #d97706;
  --red:        #dc2626;
  --white:      #0f172a;
  --muted:      #64748b;
  --text:       #334155;
  --border:     #e2e8f0;
  --shadow-card: 0 2px 12px #00000015;
}
[data-theme="light"] .sidebar { background:#1e293b; border-color:#334155; }
[data-theme="light"] .sidebar-link { color:#94a3b8; }
[data-theme="light"] .sidebar-link:hover { background:rgba(255,255,255,.08); color:#fff; }
[data-theme="light"] .sidebar-link.active { background:rgba(37,99,235,.2); color:#fff; }
[data-theme="light"] .nav-group-label { color:#64748b; }
[data-theme="light"] .sidebar-user strong { color:#f0f4f8; }
[data-theme="light"] .sidebar-user span  { color:#94a3b8; }
[data-theme="light"] .logo-white { color:#f0f4f8; }
[data-theme="light"] .appt-status.status-confirmed { background:rgba(13,148,136,.12); color:#0d9488; }
[data-theme="light"] .appt-status.status-reserved  { background:rgba(37,99,235,.1);   color:#2563eb; }
[data-theme="light"] .appt-status.status-waiting   { background:rgba(217,119,6,.1);   color:#d97706; }
[data-theme="light"] .appt-status.status-attended  { background:rgba(100,116,139,.1); color:#64748b; }
[data-theme="light"] .appt-status.status-noshow    { background:rgba(220,38,38,.1);   color:#dc2626; }
[data-theme="light"] .kpi-card { box-shadow:0 2px 12px #00000010; }
[data-theme="light"] .wv-event-title, [data-theme="light"] .wv-event-sub,
[data-theme="light"] .wv-event-time { color:#1e293b !important; }
[data-theme="light"] #loginPage { background:#f0f4f8; }
[data-theme="light"] #loginPage h1, [data-theme="light"] .pin-box { color:#0f172a; }


body {
  font-family: var(--font-body);
  background: var(--navy-dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.text-gradient {
  background: linear-gradient(135deg, var(--blue-light) 0%, var(--teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: #fff;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  transition: all .25s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  background: var(--blue-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--blue-glow);
}
.btn-primary.btn-lg { padding: 15px 30px; font-size: 16px; border-radius: var(--radius-lg); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  padding: 12px 24px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--navy-border);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  transition: all .25s;
  cursor: pointer;
}
.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue-light);
  background: var(--blue-glow);
  transform: translateY(-2px);
}
.btn-outline.btn-lg { padding: 15px 30px; font-size: 16px; border-radius: var(--radius-lg); }

.btn-ghost {
  color: var(--text);
  font-weight: 500;
  font-size: 14px;
  transition: color .2s;
}
.btn-ghost:hover { color: var(--white); }

.btn-ghost-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  padding: 15px 30px;
  border-radius: var(--radius-lg);
  border: 1.5px solid rgba(255,255,255,0.25);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  transition: all .25s;
}
.btn-ghost-white:hover {
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.08);
}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .7; transform: scale(.95); }
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}
@keyframes slidePill {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}

.animate-in {
  animation: fadeUp .6s ease both;
  animation-delay: var(--delay, 0s);
}

/* ─── NAVBAR ─── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: background .3s, box-shadow .3s, padding .3s;
}
.navbar.scrolled {
  background: rgba(8,15,24,0.95);
  backdrop-filter: blur(16px);
  box-shadow: 0 2px 24px #00000060;
  padding: 10px 0;
}
.nav-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-icon svg { width: 38px; height: 38px; }
.logo-text {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 20px;
  letter-spacing: 0.5px;
}
.logo-white { color: #d4c5a0; }
.logo-blue  { color: var(--blue); }

.nav-links {
  display: flex;
  list-style: none;
  gap: 28px;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  transition: color .2s;
}
.nav-links a:hover { color: var(--white); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all .3s;
}

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(45,125,210,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45,125,210,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 30%, transparent 100%);
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .35;
}
.hero-glow-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #2d7dd2 0%, transparent 70%);
  top: -100px; right: -100px;
}
.hero-glow-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #00c9a7 0%, transparent 70%);
  bottom: 0; left: -50px;
  opacity: .2;
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(45,125,210,0.12);
  border: 1px solid rgba(45,125,210,0.3);
  color: var(--blue-light);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
  width: fit-content;
}
.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--teal);
  animation: pulse 2s infinite;
}
.hero-title {
  font-size: clamp(40px, 5vw, 64px);
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.05;
}
.hero-sub {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 500px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.stat span {
  font-size: 12px;
  color: var(--muted);
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* Dashboard Preview */
.hero-visual {
  position: relative;
  animation: floatY 6s ease-in-out infinite;
}
.dashboard-preview {
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-blue), var(--shadow-card);
}
.preview-bar {
  background: var(--navy-mid);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-r { background: #ff5f57; }
.dot-y { background: #febc2e; }
.dot-g { background: #28c840; }
.preview-url {
  font-size: 11px;
  color: var(--muted);
  margin-left: 8px;
  font-family: monospace;
}
.preview-body { padding: 16px; }

.preview-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}
.kpi {
  border-radius: var(--radius-sm);
  padding: 10px 8px;
  text-align: center;
}
.kpi-blue  { background: rgba(45,125,210,0.15); border: 1px solid rgba(45,125,210,0.3); }
.kpi-teal  { background: rgba(0,201,167,0.12);  border: 1px solid rgba(0,201,167,0.25); }
.kpi-amber { background: rgba(247,183,49,0.12); border: 1px solid rgba(247,183,49,0.25); }
.kpi-red   { background: rgba(231,76,60,0.12);  border: 1px solid rgba(231,76,60,0.25); }
.kpi-val {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  color: var(--white);
}
.kpi-label { font-size: 10px; color: var(--muted); }

.preview-cal { margin-bottom: 12px; }
.cal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.cal-title { font-size: 12px; font-weight: 600; color: var(--white); }
.cal-views { display: flex; gap: 4px; }
.cv {
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 4px;
  color: var(--muted);
  cursor: pointer;
  transition: all .2s;
}
.cv.active {
  background: var(--blue);
  color: #fff;
}
.cal-rows { display: flex; flex-direction: column; gap: 5px; }
.cal-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cal-time { font-size: 10px; color: var(--muted); min-width: 36px; }
.cal-event {
  flex: 1;
  padding: 5px 8px;
  border-radius: var(--radius-sm);
  min-width: 0;
}
.ev-blue  { background: rgba(45,125,210,0.2); border-left: 3px solid var(--blue); }
.ev-teal  { background: rgba(0,201,167,0.15); border-left: 3px solid var(--teal); }
.ev-amber { background: rgba(247,183,49,0.15); border-left: 3px solid var(--amber); }
.ev-name  { display: block; font-size: 10px; font-weight: 600; color: var(--white); }
.ev-client { font-size: 9px; color: var(--muted); }
.ev-badge {
  font-size: 9px;
  padding: 2px 6px;
  border-radius: 10px;
  white-space: nowrap;
  flex-shrink: 0;
}
.ev-badge.confirmed { background: rgba(0,201,167,0.2); color: var(--teal); }
.ev-badge.reserved  { background: rgba(45,125,210,0.2); color: var(--blue-light); }
.ev-badge.waiting   { background: rgba(247,183,49,0.2); color: var(--amber); }

.preview-notif {
  background: rgba(37,211,102,0.08);
  border: 1px solid rgba(37,211,102,0.2);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: slidePill 1s ease 1.5s both;
}
.notif-icon { font-size: 14px; }
.notif-text { font-size: 10px; color: var(--text); flex: 1; }
.notif-check { color: #25D366; font-size: 12px; }

/* Floating cards */
.float-card {
  position: absolute;
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-card);
  min-width: 180px;
}
.float-card span:first-child { font-size: 20px; }
.float-card strong { display: block; font-size: 12px; color: var(--white); }
.float-card p { font-size: 10px; color: var(--muted); margin: 0; }
.float-card-1 {
  top: -20px; left: -30px;
  animation: floatY 5s ease-in-out infinite;
  animation-delay: 1s;
}
.float-card-2 {
  bottom: 30px; right: -30px;
  animation: floatY 5s ease-in-out infinite;
  animation-delay: 2s;
}

/* Trust bar */
.hero-trust {
  margin-top: 60px;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  text-align: center;
}
.hero-trust p { font-size: 12px; color: var(--muted); margin-bottom: 16px; text-transform: uppercase; letter-spacing: 1px; }
.trust-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
}
.trust-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  opacity: .65;
  transition: opacity .2s;
}
.trust-logo:hover { opacity: 1; }

/* ─── SECTION HEADERS ─── */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-tag {
  display: inline-block;
  background: rgba(45,125,210,0.12);
  border: 1px solid rgba(45,125,210,0.25);
  color: var(--blue-light);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.section-header h2 { font-size: clamp(32px, 4vw, 52px); color: var(--white); margin-bottom: 14px; }
.section-header p  { font-size: 17px; color: var(--muted); max-width: 600px; margin: 0 auto; }

/* ─── FEATURES ─── */
.features {
  padding: 100px 0;
  background: var(--navy);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
}
.feat-card {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.feat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-blue);
  border-color: rgba(45,125,210,0.35);
}
.feat-card-large {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto;
  gap: 0 24px;
}
.feat-card-large h3    { grid-column: 1; }
.feat-card-large p     { grid-column: 1; }
.feat-card-large .feat-list { grid-column: 1; }
.feat-card-large .feat-visual { grid-column: 2; grid-row: 1/4; align-self: center; }

.feat-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--c) 15%, transparent);
  border: 1px solid color-mix(in srgb, var(--c) 30%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}
.feat-card h3 { font-size: 20px; color: var(--white); margin-bottom: 10px; }
.feat-card p  { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.feat-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.feat-list li {
  font-size: 13px;
  color: var(--text);
  padding-left: 16px;
  position: relative;
}
.feat-list li::before {
  content: '';
  position:         absolute;
  left:             0;
  top:              3px;
  width:            12px;
  height:           12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'%3E%3Ccircle cx='6' cy='6' r='5.5' fill='%2300c9a722' stroke='%2300c9a7' stroke-width='1'/%3E%3Cpath d='M3.5 6l1.8 1.8 3.2-3.2' stroke='%2300c9a7' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size:  contain;
  background-repeat: no-repeat;
}
.feat-calendar-mini {
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fcm-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text);
}
.fcm-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.feat-notif-demo {
  margin-top: 12px;
}
.notif-bubble {
  background: #128C7E;
  color: #fff;
  border-radius: 12px 12px 12px 0;
  padding: 10px 14px;
  font-size: 12px;
  line-height: 1.6;
  position: relative;
  max-width: 240px;
}

/* ─── HOW IT WORKS ─── */
.how {
  padding: 100px 0;
  background: var(--navy-dark);
}
.steps {
  display: flex;
  align-items: center;
  gap: 16px;
}
.step {
  flex: 1;
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: transform .25s, border-color .25s;
}
.step:hover { transform: translateY(-4px); border-color: var(--blue); }
.step-number {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 900;
  color: rgba(45,125,210,0.15);
  line-height: 1;
  margin-bottom: 8px;
}
.step-icon { font-size: 36px; margin-bottom: 14px; }
.step h3 { font-size: 24px; color: var(--white); margin-bottom: 10px; }
.step p   { font-size: 14px; color: var(--muted); line-height: 1.6; }
.step-arrow {
  font-size: 28px;
  color: var(--blue);
  opacity: .5;
  flex-shrink: 0;
}

/* ─── SECTORS ─── */
.sectors {
  padding: 100px 0;
  background: var(--navy);
}
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.sector-card {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  transition: all .25s;
}
.sector-card:hover {
  border-color: rgba(45,125,210,0.4);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(45,125,210,0.12);
}
.sector-emoji { display: block; font-size: 32px; margin-bottom: 12px; }
.sector-card h4 { font-size: 16px; color: var(--white); margin-bottom: 8px; }
.sector-card p  { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* ─── TESTIMONIALS ─── */
.testimonials {
  padding: 100px 0;
  background: var(--navy-dark);
}
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testi-card {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform .25s;
}
.testi-card:hover { transform: translateY(-4px); }
.testi-stars { color: var(--amber); font-size: 16px; }
.testi-card p { font-size: 14px; color: var(--text); line-height: 1.7; flex: 1; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-ava, .testi-avatar { object-fit: cover;
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.testi-author strong { display: block; font-size: 14px; color: var(--white); }
.testi-author span   { font-size: 12px; color: var(--muted); }

/* ─── PRICING ─── */
.pricing {
  padding: 100px 0;
  background: var(--navy);
}
.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 48px;
}
.ptog-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.ptog-label.active { color: var(--white); }
.savings-badge {
  background: rgba(0,201,167,0.2);
  color: var(--teal);
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 10px;
}
.toggle-switch { position: relative; width: 44px; height: 24px; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--border);
  border-radius: 100px;
  cursor: pointer;
  transition: .3s;
}
.toggle-slider::before {
  content: '';
  position: absolute;
  width: 18px; height: 18px;
  left: 3px; top: 3px;
  border-radius: 50%;
  background: var(--white);
  transition: .3s;
}
.toggle-switch input:checked + .toggle-slider { background: var(--blue); }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(20px); }

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}
.plan-card {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  position: relative;
  transition: transform .25s, box-shadow .25s;
}
.plan-card:hover { transform: translateY(-4px); }
.plan-popular {
  border-color: var(--blue);
  box-shadow: 0 0 40px rgba(45,125,210,0.2);
}
.popular-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 4px 16px;
  border-radius: 100px;
  white-space: nowrap;
}
.plan-header { margin-bottom: 24px; }
.plan-icon   { font-size: 32px; margin-bottom: 10px; display: block; }
.plan-header h3 { font-size: 28px; color: var(--white); margin-bottom: 6px; }
.plan-header p  { font-size: 13px; color: var(--muted); }
.plan-price { margin-bottom: 24px; }
.price-amount {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 900;
  color: var(--white);
}
.price-period { font-size: 13px; color: var(--muted); }
.plan-features {
  list-style: none;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.plan-features li { font-size: 14px; padding-left: 22px; position: relative; }
.feat-yes { color: var(--text); }
.feat-no  { color: rgba(107,136,168,0.5); }
.feat-yes::before { content: '✓'; position: absolute; left: 0; color: var(--teal); font-weight: 700; }
.feat-no::before  { content: '✕'; position: absolute; left: 0; color: rgba(107,136,168,0.4); }

.btn-plan {
  display: block;
  text-align: center;
  padding: 13px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 15px;
  border: 1.5px solid var(--border);
  color: var(--white);
  transition: all .25s;
}
.btn-plan:hover { border-color: var(--blue); color: var(--blue-light); background: var(--blue-glow); }
.btn-plan-primary {
  background: var(--blue);
  border-color: var(--blue);
}
.btn-plan-primary:hover { background: var(--blue-light); border-color: var(--blue-light); color: #fff; }

.pricing-note {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  margin-top: 28px;
}

/* ─── FAQ ─── */
.faq {
  padding: 100px 0;
  background: var(--navy-dark);
}
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 18px 20px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: color .2s;
}
.faq-q:hover { color: var(--blue-light); }
.faq-arrow { flex-shrink: 0; transition: transform .3s; }
.faq-q.open .faq-arrow { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s;
}
.faq-a.open {
  max-height: 200px;
  padding: 0 20px 18px;
}
.faq-a p { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ─── CTA SECTION ─── */
.cta-section {
  padding: 80px 0;
  background: var(--navy);
}
.cta-box {
  background: linear-gradient(135deg, rgba(21,32,53,0.95) 0%, rgba(13,27,42,0.95) 100%);
  border: 1px solid rgba(45,125,210,0.3);
  border-radius: var(--radius-xl);
  padding: 72px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 80px rgba(45,125,210,0.12);
}
.cta-glow {
  position: absolute;
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(45,125,210,0.2) 0%, transparent 70%);
  top: -100px; left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}
.cta-logo { margin: 0 auto 20px; }
.cta-box h2 {
  font-size: clamp(32px, 4vw, 52px);
  color: var(--white);
  margin-bottom: 16px;
}
.cta-box p {
  font-size: 17px;
  color: var(--muted);
  margin-bottom: 36px;
  line-height: 1.7;
}
.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.cta-sub { font-size: 13px; color: var(--muted); }
.cta-sub a { color: var(--blue-light); }

/* ─── FOOTER ─── */
.footer {
  background: var(--navy-dark);
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 14px;
  margin-bottom: 20px;
  max-width: 280px;
  line-height: 1.6;
}
.footer-logo { margin-bottom: 4px; }
.social-links { display: flex; gap: 10px; }
.social-link {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: all .2s;
}
.social-link:hover { border-color: var(--blue); color: var(--blue-light); background: var(--blue-glow); }
.footer-col h4 { font-size: 13px; font-weight: 700; color: var(--white); letter-spacing: 0.5px; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 13px; color: var(--muted); transition: color .2s; }
.footer-col a:hover { color: var(--blue-light); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom p { font-size: 12px; color: var(--muted); }
.footer-bottom a { color: var(--blue-light); }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-card-large { grid-column: span 2; }
  .sectors-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid  { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: span 3; }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 60px; left: 0; right: 0;
    background: rgba(8,15,24,0.98);
    backdrop-filter: blur(16px);
    padding: 20px 24px 30px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
    animation: fadeUp .3s ease;
    z-index: 99;
  }
  .nav-links.open + .nav-actions {
    display: flex;
    flex-direction: column;
  }

  .hero .container { grid-template-columns: 1fr; gap: 40px; }
  /* En mobile mostrar solo las métricas, no el mockup completo del dashboard */
  .hero-visual { display: block; }
  .dash-mock { display: none; }
  .hero-chip { display: none; }
  /* Centrar las métricas en mobile */
  .hero-metrics {
    justify-content: center;
    gap: 20px;
  }
  .hero-right {
    display: flex;
    justify-content: center;
  }
  .hero { padding: 100px 0 60px; }

  .steps { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); }

  .testi-grid { grid-template-columns: 1fr; }
  .plans-grid { grid-template-columns: 1fr; }
  .sectors-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr; }
  .feat-card-large { grid-column: span 1; grid-template-columns: 1fr; }
  .feat-card-large .feat-visual { grid-column: 1; grid-row: auto; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .cta-actions { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .sectors-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 14px; }
  .hero-title { font-size: 36px; }
  .cta-box { padding: 40px 20px; }
}

/* ═══════════════════════════════════════
   SKELETON LOADERS v13
═══════════════════════════════════════ */
@keyframes _shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position:  200% 0; }
}

.skeleton {
  background: linear-gradient(
    90deg,
    var(--navy-card) 25%,
    rgba(45,125,210,.08) 50%,
    var(--navy-card) 75%
  );
  background-size: 200% 100%;
  animation: _shimmer 1.5s infinite;
  border-radius: 8px;
  color: transparent !important;
  pointer-events: none;
  user-select: none;
}
.skeleton * { visibility: hidden !important; }

.skeleton-kpi {
  height: 96px;
  border-radius: var(--radius-md);
}
.skeleton-row {
  height: 56px;
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
}
.skeleton-text {
  height: 14px;
  border-radius: 4px;
  display: inline-block;
}
.skeleton-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-block;
}

/* Botón con estado de carga */
button[disabled] { opacity: .7; cursor: not-allowed !important; }

/* ═══════════════════════════════════════
   REDUCED MOTION
═══════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .skeleton { animation: none; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ═══════════════════════════════════════════════════════════
   LIGHT MODE v14 — overrides completos para app panel
   ─────────────────────────────────────────────────────────
   Los colores base ya están en [data-theme="light"] { ... }
   arriba. Estos son los componentes específicos que necesitan
   overrides adicionales más allá de las variables.
═══════════════════════════════════════════════════════════ */

/* ── Topbar ── */
[data-theme="light"] .app-topbar {
  background: #ffffff;
  border-bottom-color: #e2e8f0;
  box-shadow: 0 1px 8px rgba(0,0,0,.06);
}
[data-theme="light"] .topbar-title { color: #0f172a; }
[data-theme="light"] .topbar-branch {
  background: #f1f5f9;
  border-color: #e2e8f0;
  color: #334155;
}
[data-theme="light"] .topbar-notif {
  background: #f1f5f9;
  border-color: #e2e8f0;
  color: #334155;
}
[data-theme="light"] .notif-badge { background: #dc2626; }

/* ── Dashboard cards ── */
[data-theme="light"] .dash-card {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
}
[data-theme="light"] .dash-card-header { border-bottom-color: #f1f5f9; }
[data-theme="light"] .dash-card-header h3 { color: #0f172a; }

/* ── KPI cards ── */
[data-theme="light"] .kpi-card {
  background: #ffffff;
  border-color: #e2e8f0;
}
[data-theme="light"] .kpi-card-val { color: #0f172a; }
[data-theme="light"] .kpi-card-label { color: #64748b; }

/* ── Appointment rows ── */
[data-theme="light"] .appt-row {
  background: #f8fafc;
  border-color: #e2e8f0;
}
[data-theme="light"] .appt-row:hover { border-color: #93c5fd; background: #eff6ff; }
[data-theme="light"] .appt-name  { color: #0f172a; }
[data-theme="light"] .appt-meta  { color: #64748b; }
[data-theme="light"] .appt-price { color: #0f172a; }

/* ── Quick links ── */
[data-theme="light"] .quick-link {
  background: #f8fafc;
  border-color: #e2e8f0;
  color: #334155;
}
[data-theme="light"] .quick-link:hover {
  border-color: #2563eb;
  color: #2563eb;
  background: #eff6ff;
}

/* ── Revenue / Occupation bars ── */
[data-theme="light"] .occ-bar-bg { background: #e2e8f0; }
[data-theme="light"] .occ-name   { color: #0f172a; }
[data-theme="light"] .occ-pct    { color: #334155; }
[data-theme="light"] .revenue-label { color: #64748b; }
[data-theme="light"] .revenue-val   { color: #0f172a; }

/* ── Modales generados por JS (usan var() desde v14) ── */
[data-theme="light"] {
  --navy-card: #ffffff;
  --navy:      #f0f4f8;
  --border:    #e2e8f0;
  --text:      #334155;
  --white:     #0f172a;
  --muted:     #64748b;
  --blue-glow: rgba(37,99,235,.08);
}

/* ── Agenda ── */
[data-theme="light"] .wv-header-day { color: #0f172a; }
[data-theme="light"] .wv-time-label { color: #64748b; }
[data-theme="light"] .wv-slot { border-color: #f1f5f9; }
[data-theme="light"] .wv-slot:hover { background: #eff6ff; }
[data-theme="light"] .mv-cell { background: #ffffff; border-color: #e2e8f0; }
[data-theme="light"] .mv-cell.other-month { background: #f8fafc; }
[data-theme="light"] .mv-cell.today { border-color: #2563eb; }
[data-theme="light"] .mv-day-num { color: #334155; }
[data-theme="light"] .dv-slot { border-color: #f1f5f9; }

/* ── Clientes ── */
[data-theme="light"] .cliente-card {
  background: #ffffff;
  border-color: #e2e8f0;
}
[data-theme="light"] .cliente-card:hover { border-color: #93c5fd; }
[data-theme="light"] .cliente-name { color: #0f172a; }
[data-theme="light"] .cliente-meta { color: #64748b; }

/* ── POS ── */
[data-theme="light"] .pos-layout { background: #f0f4f8; }
[data-theme="light"] .pos-left,
[data-theme="light"] .pos-right { background: #ffffff; border-color: #e2e8f0; }
[data-theme="light"] .pos-service-btn {
  background: #f8fafc;
  border-color: #e2e8f0;
  color: #334155;
}
[data-theme="light"] .pos-service-btn:hover { border-color: #2563eb; background: #eff6ff; }
[data-theme="light"] .cart-item { border-color: #f1f5f9; color: #334155; }
[data-theme="light"] .cart-total { color: #0f172a; border-top-color: #e2e8f0; }

/* ── Inputs globales ── */
[data-theme="light"] input:not([type="checkbox"]):not([type="radio"]):not([type="color"]),
[data-theme="light"] select,
[data-theme="light"] textarea {
  background: #f8fafc !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
}
[data-theme="light"] input::placeholder,
[data-theme="light"] textarea::placeholder { color: #94a3b8 !important; }

/* ── Tables ── */
[data-theme="light"] table th { background: #f1f5f9; color: #475569; }
[data-theme="light"] table td { border-color: #f1f5f9; color: #334155; }
[data-theme="light"] table tr:hover td { background: #f8fafc; }

/* ── Scrollbar en light mode ── */
[data-theme="light"] ::-webkit-scrollbar-track { background: #f1f5f9; }
[data-theme="light"] ::-webkit-scrollbar-thumb { background: #cbd5e1; }
[data-theme="light"] ::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* ─── VIEW TRANSITIONS API — SPA-like page navigation ─── */
/* Chrome 111+, Safari 18+. En browsers sin soporte se ignora sin romper nada. */
@keyframes vt-fade-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes vt-fade-out {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(-4px); }
}

::view-transition-old(root) {
  animation: 120ms ease-in  vt-fade-out;
}
::view-transition-new(root) {
  animation: 180ms ease-out vt-fade-in;
}

/* Reducir movimiento para usuarios que lo prefieran */
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root),
  ::view-transition-new(root) { animation: none; }
}

/* ─── PRICING SAVE CHIP ─── */
.save-chip {
  display:          inline-block;
  background:       rgba(0,201,167,.15);
  color:            var(--teal, #00c9a7);
  font-size:        10px;
  font-weight:      700;
  padding:          2px 7px;
  border-radius:    20px;
  margin-left:      6px;
  vertical-align:   middle;
  border:           1px solid rgba(0,201,167,.25);
  letter-spacing:   .3px;
}

/* ─── BARRA DE PROGRESO TOP EN NAVEGACIÓN ─── */
#_navProgress {
  position:     fixed;
  top:          0;
  left:         0;
  height:       3px;
  background:   linear-gradient(90deg, var(--blue, #2d7dd2), var(--teal, #00c9a7));
  z-index:      99999;
  width:        0%;
  transition:   width .25s ease, opacity .3s ease;
  pointer-events: none;
  box-shadow:   0 0 10px rgba(45,125,210,.6);
  border-radius: 0 2px 2px 0;
}
#_navProgress.visible { opacity: 1; }
#_navProgress.done    { width: 100% !important; opacity: 0; }

/* ─── FOOTER LINKS PRÓXIMAMENTE ─── */
.footer-soon {
  opacity:        .35;
  cursor:         not-allowed !important;
  pointer-events: all;
  position:       relative;
}
.footer-soon::after {
  content:     'Próximamente';
  position:    absolute;
  bottom:      calc(100% + 6px);
  left:        50%;
  transform:   translateX(-50%);
  background:  #1a2b3c;
  color:       #6b88a8;
  font-size:   10px;
  padding:     3px 8px;
  border-radius: 4px;
  white-space: nowrap;
  opacity:     0;
  pointer-events: none;
  transition:  opacity .15s ease;
  border:      1px solid var(--border, #1e3150);
}
.footer-soon:hover { opacity: .5; }
.footer-soon:hover::after { opacity: 1; }

/* ─── PULSE ANIMATION para indicador online ─── */
@keyframes _pulse {
  0%, 100% { opacity: 1;   transform: scale(1);    }
  50%       { opacity: .5; transform: scale(1.3);  }
}
