:root {
  --yellow: #FFC400;
  --yellow-strong: #FFB000;
  --yellow-soft: #FFE28A;
  --yellow-pale: #FFF6DC;
  --gray-80: #303033;
  --gray-60: #5C5C5C;
  --gray-30: #B8B8B8;
  --gray-10: #EEEEEE;
  --white: #FFFFFF;
  --purple: #912BEA;
  --purple-strong: #6E1FC2;
  --purple-soft: #C79CFF;
  --purple-pale: #F3E8FF;
  --danger: #E4483C;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-yellow: 0 10px 24px rgba(255, 179, 0, 0.35);
  --shadow-soft: 0 6px 18px rgba(51, 51, 51, 0.10);
  font-size: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--gray-80);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  color: var(--gray-80);
  -webkit-tap-highlight-color: transparent;
}

h1, h2, h3, .brand-font { font-family: 'Poppins', 'Inter', sans-serif; }

button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input { font-family: inherit; border: none; outline: none; background: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ============ PHONE FRAME ============ */
.phone {
  position: relative;
  width: 430px;
  min-height: 100vh;
  max-height: 932px;
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 0 60px rgba(0,0,0,0.4);
  display: flex;
  flex-direction: column;
}
@media (min-width: 480px) {
  body { padding: 24px 0; }
  .phone { min-height: 900px; height: 900px; border-radius: 44px; border: 8px solid #111; }
}

.statusbar {
  display: flex;
  justify-content: space-between;
  padding: 10px 24px 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-80);
  flex-shrink: 0;
  background: var(--white);
  z-index: 50;
}

/* ============ VIEW SWITCHING ============ */
.view {
  display: none;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  background: var(--white);
}
.view.active { display: flex; }
.view::-webkit-scrollbar { display: none; }

/* ============ LOGIN ============ */
#view-login.active {
  background: linear-gradient(180deg, var(--yellow) 0%, var(--yellow) 38%, var(--white) 38%);
  align-items: center;
  padding: 0 28px 30px;
}
.login-wrap { width: 100%; max-width: 360px; display: flex; flex-direction: column; align-items: center; padding-top: 6px; }
.login-logo { display: flex; flex-direction: column; align-items: center; margin-bottom: 18px; }
.logo-mark { width: 84px; height: 84px; filter: drop-shadow(0 6px 14px rgba(0,0,0,0.18)); }
.login-isologo {
  width: 96px; height: 96px; margin-bottom: 12px; padding: 14px; box-sizing: border-box;
  background: var(--white); border-radius: 50%; box-shadow: 0 8px 18px rgba(0,0,0,0.18);
  object-fit: contain;
}
.login-wordmark { width: 200px; filter: drop-shadow(0 4px 10px rgba(0,0,0,0.12)); }
.login-logo h1 { color: var(--gray-80); font-size: 30px; font-weight: 800; letter-spacing: 1px; margin-top: 10px; }
.login-tag { color: var(--gray-80); opacity: 0.75; font-size: 13px; font-weight: 600; margin-top: 2px; text-align: center; }

.login-form { width: 100%; background: var(--white); border-radius: var(--radius-lg); padding: 22px 20px; box-shadow: var(--shadow-soft); margin-top: 6px; }
.login-form label { display: block; font-size: 12px; font-weight: 700; color: var(--gray-60); margin-bottom: 14px; }
.login-form input {
  display: block; width: 100%; margin-top: 6px; padding: 12px 14px;
  background: var(--gray-10); border-radius: var(--radius-sm); font-size: 15px; font-weight: 500; color: var(--gray-80);
  border: 2px solid transparent;
}
.login-form input:focus { border-color: var(--yellow); background: var(--white); }
.login-error { display: none; font-size: 12px; color: var(--danger); font-weight: 600; margin: -6px 0 12px; }
.login-error.show { display: block; }

.btn-primary {
  width: 100%; padding: 14px; background: var(--purple); color: var(--white);
  border-radius: var(--radius-sm); font-weight: 700; font-size: 15px;
  box-shadow: 0 8px 18px rgba(145,43,234,0.35);
  transition: transform .12s ease;
}
.btn-primary:active { transform: scale(0.97); }

/* ============ LOGIN ART ============ */
.login-art { width: 100%; margin-top: 26px; text-align: center; }
.art-orbit { position: relative; height: 92px; display: flex; align-items: flex-end; justify-content: center; gap: 14px; }
.art-icon {
  width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 20px; box-shadow: 0 8px 16px rgba(51,51,51,0.18);
  animation: art-float 3.2s ease-in-out infinite;
}
.art-icon.ai1 { background: linear-gradient(145deg, var(--yellow-soft), var(--yellow)); animation-delay: 0s; margin-bottom: 6px; }
.art-icon.ai2 { background: linear-gradient(145deg, var(--purple-soft), var(--purple)); animation-delay: .3s; margin-bottom: 26px; }
.art-icon.ai3 { background: linear-gradient(145deg, var(--yellow), var(--yellow-strong)); animation-delay: .6s; margin-bottom: 0px; width: 54px; height: 54px; font-size: 23px; }
.art-icon.ai4 { background: linear-gradient(145deg, var(--purple-soft), var(--purple)); animation-delay: .9s; margin-bottom: 26px; }
.art-icon.ai5 { background: linear-gradient(145deg, var(--yellow-soft), var(--yellow)); animation-delay: 1.2s; margin-bottom: 6px; }
@keyframes art-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}
.login-art-text { font-size: 13px; line-height: 1.55; color: var(--gray-60); font-weight: 600; padding: 0 6px; max-width: 320px; margin: 14px auto 0; }

.login-divider { display: flex; align-items: center; gap: 10px; width: 100%; margin: 22px 0 16px; }
.login-divider::before, .login-divider::after { content: ""; flex: 1; height: 1px; background: var(--gray-30); }
.login-divider span { font-size: 12px; color: var(--gray-60); font-weight: 600; white-space: nowrap; }

.social-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
.social-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 8px; border-radius: var(--radius-sm); font-weight: 700; font-size: 13px;
  background: var(--white); border: 1.5px solid var(--gray-10); color: var(--gray-80);
  box-shadow: var(--shadow-soft);
  transition: transform .12s ease;
}
.social-btn:active { transform: scale(0.96); }
.social-btn svg { width: 18px; height: 18px; }
.social-btn.fb svg { color: #1877F2; }
.social-btn.ig svg { color: #E1306C; }
.social-btn.tk svg { color: #111; }
.social-btn.gm svg { color: #EA4335; }

/* ============ HOME ============ */
.home-header {
  background: linear-gradient(160deg, var(--yellow) 0%, var(--yellow-strong) 100%);
  padding: 14px 20px 20px;
  box-shadow: var(--shadow-yellow);
  position: relative;
  flex-shrink: 0;
}
.home-header-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.location-pill { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.55); padding: 7px 12px; border-radius: 30px; backdrop-filter: blur(4px); }
.pin-ico { font-size: 15px; }
.loc-label { display: block; font-size: 10px; color: var(--gray-80); opacity: 0.7; font-weight: 600; }
.location-pill strong { font-size: 13px; color: var(--gray-80); font-weight: 700; }
.chevron { font-size: 12px; color: var(--gray-80); opacity: 0.6; }
.icon-btn { position: relative; width: 38px; height: 38px; border-radius: 50%; background: var(--white); display: flex; align-items: center; justify-content: center; font-size: 16px; box-shadow: var(--shadow-soft); }
.icon-btn.ghost { background: rgba(255,255,255,0.55); }
.icon-btn .dot { position: absolute; top: 7px; right: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--purple); border: 2px solid var(--white); }
.header-icons { display: flex; align-items: center; gap: 8px; }
.icon-btn.expanded { background: var(--purple); color: var(--white); }
#btn-expand-interface { animation: expand-neon-pulse 1.6s ease-in-out infinite; }
@keyframes expand-neon-pulse {
  0%, 100% { box-shadow: 0 0 6px 1px rgba(145,43,234,0.55), var(--shadow-soft); }
  50% { box-shadow: 0 0 16px 6px rgba(145,43,234,0.95), var(--shadow-soft); }
}

.extended-banner {
  display: none; align-items: center; justify-content: center; gap: 6px;
  background: var(--purple); color: var(--white); font-size: 11.5px; font-weight: 800;
  padding: 7px 10px; border-radius: 20px; margin-bottom: 12px; text-align: center;
}
.extended-banner.show { display: flex; }

.home-title { color: var(--gray-80); font-size: 19px; font-weight: 800; line-height: 1.3; text-shadow: 0 2px 0 rgba(255,255,255,0.25); margin-bottom: 16px; }

.toast {
  position: absolute; left: 50%; bottom: 110px; transform: translateX(-50%) translateY(20px);
  background: var(--purple); color: var(--white); font-size: 12.5px; font-weight: 700;
  padding: 12px 20px; border-radius: 30px; box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease; z-index: 999;
  max-width: 85%; text-align: center;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.search-bar { display: flex; align-items: center; gap: 8px; background: var(--white); border-radius: 16px; padding: 6px 6px 6px 14px; box-shadow: 0 8px 20px rgba(0,0,0,0.15); }
.search-ico { font-size: 15px; opacity: 0.6; }
.search-bar input { flex: 1; padding: 8px 0; font-size: 14px; font-weight: 500; color: var(--gray-80); }
.btn-search { background: var(--purple); color: var(--white); padding: 10px 18px; border-radius: 12px; font-weight: 700; font-size: 13px; white-space: nowrap; box-shadow: 0 6px 14px rgba(145,43,234,0.4); transition: transform .12s; }
.btn-search:active { transform: scale(0.95); }

.chip-row { display: flex; gap: 8px; overflow-x: auto; margin-top: 14px; padding-bottom: 2px; }
.chip-row::-webkit-scrollbar { display: none; }
.chip-row.padded { padding: 10px 20px; margin-top: 0; }
.chip {
  display: flex; align-items: center; gap: 6px; white-space: nowrap;
  padding: 8px 14px; border-radius: 30px; background: rgba(255,255,255,0.55); color: var(--gray-80);
  font-size: 12.5px; font-weight: 700; flex-shrink: 0; transition: all .15s ease;
}
.chip.active { background: var(--gray-80); color: var(--yellow); }
#category-chips-full .chip { background: var(--gray-10); }
#category-chips-full .chip.active { background: var(--purple); color: var(--white); }

/* ============ ESFERA iAmarillo IA ============ */
.ai-orb-wrap { display: flex; flex-direction: column; align-items: center; margin: 14px 0 2px; }
.ai-orb {
  position: relative; width: 84px; height: 84px; border-radius: 50%; border: none; cursor: pointer;
  -webkit-tap-highlight-color: transparent; display: flex; align-items: center; justify-content: center;
  -webkit-user-select: none; user-select: none; touch-action: none; -webkit-touch-callout: none;
}
.ai-orb .orb-ring {
  position: absolute; inset: -10px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.55);
  opacity: 0; transform: scale(0.8);
}
.ai-orb .orb-core {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, #FFE28A, #912BEA, #FFC300, #C79CFF, #FFE28A);
  box-shadow:
    inset 0 -10px 18px rgba(51,51,51,0.35),
    inset 0 8px 16px rgba(255,255,255,0.55),
    0 10px 24px rgba(145,43,234,0.45);
  animation: orb-spin 7s linear infinite;
}
.ai-orb .orb-core::after {
  content: ""; position: absolute; top: 12%; left: 18%; width: 34%; height: 28%;
  background: radial-gradient(circle, rgba(255,255,255,0.95), rgba(255,255,255,0) 72%);
  border-radius: 50%; filter: blur(0.5px);
}
.ai-orb .orb-icon { position: relative; z-index: 2; font-size: 26px; filter: drop-shadow(0 2px 3px rgba(51,51,51,0.4)); transition: transform .15s; }
.ai-orb:active .orb-icon, .ai-orb.listening .orb-icon { transform: scale(1.12); }
.ai-orb.listening .orb-ring { animation: orb-ring-pulse 1.1s ease-out infinite; }
.ai-orb.listening .orb-core { animation: orb-spin 1.6s linear infinite, orb-pulse .85s ease-in-out infinite; box-shadow: inset 0 -10px 18px rgba(51,51,51,0.35), inset 0 8px 16px rgba(255,255,255,0.55), 0 0 30px 8px rgba(145,43,234,0.7); }
.ai-orb.thinking .orb-core { animation: orb-spin 0.6s linear infinite; }
@keyframes orb-spin { to { transform: rotate(360deg); } }
@keyframes orb-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.07); } }
@keyframes orb-ring-pulse { 0% { transform: scale(0.85); opacity: 0.9; } 100% { transform: scale(1.4); opacity: 0; } }

.ai-orb-label { margin-top: 9px; font-size: 11.5px; font-weight: 700; color: var(--gray-80); opacity: 0.8; text-align: center; max-width: 260px; }

.ai-result { margin-top: 6px; }
.ai-result-card {
  background: rgba(255,255,255,0.95); border-radius: var(--radius-md); padding: 12px 14px;
  box-shadow: var(--shadow-soft); font-size: 12.5px; color: var(--gray-80); margin-bottom: 10px;
}
.ai-result-card b { color: var(--purple-strong); }
.ai-result-people { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 2px; }
.ai-result-people::-webkit-scrollbar { display: none; }

.ai-result-card.ai-note b { color: var(--gray-80); }
.ai-result-card.ai-urgent { background: var(--danger); color: var(--white); }
.ai-result-card.ai-urgent p { font-size: 12px; opacity: 0.95; margin-bottom: 10px; }
.ai-result-card.ai-warning { background: var(--yellow-strong); color: var(--gray-80); }
.ai-result-card.ai-warning p { font-size: 12px; margin: 0; }
.ai-urgent-title { font-size: 14px; font-weight: 800; margin-bottom: 6px; }
.btn-emergency-call {
  display: block; text-align: center; background: var(--white); color: var(--danger);
  font-weight: 800; font-size: 14px; padding: 12px; border-radius: 12px; text-decoration: none;
}

.home-body { padding: 18px 20px 0; flex: 1; }
.section-block { margin-bottom: 26px; }
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.section-head h3 { font-size: 16px; font-weight: 800; color: var(--gray-80); }
.link-btn { font-size: 12.5px; font-weight: 700; color: var(--purple); }

/* ============ MAP ============ */
/* El mapa ya no se muestra de entrada en el home: aparece recién debajo
   de los resultados de una búsqueda/voz (.ai-result-map-card) y, más
   grande, cuando ya contrataste a alguien (.chat-mini-map). Ambos abren
   el mismo mapa a pantalla completa (#view-map-full / .map-canvas.full). */
.map-canvas { width: 100%; height: 100%; background: var(--gray-10); }
.ai-result-map-card { position: relative; height: 240px; border-radius: var(--radius-lg); overflow: hidden; margin-top: 10px; box-shadow: var(--shadow-soft); display: none; }
.map-canvas.full { flex: 1; height: auto; }
.map-expand-fab {
  position: absolute; bottom: 12px; right: 12px; z-index: 500;
  display: flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 20px;
  background: var(--gray-80); color: var(--yellow); font-size: 11.5px; font-weight: 800;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* Pines de profesionales (dentro de un L.divIcon de Leaflet, que ya
   posiciona el marcador — este bloque solo define su apariencia). */
.map-pin { display: flex; flex-direction: column; align-items: center; cursor: pointer; }
.map-pin .pin-bubble {
  width: 40px; height: 40px; border-radius: 50% 50% 50% 4px; background: var(--white);
  border: 2.5px solid var(--purple); display: flex; align-items: center; justify-content: center;
  font-size: 17px; transform: rotate(45deg); box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}
.map-pin .pin-bubble span { transform: rotate(-45deg); }
.map-pin.cat-emergencia .pin-bubble { border-color: var(--danger); }
.pin-price {
  margin-top: 3px; background: var(--gray-80); color: var(--yellow); font-size: 9.5px; font-weight: 800;
  padding: 2px 7px; border-radius: 20px; white-space: nowrap; box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

/* Pin de "tu ubicación" (punto pulsante) */
.me-pin { position: relative; width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; }
.me-dot { width: 16px; height: 16px; border-radius: 50%; background: var(--purple); border: 3px solid var(--white); box-shadow: 0 2px 8px rgba(0,0,0,0.35); z-index: 2; }
.me-pulse { position: absolute; width: 16px; height: 16px; border-radius: 50%; background: rgba(145,43,234,0.45); animation: me-pulse-anim 1.8s ease-out infinite; }
@keyframes me-pulse-anim { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(2.8); opacity: 0; } }

/* Contenido del popup de Leaflet para un profesional */
.pin-popup-top { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.pin-popup-top img { width: 38px; height: 38px; border-radius: 10px; object-fit: cover; }
.pin-popup-name { font-size: 12.5px; font-weight: 800; color: var(--gray-80); line-height: 1.2; }
.pin-popup-cat { font-size: 10.5px; color: var(--gray-60); }
.pin-popup-price { font-size: 12px; font-weight: 700; color: var(--purple-strong); margin-bottom: 8px; }
.leaflet-popup-content button { width: 100%; background: var(--gray-80); color: var(--yellow); font-size: 11.5px; font-weight: 700; padding: 8px; border-radius: 8px; }
.leaflet-popup-content-wrapper { border-radius: var(--radius-md) !important; }
.leaflet-container { font-family: 'Inter', system-ui, sans-serif; }

/* ============ OFFERS ============ */
.offers-scroll { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 4px; }
.offers-scroll::-webkit-scrollbar { display: none; }
.offer-card { flex-shrink: 0; width: 240px; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-soft); position: relative; background: var(--gray-80); cursor: pointer; }
.offer-card img { width: 100%; height: 110px; object-fit: cover; opacity: 0.85; }
.offer-badge { position: absolute; top: 10px; left: 10px; background: var(--purple); color: var(--white); font-size: 11px; font-weight: 800; padding: 4px 9px; border-radius: 20px; }
.offer-info { padding: 12px; background: var(--white); }
.offer-info h4 { font-size: 13.5px; font-weight: 800; color: var(--gray-80); margin-bottom: 2px; }
.offer-info p { font-size: 11.5px; color: var(--gray-60); margin-bottom: 8px; }
.offer-price { font-size: 12px; font-weight: 700; color: var(--purple-strong); }

/* ============ OFFER DETAIL ============ */
.offer-detail-scroll { flex: 1; overflow-y: auto; }
.offer-detail-img { width: 100%; height: 200px; object-fit: cover; }
.offer-detail-body { padding: 20px; }
.offer-detail-body h2 { font-size: 19px; font-weight: 800; color: var(--gray-80); margin-bottom: 4px; }
.offer-detail-sub { font-size: 13px; color: var(--gray-60); margin-bottom: 18px; }
.offer-price-compare {
  display: flex; align-items: center; gap: 12px; background: var(--gray-10); border-radius: var(--radius-md);
  padding: 14px 16px; margin-bottom: 14px; flex-wrap: wrap;
}
.opc-label { display: block; font-size: 10.5px; font-weight: 700; color: var(--gray-60); text-transform: uppercase; letter-spacing: .3px; }
.opc-before { font-size: 16px; font-weight: 700; color: var(--gray-30); text-decoration: line-through; }
.opc-now { font-size: 24px; font-weight: 800; color: var(--purple-strong); }
.opc-arrow { font-size: 18px; color: var(--gray-30); }
.opc-unit { font-size: 12px; color: var(--gray-60); font-weight: 600; margin-left: -4px; }
.offer-hired-note { font-size: 12.5px; line-height: 1.5; padding: 12px 14px; border-radius: var(--radius-md); margin-bottom: 20px; }
.offer-hired-note.yes { background: #E4F9E9; color: #1D7A3C; }
.offer-hired-note.no { background: var(--yellow-pale); color: var(--gray-60); }

/* ============ CARDS (favorites / providers) ============ */
.cards-scroll { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 4px; }
.cards-scroll::-webkit-scrollbar { display: none; }
.provider-card {
  flex-shrink: 0; width: 152px; background: var(--white); border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft); overflow: hidden; border: 1.5px solid var(--gray-10);
}
.provider-card .pc-photo-wrap { position: relative; }
.provider-card img.pc-photo { width: 100%; height: 96px; object-fit: cover; }
.pc-fav-btn { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,0.85); display: flex; align-items: center; justify-content: center; font-size: 13px; }
.pc-badge { position: absolute; bottom: 6px; left: 6px; font-size: 15px; filter: drop-shadow(0 1px 2px rgba(0,0,0,0.4)); }
.provider-card .pc-info { padding: 9px 10px 11px; }
.pc-name { font-size: 12.5px; font-weight: 800; color: var(--gray-80); line-height: 1.25; margin-bottom: 2px; }
.pc-cat { font-size: 10.5px; color: var(--gray-60); margin-bottom: 6px; }
.pc-row { display: flex; align-items: center; justify-content: space-between; }
.pc-rating { font-size: 11px; font-weight: 700; color: var(--gray-80); }
.pc-price { font-size: 11.5px; font-weight: 800; color: var(--purple-strong); }

/* list variant (favorites full page) */
.list-scroll { padding: 16px 20px 100px; flex: 1; }
.provider-row {
  display: flex; gap: 12px; background: var(--white); border: 1.5px solid var(--gray-10); border-radius: var(--radius-md);
  padding: 10px; margin-bottom: 12px; box-shadow: var(--shadow-soft); align-items: center; position: relative;
}
.provider-row img { width: 62px; height: 62px; border-radius: 14px; object-fit: cover; flex-shrink: 0; }
.provider-row .pr-info { flex: 1; min-width: 0; }
.provider-row .pr-name { font-size: 14px; font-weight: 800; color: var(--gray-80); }
.provider-row .pr-cat { font-size: 11.5px; color: var(--gray-60); margin: 2px 0 4px; }
.provider-row .pr-meta { display: flex; gap: 10px; font-size: 11px; color: var(--gray-80); font-weight: 700; align-items: center; }
.pr-actions { display: flex; flex-direction: column; align-items: center; gap: 10px; flex-shrink: 0; }
.pr-fav { font-size: 15px; }
.pr-share { width: 30px; height: 30px; border-radius: 50%; background: #E9FBEF; color: #25D366; display: flex; align-items: center; justify-content: center; }
.pr-share svg { width: 17px; height: 17px; }

/* ============ HISTORY ============ */
.history-preview { display: flex; flex-direction: column; gap: 10px; }
.history-item, .history-row {
  display: flex; gap: 12px; align-items: center; background: var(--gray-10); border-radius: var(--radius-md); padding: 10px 12px;
}
.history-row { background: var(--white); border: 1.5px solid var(--gray-10); box-shadow: var(--shadow-soft); margin-bottom: 12px; }
.history-item img, .history-row img { width: 46px; height: 46px; border-radius: 12px; object-fit: cover; flex-shrink: 0; }
.hist-info { flex: 1; min-width: 0; }
.hist-info .hi-name { font-size: 13px; font-weight: 800; color: var(--gray-80); }
.hist-info .hi-service { font-size: 11px; color: var(--gray-60); margin: 1px 0 3px; }
.hist-info .hi-date { font-size: 10.5px; color: var(--gray-30); font-weight: 700; }
.hist-right { text-align: right; flex-shrink: 0; }
.hist-price { font-size: 13px; font-weight: 800; color: var(--gray-80); }
.hist-status { font-size: 10px; font-weight: 800; padding: 3px 8px; border-radius: 20px; margin-top: 4px; display: inline-block; }
.hist-status.completado { background: #E4F9E9; color: #22A24D; }
.hist-status.cancelado { background: #FDE9E8; color: var(--danger); }
.hist-actions { display: flex; gap: 8px; margin-top: 8px; }
.hist-actions button { font-size: 11px; font-weight: 700; padding: 6px 10px; border-radius: 8px; background: var(--purple-pale); color: var(--purple-strong); }

/* ============ SUBVIEW HEADER ============ */
.subview-header { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--gray-10); flex-shrink: 0; }
.subview-header h3 { font-size: 16px; font-weight: 800; color: var(--gray-80); }

/* ============ DETAIL VIEW ============ */
.detail-scroll { flex: 1; overflow-y: auto; padding-bottom: 100px; }
.detail-cover { position: relative; height: 190px; }
.detail-cover img { width: 100%; height: 100%; object-fit: cover; }
.detail-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.35), transparent 40%); }
.detail-back, .detail-fav {
  position: absolute; top: 14px; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.9);
  display: flex; align-items: center; justify-content: center; font-size: 16px; box-shadow: var(--shadow-soft); z-index: 5;
}
.detail-back { left: 16px; }
.detail-fav { right: 16px; }
.detail-head { padding: 0 20px; margin-top: -46px; position: relative; z-index: 2; }
.detail-avatar { width: 92px; height: 92px; border-radius: 24px; object-fit: cover; border: 4px solid var(--white); box-shadow: var(--shadow-soft); }
.detail-name-row { display: flex; align-items: flex-start; justify-content: space-between; margin-top: 10px; }
.detail-name { font-size: 20px; font-weight: 800; color: var(--gray-80); display: flex; align-items: center; gap: 6px; }
.verified-check { color: var(--purple); font-size: 14px; }
.detail-cat { font-size: 13px; color: var(--gray-60); font-weight: 600; margin-top: 2px; }
.badge-pill { display: flex; align-items: center; gap: 5px; background: var(--purple-pale); color: var(--purple-strong); font-size: 11.5px; font-weight: 800; padding: 6px 11px; border-radius: 20px; white-space: nowrap; }

.detail-stats-row { display: flex; gap: 10px; padding: 16px 20px 0; }
.dstat { flex: 1; background: var(--gray-10); border-radius: var(--radius-md); padding: 10px 8px; text-align: center; }
.dstat .ds-val { font-size: 15px; font-weight: 800; color: var(--gray-80); }
.dstat .ds-label { font-size: 10px; color: var(--gray-60); font-weight: 700; margin-top: 2px; }

.badge-levels { display: flex; gap: 6px; padding: 16px 20px 0; }
.blevel { flex: 1; text-align: center; padding: 10px 4px; border-radius: 12px; background: var(--gray-10); opacity: 0.4; }
.blevel.reached { opacity: 1; background: var(--yellow-pale); }
.blevel.current { background: var(--purple-pale); box-shadow: 0 0 0 2px var(--purple) inset; }
.blevel .bl-icon { font-size: 18px; }
.blevel .bl-name { font-size: 8.5px; font-weight: 800; color: var(--gray-80); margin-top: 2px; display: block; }

.detail-section { padding: 18px 20px 0; }
.detail-section h4 { font-size: 14.5px; font-weight: 800; color: var(--gray-80); margin-bottom: 10px; }
.detail-bio { font-size: 13px; line-height: 1.55; color: var(--gray-60); }
.skills-wrap { display: flex; flex-wrap: wrap; gap: 8px; }
.skill-tag { font-size: 11.5px; font-weight: 700; padding: 7px 12px; border-radius: 20px; background: var(--gray-10); color: var(--gray-80); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.gallery-grid img { width: 100%; height: 78px; object-fit: cover; border-radius: 10px; }

.review-card { border-bottom: 1px solid var(--gray-10); padding: 14px 0; }
.review-card:last-child { border-bottom: none; }
.review-top { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.review-top img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.review-name { font-size: 13px; font-weight: 800; color: var(--gray-80); }
.review-date { font-size: 10.5px; color: var(--gray-30); font-weight: 600; }
.review-stars { font-size: 11px; color: var(--yellow-strong); margin-left: auto; }
.review-comment { font-size: 12.5px; color: var(--gray-60); line-height: 1.5; }

.detail-cta {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 430px; background: var(--white); border-top: 1px solid var(--gray-10);
  padding: 12px 20px 18px; display: flex; align-items: center; gap: 12px; box-shadow: 0 -6px 20px rgba(0,0,0,0.08); z-index: 40;
}
@media (max-width: 480px) { .detail-cta { width: 100%; } }
.cta-price { flex-shrink: 0; }
.cta-price .cp-val { font-size: 18px; font-weight: 800; color: var(--gray-80); }
.cta-price .cp-label { font-size: 10px; color: var(--gray-60); font-weight: 600; }
.btn-hire { flex: 1; background: var(--purple); color: var(--white); padding: 14px; border-radius: 14px; font-weight: 800; font-size: 14.5px; box-shadow: 0 8px 18px rgba(145,43,234,0.35); transition: transform .12s; }
.btn-hire:active { transform: scale(0.97); }

/* ============ CHAT ============ */
.chat-header { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--gray-10); flex-shrink: 0; }
.chat-avatar { width: 40px; height: 40px; border-radius: 12px; object-fit: cover; }
.chat-title { flex: 1; display: flex; flex-direction: column; }
.chat-title strong { font-size: 14.5px; color: var(--gray-80); }
.online-status { font-size: 11px; color: #22A24D; font-weight: 700; }
.chat-mini-map-wrap { position: relative; flex-shrink: 0; border-bottom: 1px solid var(--gray-10); }
.chat-mini-map { height: 220px; }
.detail-map-wrap { position: relative; height: 200px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); }
.detail-map { width: 100%; height: 100%; }
.chat-messages { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--gray-10); }
.msg { max-width: 75%; padding: 10px 13px; border-radius: 16px; font-size: 13px; line-height: 1.4; }
.msg.in { align-self: flex-start; background: var(--white); color: var(--gray-80); border-bottom-left-radius: 4px; box-shadow: var(--shadow-soft); }
.msg.out { align-self: flex-end; background: var(--purple); color: var(--white); border-bottom-right-radius: 4px; }
.msg.system { align-self: center; background: var(--yellow-pale); color: var(--gray-80); font-weight: 700; font-size: 11.5px; border-radius: 20px; padding: 6px 14px; }
.msg-time { font-size: 9.5px; opacity: 0.6; margin-top: 4px; display: block; }
.chat-input-bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-top: 1px solid var(--gray-10); flex-shrink: 0; background: var(--white); }
.chat-input-bar input { flex: 1; background: var(--gray-10); padding: 11px 14px; border-radius: 20px; font-size: 13.5px; }
.btn-send { width: 40px; height: 40px; border-radius: 50%; background: var(--purple); color: var(--white); font-size: 15px; flex-shrink: 0; }

/* chat list rows */
.chatlist-row { display: flex; gap: 12px; align-items: center; padding: 12px 20px; border-bottom: 1px solid var(--gray-10); }
.chatlist-row img { width: 50px; height: 50px; border-radius: 14px; object-fit: cover; flex-shrink: 0; }
.chatlist-info { flex: 1; min-width: 0; }
.chatlist-info .cl-name { font-size: 14px; font-weight: 800; color: var(--gray-80); }
.chatlist-info .cl-msg { font-size: 12px; color: var(--gray-60); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.chatlist-meta { text-align: right; flex-shrink: 0; }
.chatlist-meta .cl-time { font-size: 10.5px; color: var(--gray-30); font-weight: 600; }
.cl-unread { width: 18px; height: 18px; border-radius: 50%; background: var(--purple); color: var(--white); font-size: 9.5px; font-weight: 800; display: flex; align-items: center; justify-content: center; margin-left: auto; margin-top: 6px; }

/* ============ NOTIFICATIONS ============ */
.notif-row { display: flex; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--gray-10); align-items: flex-start; }
.notif-ico { width: 40px; height: 40px; border-radius: 12px; background: var(--yellow-pale); display: flex; align-items: center; justify-content: center; font-size: 17px; flex-shrink: 0; }
.notif-body { flex: 1; }
.notif-body .nt-title { font-size: 13px; font-weight: 800; color: var(--gray-80); }
.notif-body .nt-desc { font-size: 12px; color: var(--gray-60); margin: 2px 0 4px; line-height: 1.4; }
.notif-body .nt-time { font-size: 10.5px; color: var(--gray-30); font-weight: 700; }

/* empty state */
.empty-state { text-align: center; padding: 60px 30px; color: var(--gray-60); }
.empty-state .es-ico { font-size: 40px; margin-bottom: 12px; }
.empty-state .es-title { font-weight: 800; color: var(--gray-80); font-size: 15px; margin-bottom: 4px; }
.empty-state .es-sub { font-size: 12.5px; }

/* ============ BOTTOM NAV ============ */
.bottom-nav {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 430px;
  background: var(--white); border-top: 1px solid var(--gray-10);
  display: flex; justify-content: space-around; padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
  box-shadow: 0 -4px 16px rgba(0,0,0,0.06); z-index: 60;
}
@media (max-width: 480px) { .bottom-nav { width: 100%; } }
.nav-btn { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 10px; border-radius: 12px; color: var(--gray-30); font-size: 10px; font-weight: 700; transition: color .15s; }
.nav-btn .nav-ico { font-size: 19px; filter: grayscale(1); opacity: 0.5; }
.nav-btn.active { color: var(--purple-strong); }
.nav-btn.active .nav-ico { filter: none; opacity: 1; }

/* ============ RATING BREAKDOWN (detalle) ============ */
.rating-breakdown { display: flex; flex-direction: column; gap: 10px; }
.rb-row { display: flex; align-items: center; gap: 10px; font-size: 12px; }
.rb-label { width: 78px; flex-shrink: 0; color: var(--gray-60); font-weight: 700; }
.rb-bar { flex: 1; height: 7px; border-radius: 20px; background: var(--gray-10); overflow: hidden; display: block; }
.rb-bar-fill { display: block; height: 100%; background: var(--purple); border-radius: 20px; }
.rb-val { width: 26px; text-align: right; font-weight: 800; color: var(--gray-80); flex-shrink: 0; }

.review-subscores { display: flex; gap: 10px; margin: 6px 0; flex-wrap: wrap; }
.review-subscores span { font-size: 10.5px; font-weight: 700; color: var(--gray-60); background: var(--gray-10); padding: 3px 8px; border-radius: 10px; }
.review-photos { display: flex; gap: 6px; margin-top: 8px; }
.review-photos img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; }

/* ============ AVAILABILITY (detalle) ============ */
.availability-week { display: flex; flex-direction: column; gap: 6px; }
.aw-row { display: flex; justify-content: space-between; font-size: 12.5px; padding: 7px 12px; background: var(--gray-10); border-radius: 10px; }
.aw-day { font-weight: 700; color: var(--gray-80); }
.aw-hours { color: var(--gray-60); }
.btn-schedule { width: 100%; margin-top: 12px; padding: 12px; border-radius: 12px; background: var(--purple-pale); color: var(--purple-strong); font-weight: 800; font-size: 13.5px; }

/* ============ CHECKOUT ============ */
.checkout-scroll { flex: 1; overflow-y: auto; padding: 16px 20px 110px; }
.checkout-provider { display: flex; align-items: center; gap: 12px; background: var(--gray-10); border-radius: var(--radius-md); padding: 12px; margin-bottom: 20px; }
.checkout-provider img { width: 48px; height: 48px; border-radius: 12px; object-fit: cover; }
.checkout-provider .cp-name { font-weight: 800; font-size: 14px; color: var(--gray-80); }
.checkout-provider .cp-sub { font-size: 11.5px; color: var(--gray-60); }
.checkout-section { margin-bottom: 22px; }
.checkout-section h4 { font-size: 13.5px; font-weight: 800; color: var(--gray-80); margin-bottom: 10px; }

.option-card {
  display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: var(--radius-md);
  border: 1.5px solid var(--gray-10); margin-bottom: 8px; cursor: pointer; transition: all .12s;
}
.option-card.selected { border-color: var(--purple); background: var(--purple-pale); }
.option-card .oc-icon { font-size: 18px; width: 26px; text-align: center; flex-shrink: 0; }
.option-card .oc-body { flex: 1; min-width: 0; }
.option-card .oc-title { font-size: 13px; font-weight: 800; color: var(--gray-80); }
.option-card .oc-sub { font-size: 11px; color: var(--gray-60); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.option-card .oc-check { font-size: 15px; color: var(--purple); flex-shrink: 0; visibility: hidden; }
.option-card.selected .oc-check { visibility: visible; }

.add-option-form { display: none; flex-direction: column; gap: 8px; margin-top: 8px; padding: 12px; background: var(--gray-10); border-radius: var(--radius-md); }
.add-option-form.show { display: flex; }
.add-option-form input, .add-option-form select {
  padding: 10px 12px; background: var(--white); border-radius: var(--radius-sm); font-size: 13px; border: 1.5px solid var(--gray-10);
}
.link-btn-inline { font-size: 12px; font-weight: 700; color: var(--purple-strong); margin-top: 4px; }

.day-chip-row { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 10px; }
.day-chip { flex-shrink: 0; padding: 9px 14px; border-radius: 12px; background: var(--gray-10); font-size: 12px; font-weight: 700; color: var(--gray-80); white-space: nowrap; }
.day-chip.active { background: var(--gray-80); color: var(--yellow); }
.time-chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.time-chip { padding: 8px 12px; border-radius: 10px; background: var(--gray-10); font-size: 12px; font-weight: 700; color: var(--gray-80); }
.time-chip.active { background: var(--purple); color: var(--white); }

.checkout-cta {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 430px;
  background: var(--white); border-top: 1px solid var(--gray-10); padding: 12px 20px 18px; z-index: 40;
}
@media (max-width: 480px) { .checkout-cta { width: 100%; } }
.checkout-summary { font-size: 11.5px; color: var(--gray-60); margin-bottom: 10px; }

/* ============ STAR PICKER (calificar) ============ */
.star-picker { display: flex; gap: 6px; font-size: 26px; }
.star-picker span { color: var(--gray-10); cursor: pointer; }
.star-picker span.on { color: var(--yellow-strong); }
.rate-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.rate-row .rr-label { font-size: 13px; font-weight: 700; color: var(--gray-80); }
.rate-row .star-picker { font-size: 20px; }
textarea.review-textarea {
  width: 100%; min-height: 90px; padding: 12px; background: var(--gray-10); border-radius: var(--radius-md);
  font-size: 13px; font-family: inherit; resize: vertical; border: 2px solid transparent;
}
textarea.review-textarea:focus { border-color: var(--purple-soft); background: var(--white); }
.photo-url-row { display: flex; gap: 8px; margin-bottom: 8px; }
.photo-url-row input { flex: 1; padding: 10px 12px; background: var(--gray-10); border-radius: var(--radius-sm); font-size: 12.5px; }
.photo-url-row button { width: 36px; border-radius: var(--radius-sm); background: var(--gray-10); font-size: 15px; color: var(--danger); }

/* ============ ONBOARDING (5 pantallas, storyboard iAmarillo) ============ */
.ob-view { position: relative; background: var(--white); overflow: hidden; }
.ob-skip-wrap { position: absolute; top: 16px; right: 16px; z-index: 20; }
.ob-skip { font-size: 12.5px; font-weight: 700; color: var(--gray-60); padding: 8px 14px; border-radius: 20px; background: var(--gray-10); }

.ob-track {
  display: flex; width: 500%; height: 100%; flex: 1;
  transition: transform .45s cubic-bezier(.65,0,.35,1);
  touch-action: pan-y;
}
.ob-screen {
  width: 20%; flex-shrink: 0; display: flex; flex-direction: column; align-items: center;
  justify-content: center; padding: 70px 32px 110px; text-align: center;
}
.ob-illust { width: 100%; height: 260px; display: flex; align-items: center; justify-content: center; margin-bottom: 26px; position: relative; }
.ob-headline { font-size: 22px; font-weight: 800; color: var(--gray-80); margin-bottom: 10px; line-height: 1.25; }
.ob-sub { font-size: 13.5px; color: var(--gray-60); line-height: 1.55; max-width: 300px; }

/* ---- Pantalla 1: orbita de especialidades ---- */
.ob-orbit { position: relative; width: 260px; height: 260px; }
.ob-orbit-icon {
  position: absolute; width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-size: 20px; box-shadow: 0 8px 16px rgba(48,48,51,0.15);
  animation: ob-pop .5s ease backwards;
}
.oi1 { left: 214px; top: 107px; animation-delay: .05s; }
.oi2 { left: 162px; top: 19px; animation-delay: .15s; }
.oi3 { left: 57px; top: 19px; animation-delay: .25s; }
.oi4 { left: 5px; top: 107px; animation-delay: .35s; }
.oi5 { left: 57px; top: 196px; animation-delay: .45s; }
.oi6 { left: 162px; top: 196px; animation-delay: .55s; }
.ob-center-figure { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); text-align: center; }
.ob-fig-head { width: 46px; height: 46px; border-radius: 50%; background: var(--purple); margin: 0 auto 4px; }
.ob-fig-body { width: 78px; height: 58px; border-radius: 38px 38px 6px 6px; background: var(--purple); }
.ob-bubble {
  position: absolute; top: -14px; right: -30px; width: 34px; height: 34px; border-radius: 50% 50% 50% 6px;
  background: var(--yellow); display: flex; align-items: center; justify-content: center; font-size: 15px;
  box-shadow: 0 6px 12px rgba(48,48,51,0.2); animation: ob-bounce 2s ease-in-out infinite;
}
@keyframes ob-pop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: scale(1); } }
@keyframes ob-bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* ---- Pantalla 2: mapa abstracto ---- */
.ob-map { position: relative; width: 260px; height: 200px; background: var(--gray-10); border-radius: var(--radius-lg); overflow: hidden; }
.ob-map-routes { position: absolute; inset: 0; width: 100%; height: 100%; }
.ob-scan-ring {
  position: absolute; left: 50%; top: 50%; width: 60px; height: 60px; margin: -30px 0 0 -30px;
  border-radius: 50%; border: 3px solid var(--purple); opacity: 0; animation: ob-scan 2s ease-out infinite;
}
.ob-scan-core {
  position: absolute; left: 50%; top: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%;
  background: var(--purple); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 18px;
  box-shadow: 0 6px 16px rgba(145,43,234,0.5);
}
@keyframes ob-scan { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.6); opacity: 0; } }
.ob-map-pin { position: absolute; font-size: 22px; animation: ob-pop .5s ease backwards, ob-bounce 2.4s ease-in-out infinite; filter: drop-shadow(0 4px 4px rgba(0,0,0,.25)); }
.ob-map-pin.p1 { left: 24px; top: 30px; animation-delay: .3s, .3s; }
.ob-map-pin.p2 { right: 20px; top: 24px; animation-delay: .55s, .55s; }
.ob-map-pin.p3 { left: 34px; bottom: 18px; animation-delay: .8s, .8s; }

/* ---- Pantalla 3: tarjeta de perfil ---- */
.ob-profile-card { width: 220px; background: var(--white); border: 1.5px solid var(--gray-10); border-radius: var(--radius-lg); padding: 22px 18px; box-shadow: var(--shadow-soft); animation: ob-pop .5s ease; }
.ob-pc-avatar { position: relative; width: 74px; height: 74px; border-radius: 50%; background: var(--yellow-pale); font-size: 34px; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.ob-pc-seal { position: absolute; bottom: -2px; right: -2px; font-size: 18px; background: var(--white); border-radius: 50%; }
.ob-pc-bar { height: 10px; border-radius: 6px; background: var(--gray-10); margin: 0 auto 8px; }
.ob-pc-bar.w70 { width: 70%; }
.ob-pc-bar.w45 { width: 45%; }
.ob-pc-bar.accent { background: var(--purple-pale); }
.ob-pc-row { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; font-size: 12px; }
.ob-pc-chip { background: var(--gray-10); color: var(--gray-60); font-weight: 700; padding: 3px 9px; border-radius: 20px; }

/* ---- Pantalla 4: evolución de insignias ---- */
.ob-badges-row { display: flex; align-items: flex-end; gap: 14px; }
.ob-badge-step { display: flex; flex-direction: column; align-items: center; gap: 6px; animation: ob-pop .5s ease backwards; }
.ob-badge-step span { border-radius: 50%; background: var(--yellow-pale); display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 14px rgba(48,48,51,0.12); }
.ob-badge-step small { font-size: 10.5px; font-weight: 700; color: var(--gray-60); }
.ob-badge-step.s1 span { width: 44px; height: 44px; font-size: 18px; animation-delay: .05s; }
.ob-badge-step.s2 span { width: 56px; height: 56px; font-size: 23px; animation-delay: .2s; }
.ob-badge-step.s3 span { width: 68px; height: 68px; font-size: 28px; animation-delay: .35s; background: var(--yellow-soft); }
.ob-badge-step.s4 span { width: 82px; height: 82px; font-size: 34px; animation-delay: .5s; background: var(--purple-pale); box-shadow: 0 8px 20px rgba(145,43,234,0.35); }

/* ---- Pantalla 5: cierre ---- */
.ob-scene5 { position: relative; width: 240px; height: 180px; }
.ob-s5-person { position: absolute; left: 20px; bottom: 10px; font-size: 64px; animation: ob-pop .5s ease; }
.ob-s5-tech { position: absolute; right: 20px; bottom: 10px; font-size: 64px; animation: ob-pop .5s ease .15s backwards; }
.ob-s5-check { position: absolute; left: 50%; top: 0; transform: translateX(-50%); font-size: 34px; animation: ob-pop .5s ease .4s backwards, ob-bounce 2s ease-in-out .4s infinite; }
.ob-final-logo { width: 200px; margin: 6px auto 22px; }
.ob-start { max-width: 260px; }

.ob-footer { position: absolute; left: 0; right: 0; bottom: 26px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.ob-dots { display: flex; gap: 7px; }
.ob-dots span { width: 7px; height: 7px; border-radius: 50%; background: var(--gray-30); transition: all .25s; }
.ob-dots span.active { width: 20px; border-radius: 4px; background: var(--purple); }
.ob-next { background: var(--gray-80); color: var(--yellow); font-weight: 700; font-size: 13.5px; padding: 12px 26px; border-radius: 30px; transition: transform .12s, opacity .2s; }
.ob-next:active { transform: scale(.96); }
.ob-next.hidden { opacity: 0; pointer-events: none; }
