/* ==========================================================================
   RENKO ALLY — Design tokens
   ========================================================================== */
:root {
  --navy-900: #2E2E3B; /* RENKO wordmark navy */
  --navy-800: #3B3B4A; /* navy, lighter step for gradients */
  --teal-600: #169CA4; /* RENKO teal — primary brand accent */
  --teal-500: #1FB6C0; /* teal, lighter step (hover) */
  --emerald-500: #10B981; /* semantic "en línea / disponible" — not a core brand color */
  --amber-500: #F59E0B; /* secondary accent — emergencia tags, deliberately distinct from brand teal */
  --red-500: #EF4444;
  --slate-600: #475569;
  --slate-400: #94A3B8;
  --slate-200: #E2E8F0;
  --teal-50: #E5F6F7; /* RENKO teal, light tint */
  --bg: #F8FAFB;
  --white: #FFFFFF;

  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-display: 'Poppins', system-ui, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(10, 22, 40, 0.06), 0 1px 3px rgba(10, 22, 40, 0.08);
  --shadow-md: 0 8px 24px rgba(10, 22, 40, 0.10);
  --shadow-lg: 0 20px 48px rgba(10, 22, 40, 0.16);

  --header-h: 72px;
}

/* ==========================================================================
   Reset
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--navy-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 700; line-height: 1.15; }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--teal-600); color: #fff;
  padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 1000;
}
.skip-link:focus { left: 0; }

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

.icon { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 22px;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--teal-600); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: #0D7A80; box-shadow: var(--shadow-md); }
.btn-secondary { background: var(--teal-50); color: var(--teal-600); }
.btn-secondary:hover { background: #D4EEF0; }
.btn-ghost { background: transparent; color: var(--navy-900); border: 1px solid var(--slate-200); }
.btn-ghost:hover { background: var(--bg); }
.btn-lg { padding: 15px 28px; font-size: 1.02rem; }
.btn-sm { padding: 9px 14px; font-size: 0.86rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--slate-200);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

.logo { display: inline-flex; align-items: center; flex-shrink: 0; }

.brand-logo { height: 30px; width: auto; max-width: 100%; display: block; flex-shrink: 0; }
.logo .brand-logo { height: 24px; }

.main-nav { display: none; align-items: center; gap: 14px; font-weight: 500; font-size: 0.84rem; color: var(--slate-600); white-space: nowrap; }
.main-nav a:hover { color: var(--navy-900); }
.nav-mobile-cta { display: none; }
.nav-mobile-only { display: none; }
.main-nav.nav-open .nav-mobile-only { display: block; padding: 12px 0; border-bottom: 1px solid var(--slate-200); }

.header-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
#btnAgendarHeader, #btnCrearCuenta, .nav-desktop-only { display: none; }

.nav-toggle {
  width: 40px; height: 40px; border: none; background: transparent;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--navy-900); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.main-nav.nav-open {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  background: #fff;
  padding: 12px 24px 24px;
  border-bottom: 1px solid var(--slate-200);
  box-shadow: var(--shadow-md);
}
.main-nav.nav-open a { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--slate-200); }
.main-nav.nav-open .nav-mobile-cta { display: flex; margin-top: 14px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { background: linear-gradient(180deg, var(--teal-50) 0%, var(--white) 65%); padding: 56px 0 64px; }
.hero-inner { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--teal-600);
  background: var(--teal-50);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.eyebrow-dark { color: var(--teal-600); }
.eyebrow-light { color: var(--teal-500); background: rgba(23,156,164,0.14); }

.hero-copy h1 { font-size: 2.2rem; color: var(--navy-900); margin-bottom: 16px; }
.hero-sub { font-size: 1.08rem; color: var(--slate-600); max-width: 52ch; margin-bottom: 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 32px; }

.hero-trust { display: flex; flex-direction: column; gap: 12px; font-size: 0.92rem; color: var(--navy-800); font-weight: 500; }
.hero-trust li { display: flex; align-items: center; gap: 10px; }
.hero-trust .icon { color: var(--teal-600); }

.hero-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 22px;
  border: 1px solid var(--slate-200);
  max-width: 420px;
  width: 100%;
  justify-self: center;
}
.hero-card-header { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; font-weight: 600; color: var(--slate-600); margin-bottom: 16px; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot-live { background: var(--emerald-500); box-shadow: 0 0 0 4px rgba(16,185,129,.18); animation: dot-pulse 1.8s ease-in-out infinite; }
@keyframes dot-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(16,185,129,.18); }
  50% { box-shadow: 0 0 0 7px rgba(16,185,129,.28); }
}

.nav-live-link { display: inline-flex; align-items: center; gap: 7px; }

.hero-card-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--slate-200); font-size: 0.9rem; }
.hero-card-label { color: var(--slate-400); }
.hero-card-value { font-weight: 600; color: var(--navy-900); text-align: right; }

.hero-card-techs { display: flex; flex-direction: column; gap: 10px; margin: 16px 0; }
.hero-tech { display: flex; align-items: center; gap: 12px; background: var(--bg); border-radius: var(--radius-md); padding: 10px 12px; }
.hero-tech strong { font-size: 0.9rem; display: block; }
.hero-tech-meta { font-size: 0.78rem; color: var(--slate-600); }
.hero-tech .price-tag { margin-left: auto; }

.avatar {
  width: 38px; height: 38px; border-radius: 50%; background: var(--bg, #eee);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.8rem; flex-shrink: 0;
}
.avatar[style] { background: var(--bg); }

.price-tag { font-weight: 700; color: var(--teal-600); font-size: 0.9rem; white-space: nowrap; }

/* ==========================================================================
   Sections generic
   ========================================================================== */
.section { padding: 72px 0; }
.section-alt { background: var(--bg); }
.section-head { max-width: 640px; margin: 0 auto 44px; text-align: center; }
.section-head h2 { font-size: 1.85rem; color: var(--navy-900); margin-bottom: 12px; }
.section-head p { color: var(--slate-600); font-size: 1.02rem; }

/* Steps */
.steps { display: grid; grid-template-columns: 1fr; gap: 24px; }
.step { background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius-md); padding: 26px 22px; position: relative; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--navy-900); color: #fff; font-weight: 700; font-size: 0.95rem;
  margin-bottom: 16px;
}
.step h3 { font-size: 1.08rem; margin-bottom: 8px; color: var(--navy-900); }
.step p { color: var(--slate-600); font-size: 0.92rem; }

/* Services */
.service-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
.service-card {
  background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius-lg);
  padding: 28px 24px; display: flex; flex-direction: column; gap: 12px;
  transition: box-shadow .2s ease, transform .2s ease;
}
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.service-icon {
  width: 52px; height: 52px; border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--accent) 14%, white);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.service-icon svg { width: 26px; height: 26px; fill: currentColor; }
.service-card h3 { font-size: 1.2rem; color: var(--navy-900); }
.service-card p { color: var(--slate-600); font-size: 0.92rem; flex-grow: 1; }
.service-meta { display: flex; align-items: center; }
.price-range { font-weight: 600; font-size: 0.86rem; color: var(--teal-600); background: var(--teal-50); padding: 5px 12px; border-radius: 999px; }

.soon-row { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: center; color: var(--slate-400); font-size: 0.88rem; }
.chip { background: var(--slate-200); color: var(--slate-600); padding: 6px 14px; border-radius: 999px; font-size: 0.82rem; font-weight: 500; }

/* Trust */
.trust-grid { display: grid; grid-template-columns: 1fr; gap: 22px; margin-bottom: 40px; }
.trust-card { background: var(--bg); border-radius: var(--radius-lg); padding: 26px 22px; }
.trust-num { font-family: var(--font-display); font-size: 1.6rem; color: var(--teal-500); margin-bottom: 8px; }
.trust-card h3 { font-size: 1.08rem; margin-bottom: 8px; color: var(--navy-900); }
.trust-card p { color: var(--slate-600); font-size: 0.92rem; }

.guarantee-panel {
  background: var(--navy-900); color: #fff; border-radius: var(--radius-lg);
  padding: 32px 28px; display: flex; flex-direction: column; gap: 24px;
}
.guarantee-copy h3 { font-size: 1.25rem; margin-bottom: 10px; }
.guarantee-copy p { color: #C7D2E0; font-size: 0.94rem; max-width: 60ch; }
.level-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.level-badge { padding: 8px 16px; border-radius: 999px; font-weight: 700; font-size: 0.82rem; }
.level-bronce { background: #7c4a1e33; color: #d99a5e; }
.level-plata { background: #94a3b833; color: #cbd5e1; }
.level-oro { background: #f59e0b33; color: #fbbf24; }
.level-platino { background: #14b8a633; color: #5eead4; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: 1fr; gap: 22px; margin-bottom: 40px; }
.pricing-card { background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius-lg); padding: 28px 24px; }
.pricing-card-alt { border-color: var(--amber-500); }
.pricing-tag { display: inline-block; font-size: 0.78rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
.pricing-tag-prev { background: var(--teal-50); color: var(--teal-600); }
.pricing-tag-emerg { background: #FEF3E2; color: var(--amber-500); }
.pricing-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.pricing-card > p { color: var(--slate-600); font-size: 0.92rem; margin-bottom: 16px; }
.pricing-list { display: flex; flex-direction: column; gap: 10px; }
.pricing-list li { font-size: 0.9rem; color: var(--navy-800); padding-left: 22px; position: relative; }
.pricing-list li::before { content: "✓"; position: absolute; left: 0; color: var(--teal-600); font-weight: 700; }

.zone-table-wrap { overflow-x: auto; background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--slate-200); }
.zone-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.zone-table th, .zone-table td { padding: 14px 20px; text-align: left; white-space: nowrap; }
.zone-table thead { background: var(--bg); color: var(--slate-600); font-size: 0.8rem; text-transform: uppercase; letter-spacing: .03em; }
.zone-table tbody tr:not(:last-child) { border-bottom: 1px solid var(--slate-200); }
.zone-table td:first-child { font-weight: 600; }
.zone-table td:last-child { font-weight: 700; color: var(--teal-600); }

/* Tech CTA */
.tech-cta { background: linear-gradient(135deg, var(--navy-900), var(--navy-800)); color: #fff; }
.tech-cta-inner { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.tech-cta h2 { font-size: 1.7rem; margin: 10px 0 12px; }
.tech-cta p { color: #C7D2E0; max-width: 56ch; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--navy-900); color: #C7D2E0; padding-top: 56px; }
.footer-inner { display: grid; grid-template-columns: 1fr; gap: 36px; padding-bottom: 40px; }
.footer-brand p { margin-top: 12px; font-size: 0.9rem; max-width: 34ch; color: #94A3B8; }
.footer-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.footer-col h4 { font-family: var(--font-body); font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: .04em; color: #fff; margin-bottom: 14px; }
.footer-col a { display: block; padding: 6px 0; font-size: 0.9rem; color: #94A3B8; }
.footer-col a:hover { color: #fff; }
.footer-legal { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0 28px; font-size: 0.8rem; color: #64748B; }
.footer-legal p { margin-bottom: 6px; }

/* ==========================================================================
   Wizard Modal
   ========================================================================== */
.modal-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(10, 22, 40, 0.55);
  display: flex; align-items: center; justify-content: center;
  padding: 0;
  backdrop-filter: blur(2px);
}
.modal-overlay[hidden] { display: none; }

.modal-wizard {
  background: #fff;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.wizard-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  padding: 20px 20px 16px; border-bottom: 1px solid var(--slate-200); gap: 12px;
}
.wizard-header h2 { font-size: 1.2rem; color: var(--navy-900); margin-bottom: 10px; }
.wizard-progress { display: flex; gap: 6px; }
.wp-dot { width: 26px; height: 5px; border-radius: 999px; background: var(--slate-200); transition: background .2s ease; }
.wp-dot.active { background: var(--teal-600); }
.wp-dot.done { background: var(--teal-500); }

.wizard-close {
  width: 36px; height: 36px; border: none; background: var(--bg); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: var(--navy-900); flex-shrink: 0;
}
.wizard-close .icon { width: 18px; height: 18px; }

.wizard-body { flex: 1; overflow-y: auto; padding: 24px 20px 12px; }
.wizard-footer { display: flex; justify-content: space-between; gap: 12px; padding: 16px 20px; border-top: 1px solid var(--slate-200); }

.wz-step-title { font-size: 1.3rem; margin-bottom: 6px; color: var(--navy-900); }
.wz-step-sub { color: var(--slate-600); font-size: 0.92rem; margin-bottom: 22px; }

/* Option cards (service picker, tipo mantención) */
.wz-options { display: grid; grid-template-columns: 1fr; gap: 12px; }
.wz-option {
  display: flex; align-items: center; gap: 14px;
  border: 1.5px solid var(--slate-200); border-radius: var(--radius-md);
  padding: 16px; background: #fff; text-align: left; width: 100%;
}
.wz-option:hover { border-color: var(--teal-500); }
.wz-option.selected { border-color: var(--teal-600); background: var(--teal-50); }
.wz-option-icon { width: 42px; height: 42px; border-radius: 10px; background: var(--bg); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--teal-600); }
.wz-option-icon svg { width: 22px; height: 22px; }
.wz-option-icon svg[viewBox="0 0 24 24"]:not(.icon) { fill: currentColor; }
.wz-option-icon .icon { width: 22px; height: 22px; }
.wz-option-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.wz-option-title { font-weight: 700; font-size: 0.98rem; color: var(--navy-900); }
.wz-option-desc { font-size: 0.84rem; color: var(--slate-600); }
.wz-option-tag { margin-left: auto; font-size: 0.78rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: #FEF3E2; color: var(--amber-500); white-space: nowrap; }

/* Checklist chips */
.wz-chip-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.wz-chip {
  border: 1.5px solid var(--slate-200); border-radius: 999px; padding: 10px 16px;
  font-size: 0.88rem; font-weight: 500; background: #fff; color: var(--navy-800);
}
.wz-chip.selected { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.wz-chip-otra { border-style: dashed; color: var(--teal-600); }
.wz-chip-otra.selected { background: var(--teal-600); border-color: var(--teal-600); border-style: solid; color: #fff; }

.wz-pending-badge { display: inline-block; margin-top: 4px; font-size: 0.76rem; font-weight: 600; color: var(--amber-500); background: #FEF3E2; padding: 3px 9px; border-radius: 999px; }

/* Form fields */
.wz-field { margin-bottom: 18px; }
.wz-field label { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 8px; color: var(--navy-900); }
.wz-field input[type="text"], .wz-field input[type="password"], .wz-field input[type="email"],
.wz-field input[type="tel"], .wz-field textarea, .wz-field select {
  width: 100%; border: 1.5px solid var(--slate-200); border-radius: var(--radius-sm);
  padding: 12px 14px; font-size: 0.95rem; color: var(--navy-900); background: #fff;
}
.wz-field input:focus, .wz-field textarea:focus, .wz-field select:focus { outline: none; border-color: var(--teal-500); }
.wz-field textarea { resize: vertical; min-height: 90px; }

.wz-upload {
  display: flex; flex-direction: column; align-items: center;
  border: 1.5px dashed var(--slate-200); border-radius: var(--radius-md);
  padding: 22px; text-align: center; color: var(--slate-600); font-size: 0.9rem;
  cursor: pointer;
}
.wz-upload:hover { border-color: var(--teal-500); }
.wz-upload .icon { width: 26px; height: 26px; margin: 0 0 8px; color: var(--teal-600); }
.wz-upload-filename { margin-top: 10px; font-weight: 600; color: var(--teal-600); font-size: 0.86rem; }

.wz-zone-badge { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 0.86rem; font-weight: 600; color: var(--teal-600); background: var(--teal-50); padding: 8px 14px; border-radius: 999px; }

/* Technician grid */
.wz-tech-list { display: flex; flex-direction: column; gap: 14px; }
.wz-tech-card { border: 1.5px solid var(--slate-200); border-radius: var(--radius-md); padding: 16px; }
.wz-tech-card.selected { border-color: var(--teal-600); box-shadow: 0 0 0 3px var(--teal-50); }
.wz-tech-card.flash { animation: wz-flash 0.9s ease; }
@keyframes wz-flash {
  0%, 100% { border-color: var(--slate-200); background: #fff; }
  30% { border-color: var(--teal-600); background: var(--teal-50); }
}
.wz-tech-top { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.wz-tech-info { flex-grow: 1; }
.wz-tech-info strong { display: block; font-size: 0.98rem; color: var(--navy-900); }
.wz-tech-rating { font-size: 0.84rem; color: var(--slate-600); }
.wz-tech-level { font-size: 0.72rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; margin-left: 6px; }
.wz-tech-price { text-align: right; }
.wz-tech-price .price-tag { font-size: 1.05rem; }
.wz-tech-price small { display: block; font-size: 0.72rem; color: var(--slate-400); }

.wz-slot-row { display: flex; flex-wrap: wrap; gap: 8px; }
.wz-slot {
  border: 1.5px solid var(--slate-200); border-radius: 999px; padding: 8px 14px;
  font-size: 0.84rem; font-weight: 600; background: #fff; color: var(--navy-800);
}
.wz-slot.selected { background: var(--teal-600); border-color: var(--teal-600); color: #fff; }

/* RA-020/021/022: búsqueda de técnico, propuesta y rechazo */
.wz-searching { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: 36px 12px; }
.wz-searching .dot-live { width: 12px; height: 12px; border-radius: 999px; }
.wz-searching-title { font-weight: 700; color: var(--navy-900); font-size: 1.02rem; }
.wz-searching-sub { color: var(--slate-600); font-size: 0.88rem; max-width: 40ch; }

.wz-countdown { font-size: 0.82rem; font-weight: 700; color: var(--amber-500); background: #FEF3E2; padding: 4px 12px; border-radius: 999px; display: inline-block; margin-top: 4px; }

.wz-proposal-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }

.wz-reject-chip-grid { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.wz-reject-chip { text-align: left; border: 1.5px solid var(--slate-200); border-radius: var(--radius-md); padding: 12px 16px; font-size: 0.9rem; font-weight: 600; color: var(--navy-800); background: #fff; }
.wz-reject-chip:hover { border-color: var(--teal-500); background: var(--teal-50); }

/* Summary */
.wz-summary-block { background: var(--bg); border-radius: var(--radius-md); padding: 18px; margin-bottom: 16px; }
.wz-summary-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 16px; padding: 8px 0; font-size: 0.92rem; }
.wz-summary-row.total { border-top: 1px solid var(--slate-200); margin-top: 6px; padding-top: 14px; font-weight: 700; font-size: 1.02rem; }
.wz-summary-row span:first-child { color: var(--slate-600); flex-shrink: 0; }
.wz-summary-row span:last-child { text-align: right; flex: 1 1 auto; min-width: 0; }
.wz-summary-note { font-size: 0.82rem; color: var(--slate-400); margin-top: 4px; }

.wz-success { text-align: center; padding: 20px 0; }
.wz-success-icon {
  width: 72px; height: 72px; border-radius: 50%; background: var(--teal-50); color: var(--teal-600);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 20px;
}
.wz-success-icon .icon { width: 36px; height: 36px; }
.wz-success h3 { font-size: 1.3rem; margin-bottom: 10px; color: var(--navy-900); }
.wz-success p { color: var(--slate-600); font-size: 0.94rem; max-width: 42ch; margin: 0 auto; }
.wz-success-code { display: inline-block; margin-top: 16px; background: var(--navy-900); color: #fff; font-weight: 700; letter-spacing: .04em; padding: 8px 18px; border-radius: 999px; font-size: 0.9rem; }

.wz-error { color: var(--red-500); font-size: 0.86rem; margin-top: 10px; }

/* Account wizard extras */
.wizard-step-label { font-size: 0.8rem; color: var(--slate-400); font-weight: 600; }
.wz-form-section { margin-bottom: 22px; }
.wz-form-section-title { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--slate-400); margin-bottom: 12px; }
.wz-upload-compact { padding: 14px; }
.wz-upload-compact .icon { width: 20px; height: 20px; margin-bottom: 4px; }
.wz-upload-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }

.wz-link-btn {
  background: none; border: none; padding: 0; color: var(--teal-600); font-weight: 600;
  font-size: 0.86rem; text-decoration: underline; cursor: pointer;
}

.wz-info-card { background: var(--teal-50); border: 1px solid #BFE8EA; border-radius: var(--radius-md); padding: 18px; font-size: 0.9rem; color: var(--navy-800); }
.wz-info-card p { margin-bottom: 10px; }
.wz-info-card ul { margin: 8px 0 12px 0; padding-left: 18px; list-style: disc; }
.wz-info-card li { margin-bottom: 4px; }

.wz-added-tech {
  display: flex; align-items: center; gap: 12px; border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-md); padding: 12px 14px; margin-bottom: 10px;
}
.wz-added-tech-info { flex-grow: 1; min-width: 0; }
.wz-added-tech-info strong { display: block; font-size: 0.92rem; color: var(--navy-900); }
.wz-added-tech-info span { font-size: 0.8rem; color: var(--slate-600); }
.wz-remove-btn {
  width: 28px; height: 28px; border-radius: 50%; border: none; background: var(--bg);
  color: var(--slate-600); display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.wz-remove-btn:hover { background: #fde2e2; color: var(--red-500); }
.wz-remove-btn .icon { width: 14px; height: 14px; }

.wz-divider { border: none; border-top: 1px solid var(--slate-200); margin: 20px 0; }

.wz-pay-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
.wz-pay-option {
  display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-md); padding: 12px 14px; background: #fff; font-size: 0.88rem;
  font-weight: 600; color: var(--navy-800); text-align: left;
}
.wz-pay-option:hover { border-color: var(--teal-500); }
.wz-pay-option.selected { border-color: var(--teal-600); background: var(--teal-50); color: var(--navy-900); }
.wz-pay-icon { width: 34px; height: 34px; border-radius: 9px; background: var(--bg); color: var(--teal-600); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.wz-pay-icon .icon { width: 18px; height: 18px; }

/* ==========================================================================
   Maps (Leaflet)
   ========================================================================== */
.map-box {
  width: 100%; border-radius: var(--radius-md); overflow: hidden;
  border: 1px solid var(--slate-200); background: var(--bg);
}
.wz-map { height: 220px; }
.map-box .leaflet-control-attribution { font-size: 9px; }

.map-pin {
  width: 34px; height: 34px; border-radius: 50% 50% 50% 0; transform: rotate(45deg);
  background: var(--pin-bg, var(--teal-600)); display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 0.7rem; border: 2px solid #fff;
}
.map-pin span, .map-pin { transform-origin: center; }
.map-tech-icon .map-pin { position: relative; }
.map-tech-icon .map-pin::after { content: ""; }
.map-tech-icon .map-pin > * { transform: rotate(-45deg); }
.map-pin-client {
  background: var(--navy-900); border-radius: 50% 50% 50% 0; width: 30px; height: 30px;
}
.map-pin-client .icon { width: 15px; height: 15px; color: #fff; stroke: #fff; }

.leaflet-popup-content { font-family: var(--font-body); font-size: 0.85rem; min-width: 170px; }
.map-popup-title { font-weight: 700; color: var(--navy-900); margin-bottom: 2px; }
.map-popup-meta { color: var(--slate-600); font-size: 0.8rem; margin-bottom: 8px; }
.map-popup-btn {
  display: inline-block; background: var(--teal-600); color: #fff; font-weight: 600;
  font-size: 0.8rem; padding: 6px 12px; border-radius: 999px; border: none; cursor: pointer;
}

.map-legend { display: flex; align-items: center; gap: 14px; font-size: 0.8rem; color: var(--slate-600); margin-top: 10px; flex-wrap: wrap; }
.map-legend-item { display: flex; align-items: center; gap: 6px; }
.map-legend-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }

/* ==========================================================================
   Disponibles ahora (live map section)
   ========================================================================== */
.eyebrow-live {
  display: inline-flex; align-items: center; gap: 8px; font-size: 0.8rem; font-weight: 700;
  letter-spacing: .04em; color: var(--navy-900); background: var(--teal-50); padding: 6px 14px 6px 12px;
  border-radius: 999px; margin-bottom: 16px;
}

.live-filter-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 20px; }
.live-filter-chip { cursor: pointer; }
.live-filter-chip.selected { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }

.live-map-box { max-width: 900px; margin: 0 auto; }
.live-map { height: 320px; }

.live-geo-note { text-align: center; font-size: 0.82rem; color: var(--slate-400); margin: 12px auto 0; max-width: 480px; }

.live-tech-row {
  display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 28px; max-width: 900px; margin-left: auto; margin-right: auto;
}
.live-tech-card {
  background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius-md);
  padding: 16px; display: flex; align-items: center; gap: 12px;
}
.live-tech-card .avatar { position: relative; }
.live-tech-online-dot {
  position: absolute; bottom: -1px; right: -1px; width: 11px; height: 11px; border-radius: 50%;
  background: var(--emerald-500); border: 2px solid #fff;
}
.live-tech-body { flex-grow: 1; min-width: 0; }
.live-tech-body strong { display: block; font-size: 0.95rem; color: var(--navy-900); }
.live-tech-meta { font-size: 0.8rem; color: var(--slate-600); margin-top: 2px; }
.live-tech-dist { font-size: 0.78rem; font-weight: 700; color: var(--teal-600); margin-top: 2px; }
.live-tech-card .btn { flex-shrink: 0; }

.live-empty { text-align: center; color: var(--slate-400); font-size: 0.9rem; padding: 20px; grid-column: 1 / -1; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (min-width: 640px) {
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .wz-options { grid-template-columns: repeat(2, 1fr); }
  .wz-upload-grid { grid-template-columns: repeat(3, 1fr); }
  .wz-pay-grid { grid-template-columns: repeat(2, 1fr); }
  .live-tech-row { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
  .guarantee-panel { flex-direction: row; align-items: center; justify-content: space-between; }
  .hero-copy h1 { font-size: 2.7rem; }

  .modal-overlay { padding: 40px; }
  .modal-wizard { max-width: 640px; height: auto; max-height: 88vh; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
}

@media (min-width: 900px) {
  .main-nav { display: flex; }
  #btnAgendarHeader, #btnCrearCuenta, .nav-desktop-only { display: inline-flex; }
  .nav-mobile-only { display: none !important; }
  .nav-toggle { display: none; }
  .logo .brand-logo { height: 32px; }
  .hero-inner { grid-template-columns: 1.1fr 0.9fr; }
  .hero-copy h1 { font-size: 3.1rem; }
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .tech-cta-inner { flex-direction: row; align-items: center; justify-content: space-between; }
  .footer-inner { grid-template-columns: 1fr 2fr; }
}

@media (min-width: 1080px) {
  .hero-copy h1 { font-size: 3.4rem; }
}
