/* =========================================================================
   Win Manager · Perfil profesional de servicios (capa PRO)
   Archivo nuevo y aditivo. No modifica tienda-express-store.css.
   Usa las variables --wm-pro-accent / --wm-pro-accent-2 inyectadas por la
   profesión. Todo va con prefijo .wm-spx-* y scoping bajo .wm-service-profile.
   ========================================================================= */

.wm-service-profile{
  --wm-pro-accent:#1e40af;
  --wm-pro-accent-2:#0ea5e9;
  --wm-pro-ink:#0f172a;
  --wm-pro-muted:#5b6577;
  --wm-pro-line:#e6e9f0;
  --wm-pro-soft:#f5f7fb;
  --wm-pro-radius:20px;
  --wm-pro-shadow:0 22px 60px -28px rgba(15,23,42,.45);
}

/* Tinte de marca por profesión sobre elementos ya existentes del perfil. */
.wm-service-profile .wm-sp-kicker{
  background:var(--wm-pro-accent);
  color:#fff;border:none;
}
.wm-service-profile .wm-sp-primary,
.wm-service-profile .wm-sp-card-ai,
.wm-service-profile .wm-sp-band-btn,
.wm-service-profile .wm-sp-contact-ai{
  background:var(--wm-pro-accent)!important;
  border-color:transparent!important;
}
.wm-service-profile .wm-sp-ai-pill,
.wm-service-profile .wm-sp-cat.active,
.wm-service-profile .wm-sp-service-chip{
  border-color:color-mix(in srgb,var(--wm-pro-accent) 35%,transparent);
  color:var(--wm-pro-accent);
}
.wm-service-profile .wm-sp-hero{
  background-image:linear-gradient(135deg,
    color-mix(in srgb,var(--wm-pro-accent) 92%,#0b1220),
    color-mix(in srgb,var(--wm-pro-accent-2) 70%,#0b1220));
}
.wm-service-profile.has-cover .wm-sp-hero{background-blend-mode:multiply;}

/* ---- Barra de credenciales bajo el hero (autoridad inmediata) ---- */
.wm-spx-credbar{
  background:var(--wm-pro-ink);
}
.wm-spx-credbar .wm-sp-container{
  display:flex;flex-wrap:wrap;gap:10px 22px;align-items:center;justify-content:center;
  padding:14px 20px;
}
.wm-spx-credbar span{
  display:inline-flex;align-items:center;gap:8px;
  color:#e8edf6;font-size:14px;font-weight:600;letter-spacing:.2px;
}
.wm-spx-credbar span b{color:#fff;}
.wm-spx-credbar .wm-spx-dot{width:6px;height:6px;border-radius:50%;background:var(--wm-pro-accent-2);}

/* ---- Sección PRO: presentación + áreas de especialidad ---- */
.wm-spx-pro{padding:64px 0 8px;}
.wm-spx-pro-grid{
  display:grid;grid-template-columns:1.15fr .85fr;gap:34px;align-items:start;
}
.wm-spx-about-head{margin-bottom:6px;}
.wm-spx-eyebrow{
  display:inline-flex;align-items:center;gap:8px;
  font-size:12px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;
  color:var(--wm-pro-accent);margin-bottom:12px;
}
.wm-spx-eyebrow::before{content:"";width:22px;height:2px;border-radius:2px;background:var(--wm-pro-accent);}
.wm-spx-about h2{
  font-size:clamp(24px,3vw,32px);line-height:1.15;margin:0 0 14px;color:var(--wm-pro-ink);
  font-family:'Manrope',Inter,system-ui,sans-serif;font-weight:800;letter-spacing:-.02em;
}
.wm-spx-headline{
  font-size:18px;line-height:1.4;color:var(--wm-pro-ink);font-weight:700;margin:0 0 12px;
}
.wm-spx-about p{color:var(--wm-pro-muted);font-size:16px;line-height:1.7;margin:0 0 18px;}

.wm-spx-stats{display:flex;flex-wrap:wrap;gap:12px;margin:18px 0 22px;}
.wm-spx-stat{
  flex:1 1 130px;min-width:130px;background:var(--wm-pro-soft);border:1px solid var(--wm-pro-line);
  border-radius:16px;padding:14px 16px;
}
.wm-spx-stat b{display:block;font-size:22px;font-weight:800;color:var(--wm-pro-accent);line-height:1;}
.wm-spx-stat span{display:block;margin-top:6px;font-size:13px;color:var(--wm-pro-muted);font-weight:600;}

.wm-spx-why{list-style:none;margin:0;padding:0;display:grid;gap:10px;}
.wm-spx-why li{
  display:flex;gap:11px;align-items:flex-start;font-size:15px;color:var(--wm-pro-ink);font-weight:600;line-height:1.5;
}
.wm-spx-why li::before{
  content:"✓";flex:0 0 auto;width:22px;height:22px;border-radius:50%;
  display:grid;place-items:center;font-size:12px;font-weight:800;color:#fff;
  background:var(--wm-pro-accent);
  margin-top:1px;
}

/* Tarjeta lateral: especialidades + credencial */
.wm-spx-side{
  background:#fff;border:1px solid var(--wm-pro-line);border-radius:var(--wm-pro-radius);
  box-shadow:var(--wm-pro-shadow);padding:24px;position:sticky;top:18px;
}
.wm-spx-side-cred{
  display:flex;gap:12px;align-items:center;padding:0 0 16px;margin:0 0 16px;
  border-bottom:1px solid var(--wm-pro-line);
}
.wm-spx-side-cred .wm-spx-seal{
  flex:0 0 auto;width:46px;height:46px;border-radius:13px;display:grid;place-items:center;font-size:22px;
  background:var(--wm-pro-accent);color:#fff;
}
.wm-spx-side-cred small{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.1em;color:var(--wm-pro-muted);font-weight:700;}
.wm-spx-side-cred strong{display:block;font-size:15px;color:var(--wm-pro-ink);font-weight:800;margin-top:3px;}
.wm-spx-side h3{
  font-size:13px;text-transform:uppercase;letter-spacing:.1em;color:var(--wm-pro-muted);
  margin:0 0 14px;font-weight:800;
}
.wm-spx-chips{display:flex;flex-wrap:wrap;gap:9px;}
.wm-spx-chips span{
  display:inline-flex;align-items:center;gap:7px;
  background:var(--wm-pro-soft);border:1px solid var(--wm-pro-line);
  color:var(--wm-pro-ink);font-weight:600;font-size:13.5px;
  border-radius:999px;padding:8px 14px;line-height:1;
}
.wm-spx-chips span::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--wm-pro-accent);}
.wm-spx-extra{margin-top:18px;display:grid;gap:10px;}
.wm-spx-extra div{font-size:14px;color:var(--wm-pro-ink);}
.wm-spx-extra div small{display:block;color:var(--wm-pro-muted);font-weight:700;font-size:12px;text-transform:uppercase;letter-spacing:.06em;margin-bottom:2px;}

/* ---- Badges de confianza por profesión ---- */
.wm-spx-badges{padding:26px 0 0;}
.wm-spx-badges .wm-sp-container{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;}
.wm-spx-badge{
  display:inline-flex;align-items:center;gap:9px;
  background:#fff;border:1px solid var(--wm-pro-line);border-radius:14px;
  padding:11px 16px;font-weight:700;font-size:14px;color:var(--wm-pro-ink);
  box-shadow:0 10px 30px -22px rgba(15,23,42,.5);
}
.wm-spx-badge i{font-style:normal;font-size:16px;}

/* ---- FAQ acordeón (sin JS, usa <details>) ---- */
.wm-spx-faq{padding:60px 0;}
.wm-spx-faq-grid{max-width:860px;margin:0 auto;display:grid;gap:12px;}
.wm-spx-faq details{
  background:#fff;border:1px solid var(--wm-pro-line);border-radius:16px;overflow:hidden;
  transition:border-color .2s ease,box-shadow .2s ease;
}
.wm-spx-faq details[open]{border-color:color-mix(in srgb,var(--wm-pro-accent) 40%,transparent);box-shadow:var(--wm-pro-shadow);}
.wm-spx-faq summary{
  list-style:none;cursor:pointer;padding:18px 22px;font-weight:700;font-size:16px;color:var(--wm-pro-ink);
  display:flex;align-items:center;justify-content:space-between;gap:16px;
}
.wm-spx-faq summary::-webkit-details-marker{display:none;}
.wm-spx-faq summary::after{
  content:"+";flex:0 0 auto;width:26px;height:26px;border-radius:50%;display:grid;place-items:center;
  background:var(--wm-pro-soft);color:var(--wm-pro-accent);font-weight:800;font-size:18px;transition:transform .2s ease;
}
.wm-spx-faq details[open] summary::after{content:"–";transform:rotate(180deg);}
.wm-spx-faq .wm-spx-faq-a{padding:0 22px 20px;color:var(--wm-pro-muted);font-size:15.5px;line-height:1.7;}

/* Encabezado de sección reutilizable */
.wm-spx-section-head{text-align:center;max-width:680px;margin:0 auto 30px;}
.wm-spx-section-head .wm-spx-eyebrow{justify-content:center;}
.wm-spx-section-head h2{
  font-size:clamp(24px,3.2vw,34px);margin:0;color:var(--wm-pro-ink);
  font-family:'Manrope',Inter,system-ui,sans-serif;font-weight:800;letter-spacing:-.02em;
}

/* ---- Responsive ---- */
@media (max-width:900px){
  .wm-spx-pro-grid{grid-template-columns:1fr;gap:24px;}
  .wm-spx-side{position:static;}
}
@media (max-width:560px){
  .wm-spx-pro{padding:36px 0 4px;}
  .wm-spx-faq{padding:36px 0;}
  .wm-spx-stat{flex:1 1 calc(50% - 6px);min-width:0;padding:12px 14px;}
  .wm-spx-stat b{font-size:20px;}
  .wm-spx-credbar .wm-sp-container{gap:8px 14px;padding:12px 16px;}
  .wm-spx-credbar span{font-size:13px;}
  .wm-spx-about h2{font-size:22px;margin-bottom:10px;}
  .wm-spx-headline{font-size:16px;}
  .wm-spx-about p{font-size:15px;line-height:1.6;margin-bottom:14px;}
  .wm-spx-why li{font-size:14px;}
  .wm-spx-side{padding:18px;}
  .wm-spx-chips span{font-size:13px;padding:7px 12px;}
  .wm-spx-badges{padding:18px 0 0;}
  .wm-spx-badge{font-size:13px;padding:9px 13px;}
}
@media (max-width:400px){
  .wm-spx-stat{flex:1 1 100%;}
  .wm-spx-pro{padding:28px 0 4px;}
}

/* =========================================================================
   v9.96 · Cabecera de perfil estilo LinkedIn (.wm-li-*)
   Reemplaza visualmente el hero anterior (oculto) por una tarjeta de perfil
   con portada, foto circular superpuesta, datos, métricas, botones y
   tarjeta lateral (puesto / educación / sitio web).
   ========================================================================= */
.wm-service-profile .wm-sp-hero-legacy{display:none!important;}

.wm-service-profile .wm-li-profile{padding:22px 0 6px;}
.wm-service-profile .wm-li-card{
  background:#fff;border:1px solid var(--wm-pro-line);border-radius:var(--wm-pro-radius);
  overflow:hidden;box-shadow:var(--wm-pro-shadow);
}
.wm-service-profile .wm-li-cover{
  width:100%;
  background:#f8fafc;
  background-size:cover;background-position:center;
  overflow:hidden;
}
.wm-service-profile .wm-li-cover:not(.wm-li-cover-adaptive){height:210px;}
.wm-service-profile .wm-li-cover-adaptive{
  height:auto;min-height:0;background:#f8fafc;display:flex;align-items:center;justify-content:center;
}
.wm-service-profile .wm-li-cover-img{
  display:block;width:100%;height:auto;max-width:100%;object-fit:contain;object-position:center center;
}
.wm-service-profile .wm-li-body{padding:0 28px 26px;position:relative;}
.wm-service-profile .wm-li-avatar{
  width:152px;height:152px;border-radius:50%;margin-top:-78px;position:relative;z-index:2;
  background:conic-gradient(from 210deg,#f59e0b,#ec4899,#8b5cf6,#06b6d4,#f59e0b);
  padding:5px;box-shadow:0 10px 30px -12px rgba(15,23,42,.5);
}
.wm-service-profile .wm-li-avatar img,
.wm-service-profile .wm-li-avatar span{
  display:flex;align-items:center;justify-content:center;
  width:100%;height:100%;border-radius:50%;object-fit:cover;
  border:4px solid #fff;background:#fff;box-sizing:border-box;
}
.wm-service-profile .wm-li-avatar span{font-size:54px;font-weight:800;color:var(--wm-pro-accent);background:var(--wm-pro-soft);}
.wm-service-profile .wm-li-grid{
  display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:26px;align-items:start;margin-top:14px;
}
.wm-service-profile .wm-li-name{margin:0;font-size:30px;line-height:1.15;font-weight:800;color:var(--wm-pro-ink);letter-spacing:-.02em;}
.wm-service-profile .wm-li-headline{margin:7px 0 0;font-size:17px;line-height:1.45;color:var(--wm-pro-ink);font-weight:500;max-width:62ch;}
.wm-service-profile .wm-li-sub{margin:10px 0 0;display:flex;flex-wrap:wrap;gap:6px 12px;align-items:center;color:var(--wm-pro-muted);font-size:14px;font-weight:600;}
.wm-service-profile .wm-li-contact{color:var(--wm-pro-accent);font-weight:800;text-decoration:none;}
.wm-service-profile .wm-li-contact:hover{text-decoration:underline;}
.wm-service-profile .wm-li-stats{margin:12px 0 0;display:flex;flex-wrap:wrap;gap:6px 18px;color:var(--wm-pro-muted);font-size:14px;font-weight:600;}
.wm-service-profile .wm-li-stats b{color:var(--wm-pro-ink);font-weight:800;}
.wm-service-profile .wm-li-actions{margin:18px 0 0;display:flex;flex-wrap:wrap;gap:10px;}
.wm-service-profile .wm-li-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:6px;
  border-radius:999px;padding:11px 22px;font-size:15px;font-weight:800;line-height:1;
  cursor:pointer;border:1.5px solid transparent;text-decoration:none;transition:transform .15s ease,box-shadow .15s ease,background .15s ease;
}
.wm-service-profile .wm-li-btn:hover{transform:translateY(-1px);}
.wm-service-profile .wm-li-btn-primary{background:var(--wm-pro-accent);color:#fff;box-shadow:none;}
.wm-service-profile .wm-li-btn-msg{background:#fff;color:var(--wm-pro-accent);border-color:var(--wm-pro-accent);}
.wm-service-profile .wm-li-btn-msg:hover{background:var(--wm-pro-soft);}
.wm-service-profile .wm-li-btn-ghost{background:var(--wm-pro-soft);color:var(--wm-pro-ink);border-color:var(--wm-pro-line);}
.wm-service-profile .wm-li-side{
  border:1px solid var(--wm-pro-line);border-radius:16px;background:var(--wm-pro-soft);
  padding:8px 14px;display:flex;flex-direction:column;
}
.wm-service-profile .wm-li-side-row{display:flex;gap:12px;align-items:flex-start;padding:13px 0;border-bottom:1px solid var(--wm-pro-line);}
.wm-service-profile .wm-li-side-row:last-child{border-bottom:0;}
.wm-service-profile .wm-li-side-ico{font-size:20px;line-height:1.2;flex:none;width:26px;text-align:center;}
.wm-service-profile .wm-li-side-txt{min-width:0;}
.wm-service-profile .wm-li-side-txt strong{display:block;color:var(--wm-pro-ink);font-size:14.5px;font-weight:700;line-height:1.35;word-break:break-word;}
.wm-service-profile .wm-li-side-txt a{display:block;color:var(--wm-pro-accent);font-size:14.5px;font-weight:800;text-decoration:none;word-break:break-all;}
.wm-service-profile .wm-li-side-txt a:hover{text-decoration:underline;}
.wm-service-profile .wm-li-side-txt small{display:block;color:var(--wm-pro-muted);font-size:12px;font-weight:600;margin-top:2px;}

@media(max-width:900px){
  .wm-service-profile .wm-li-grid{grid-template-columns:1fr;gap:18px;}
  .wm-service-profile .wm-li-cover:not(.wm-li-cover-adaptive){height:150px;}
}
@media(max-width:560px){
  .wm-service-profile .wm-li-profile{padding:14px 0 4px;}
  .wm-service-profile .wm-li-cover:not(.wm-li-cover-adaptive){height:120px;}
  .wm-service-profile .wm-li-body{padding:0 16px 20px;}
  .wm-service-profile .wm-li-avatar{width:104px;height:104px;margin-top:-54px;padding:4px;}
  .wm-service-profile .wm-li-avatar span{font-size:40px;}
  .wm-service-profile .wm-li-grid{gap:16px;margin-top:12px;}
  .wm-service-profile .wm-li-name{font-size:22px;line-height:1.2;}
  .wm-service-profile .wm-li-headline{font-size:14.5px;line-height:1.45;margin-top:6px;}
  .wm-service-profile .wm-li-sub{margin-top:9px;gap:5px 10px;font-size:13px;}
  .wm-service-profile .wm-li-stats{margin-top:10px;gap:5px 14px;font-size:13px;}
  /* Botones a ancho completo y bien separados en celular. */
  .wm-service-profile .wm-li-actions{margin-top:16px;gap:8px;flex-direction:column;}
  .wm-service-profile .wm-li-actions .wm-li-btn{width:100%;flex:1 1 auto;justify-content:center;padding:13px 18px;font-size:15px;}
  .wm-service-profile .wm-li-side{padding:6px 14px;border-radius:14px;}
  .wm-service-profile .wm-li-side-row{padding:12px 0;gap:10px;}
  .wm-service-profile .wm-li-side-txt strong,
  .wm-service-profile .wm-li-side-txt a{font-size:14px;}
}
@media(max-width:400px){
  .wm-service-profile .wm-li-name{font-size:20px;}
  .wm-service-profile .wm-li-body{padding:0 13px 18px;}
}

/* =========================================================================
   v9.99.6 · Optimización de espacio en celular para el perfil de servicios.
   Aditivo: carga después de tienda-express-store.css, gana por orden.
   Objetivo: que textos y botones no queden apretados ni ocupen de más.
   ========================================================================= */
@media (max-width:680px){
  /* Contadores de confianza en 2 columnas (no 4 cajas apiladas que alargan). */
  .wm-service-profile .wm-sp-trust-grid{grid-template-columns:repeat(2,1fr);gap:10px;}
  .wm-service-profile .wm-sp-trust-grid div{padding:14px 12px;border-radius:18px;}
  .wm-service-profile .wm-sp-trust-grid strong{font-size:22px;}
  .wm-service-profile .wm-sp-trust-grid span{font-size:11.5px;}

  /* Servicios en 1 columna pero con tarjetas más compactas. */
  .wm-service-profile .wm-sp-services-grid{gap:14px;}
  .wm-service-profile .wm-sp-service-media{height:160px;}
  .wm-service-profile .wm-sp-service-body{padding:16px;gap:8px;}
  .wm-service-profile .wm-sp-service-body h3{font-size:18px;}

  /* Secciones con menos aire vertical para no scrollear de más. */
  .wm-service-profile .wm-sp-section,
  .wm-service-profile .wm-sp-categories,
  .wm-service-profile .wm-sp-info,
  .wm-service-profile .wm-sp-process{padding:40px 0;}
  .wm-service-profile .wm-sp-section-head{margin-bottom:20px;}
  .wm-service-profile .wm-sp-section-head h2{font-size:26px;}
  .wm-service-profile .wm-sp-section-head p{font-size:14px;margin-top:8px;}

  /* Pasos del proceso más compactos. */
  .wm-service-profile .wm-sp-steps div{padding:13px;gap:11px;}
  .wm-service-profile .wm-sp-steps span{font-size:15px;}
  .wm-service-profile .wm-sp-steps b{width:34px;height:34px;}

  /* Tarjeta de contacto sin tanto relleno. */
  .wm-service-profile .wm-sp-contact-card{padding:22px;border-radius:24px;}
  .wm-service-profile .wm-sp-contact-card h2{font-size:26px;}
  .wm-service-profile .wm-sp-info-list div{padding:16px;border-radius:18px;}
}
@media (max-width:380px){
  .wm-service-profile .wm-sp-trust-grid strong{font-size:20px;}
  .wm-service-profile .wm-sp-section-head h2{font-size:23px;}
}

/* =========================================================================
   v9.99.7 · Cabecera fija (no desaparece al hacer scroll) + estado dinámico.
   La cabecera del perfil de servicios usa position:fixed. Estas reglas:
   1) Empujan el contenido para que no quede tapado por la cabecera fija.
   2) Compactan la cabecera al hacer scroll (clase .wm-sp-scrolled añadida por JS).
   ========================================================================= */

/* 1) Espaciador: el primer contenido baja la altura de la cabecera (72px). */
.wm-service-profile > main{padding-top:72px;}

/* Anclas internas (#servicios, #contacto...) se detienen bajo la cabecera fija. */
.wm-service-profile [id]{scroll-margin-top:88px;}

/* 2) Estado dinámico al hacer scroll: cabecera más compacta y con sombra. */
.wm-service-profile .wm-sp-header.wm-sp-scrolled{
  background:rgba(255,255,255,.96);
  box-shadow:0 10px 30px -12px rgba(15,23,42,.18);
}
.wm-service-profile .wm-sp-header.wm-sp-scrolled .wm-sp-header-inner{height:60px;}
.wm-service-profile .wm-sp-header.wm-sp-scrolled .wm-sp-logo{
  width:38px;height:38px;border-radius:11px;font-size:18px;
}
.wm-service-profile .wm-sp-header.wm-sp-scrolled .wm-sp-brand strong{font-size:15px;}
.wm-service-profile .wm-sp-header.wm-sp-scrolled .wm-sp-brand small{font-size:11px;}

/* Ajuste del espaciador en breakpoints (la cabecera cambia de alto). */
@media (max-width:680px){
  .wm-service-profile > main{padding-top:64px;}
  .wm-service-profile [id]{scroll-margin-top:78px;}
  .wm-service-profile .wm-sp-header.wm-sp-scrolled .wm-sp-header-inner{height:54px;}
}

/* =========================================================================
   v9.99.7 · FIX cabecera fija: el contenedor del perfil usaba overflow-x:hidden,
   lo que impedía que la cabecera quedara fija al hacer scroll. Para el perfil
   de servicios usamos overflow-x:clip (recorta horizontal SIN romper position:fixed).
   No afecta a las tiendas de productos.
   ========================================================================= */
.wm-service-profile.wm-te-store{overflow-x:clip!important;overflow-y:visible!important;}
@media (max-width:768px){
  .wm-service-profile.wm-te-store{overflow-x:clip!important;overflow-y:visible!important;max-width:100%;}
}

/* =========================================================================
   v9.99.7 · Botón de WhatsApp visible también en celular (cabecera fija).
   Se compacta el logo/marca y los botones para que quepan sin amontonarse.
   ========================================================================= */
@media (max-width:680px){
  /* Mostrar el botón de WhatsApp que estaba oculto en móvil. */
  .wm-service-profile .wm-sp-actions .wm-sp-wa-btn{display:inline-flex!important;align-items:center;gap:6px;}
  /* Botones más compactos para que entren logo + marca + 2 acciones. */
  .wm-service-profile .wm-sp-header-inner{gap:8px;padding:10px 0;}
  .wm-service-profile .wm-sp-actions{gap:7px;}
  .wm-service-profile .wm-sp-ai-pill,
  .wm-service-profile .wm-sp-wa-btn{padding:9px 12px;font-size:12px;}
  .wm-service-profile .wm-sp-brand small{display:none;} /* el subtítulo se oculta para ganar ancho */
  .wm-service-profile .wm-sp-brand strong{max-width:120px;}
}
@media (max-width:460px){
  /* En móviles estrechos: el botón de WhatsApp muestra solo el ícono. */
  .wm-service-profile .wm-sp-brand strong{max-width:90px;font-size:14px;}
  .wm-service-profile .wm-sp-ai-pill{padding:9px 11px;}
  .wm-service-profile .wm-sp-wa-btn{padding:9px 12px;}
  .wm-service-profile .wm-sp-wa-btn .wm-sp-wa-txt{display:none;}
  .wm-service-profile .wm-sp-wa-btn .wm-sp-wa-ico{font-size:16px;margin:0;}
}

/* =========================================================================
   v9.99.22 · Rediseño del perfil de servicios
   - Tipografía premium (Sora para titulares, Plus Jakarta Sans para texto).
   - Enlaces de ubicación a Google Maps.
   - Pulido visual: tarjeta de perfil como héroe principal, CTA primario claro,
     menos repetición de botones (el segundo hero se eliminó del render).
   ========================================================================= */

.wm-service-profile{
  font-family:var(--font,'Plus Jakarta Sans'),Inter,system-ui,-apple-system,"Segoe UI",sans-serif;
  -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;
  --wm-pro-radius:22px;
}
.wm-service-profile h1,
.wm-service-profile h2,
.wm-service-profile h3,
.wm-service-profile .wm-li-name,
.wm-service-profile .wm-sp-section-head h2,
.wm-service-profile .wm-spx-about h2,
.wm-service-profile .wm-sp-contact-card h2,
.wm-service-profile .wm-spx-faq h2,
.wm-service-profile .wm-sp-cta-band-inner h2{
  font-family:var(--font-display,'Sora'),'Plus Jakarta Sans',Inter,system-ui,sans-serif;
  letter-spacing:-.018em;
}

/* ---- Enlaces de ubicación a Google Maps ---- */
.wm-service-profile a.wm-li-loc-link{
  display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap;
  color:var(--wm-pro-ink);text-decoration:none;font-weight:600;
}
.wm-service-profile a.wm-li-loc-link:hover{color:var(--wm-pro-accent);}
.wm-service-profile .wm-li-loc-go{
  font-size:11.5px;font-weight:800;color:var(--wm-pro-accent);
  background:color-mix(in srgb,var(--wm-pro-accent) 12%,#fff);
  border:1px solid color-mix(in srgb,var(--wm-pro-accent) 26%,#fff);
  border-radius:999px;padding:2px 9px;line-height:1.6;white-space:nowrap;
}
.wm-service-profile .wm-sp-maps-link{
  display:inline-flex;align-items:center;gap:5px;margin-top:4px;
  color:var(--wm-pro-accent);font-weight:800;font-size:13px;text-decoration:none;
}
.wm-service-profile .wm-sp-maps-link:hover{text-decoration:underline;}

/* ---- Tarjeta de perfil (héroe principal) con más presencia ---- */
.wm-service-profile .wm-li-profile{padding-top:26px;}
.wm-service-profile .wm-li-card{
  box-shadow:0 30px 80px -40px rgba(15,23,42,.55),0 2px 8px rgba(15,23,42,.05);
  border-radius:26px;overflow:hidden;
}
.wm-service-profile .wm-li-name{font-weight:800;letter-spacing:-.03em;}
.wm-service-profile .wm-li-headline{color:var(--wm-pro-muted);font-weight:600;}

/* CTA primario claro y consistente (un solo estilo dominante) */
.wm-service-profile .wm-li-btn-primary,
.wm-service-profile .wm-sp-band-btn,
.wm-service-profile .wm-sp-contact-ai{
  background:var(--wm-pro-accent)!important;
  border:none!important;color:#fff!important;font-weight:800;letter-spacing:.005em;
  box-shadow:none;
}
.wm-service-profile .wm-li-btn-primary:hover,
.wm-service-profile .wm-sp-band-btn:hover,
.wm-service-profile .wm-sp-contact-ai:hover{
  transform:translateY(-1px);box-shadow:none;filter:none;
}

/* Botón secundario / asistente: claramente diferenciado del primario */
.wm-service-profile .wm-li-btn-ghost,
.wm-service-profile .wm-sp-secondary{
  background:#fff!important;color:var(--wm-pro-ink)!important;
  border:1.5px solid var(--wm-pro-line)!important;font-weight:700;
}
.wm-service-profile .wm-li-btn-ghost:hover,
.wm-service-profile .wm-sp-secondary:hover{
  border-color:var(--wm-pro-accent)!important;color:var(--wm-pro-accent)!important;
}

/* Píldora del asistente en la cabecera con look "vivo" */
.wm-service-profile .wm-sp-ai-pill{
  font-weight:800;background:color-mix(in srgb,var(--wm-pro-accent) 8%,#fff);
}
.wm-service-profile .wm-sp-ai-dot{
  width:8px;height:8px;border-radius:50%;background:#22c55e;display:inline-block;
  box-shadow:0 0 0 0 rgba(34,197,94,.6);animation:wmSpPulse 2s infinite;
}
@keyframes wmSpPulse{0%{box-shadow:0 0 0 0 rgba(34,197,94,.55)}70%{box-shadow:0 0 0 7px rgba(34,197,94,0)}100%{box-shadow:0 0 0 0 rgba(34,197,94,0)}}

/* Tarjetas de servicio con un poco más de finura */
.wm-service-profile .wm-sp-service-card{
  border-radius:20px;transition:transform .2s ease,box-shadow .2s ease;
}
.wm-service-profile .wm-sp-service-card:hover{
  transform:translateY(-4px);box-shadow:0 26px 60px -34px rgba(15,23,42,.5);
}

/* =========================================================================
   v9.99.42 · Perfil publico de servicios premium
   Menos bloques, botones planos, WhatsApp directo y estructura tipo perfil.
   ========================================================================= */
.wm-service-profile{
  --wm-wa:#25D366;
  --wm-wa-dark:#128C4A;
  --wm-ink:#111827;
  --wm-muted:#64748b;
  --wm-line:#e6eaf0;
  --wm-soft:#f7f9fc;
  background:#fbfcfe!important;
  color:var(--wm-ink);
}
.wm-service-profile .wm-sp-container{width:min(1160px,calc(100% - 32px))}
.wm-service-profile .wm-sp-header{background:rgba(255,255,255,.94)!important;border-bottom:1px solid rgba(230,234,240,.9)!important;box-shadow:none!important}
.wm-service-profile .wm-sp-header-inner{height:74px}
.wm-service-profile .wm-sp-logo{border-radius:14px;box-shadow:none!important}
.wm-service-profile .wm-sp-nav a{font-weight:800;color:#5f6b7d}
.wm-service-profile .wm-sp-nav a:hover{color:var(--wm-ink)}
.wm-service-profile .wm-sp-actions{gap:9px}
.wm-service-profile .wm-service-direct-action,
.wm-service-profile .wm-service-function-action{text-decoration:none!important;white-space:nowrap}
.wm-service-profile .wm-sp-ai-pill,
.wm-service-profile .wm-sp-quote-pill,
.wm-service-profile .wm-sp-reserve-pill{
  border:1px solid var(--wm-line)!important;
  background:#fff!important;
  color:var(--wm-ink)!important;
  box-shadow:none!important;
  border-radius:999px;
  font-weight:900;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:0 16px;
  font-family:inherit;
  cursor:pointer;
}
.wm-service-profile .wm-sp-wa-btn,
.wm-service-profile .wm-li-btn-wa,
.wm-service-profile .wm-sp-contact-wa,
.wm-service-profile .wm-sp-band-wa,
.wm-service-profile .wm-sp-mini-wa{
  background:var(--wm-wa)!important;
  border-color:var(--wm-wa)!important;
  color:#fff!important;
  box-shadow:none!important;
}
.wm-service-profile .wm-sp-wa-btn:hover,
.wm-service-profile .wm-li-btn-wa:hover,
.wm-service-profile .wm-sp-contact-wa:hover,
.wm-service-profile .wm-sp-band-wa:hover,
.wm-service-profile .wm-sp-mini-wa:hover{background:var(--wm-wa-dark)!important;color:#fff!important;filter:none!important}
.wm-service-profile .wm-li-profile{padding:28px 0 18px!important}
.wm-service-profile .wm-li-card{
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  border-radius:0!important;
  overflow:visible!important;
}
.wm-service-profile .wm-li-cover{
  border-radius:28px;
  background:transparent!important;
}
.wm-service-profile .wm-li-cover-adaptive{
  min-height:0!important;
  padding:0!important;
  display:block!important;
  line-height:0!important;
  overflow:hidden!important;
  box-shadow:0 24px 70px -44px rgba(15,23,42,.6);
  border:1px solid rgba(230,234,240,.85);
}
.wm-service-profile .wm-li-cover-img{
  display:block!important;
  width:100%!important;
  height:auto!important;
  max-width:100%!important;
  max-height:none!important;
  margin:0!important;
  object-fit:contain!important;
}
.wm-service-profile .wm-li-body{
  padding:0 6px 0!important;
}
.wm-service-profile .wm-li-avatar{
  width:134px!important;
  height:134px!important;
  margin-top:-68px!important;
  margin-left:28px;
  padding:4px!important;
  background:#fff!important;
  box-shadow:0 18px 42px -25px rgba(15,23,42,.75)!important;
}
.wm-service-profile .wm-li-avatar img,
.wm-service-profile .wm-li-avatar span{border:1px solid var(--wm-line)!important}
.wm-service-profile .wm-li-grid{
  grid-template-columns:minmax(0,1fr) minmax(260px,330px)!important;
  gap:34px!important;
  margin-top:18px!important;
  align-items:start;
}
.wm-service-profile .wm-li-name{font-size:clamp(30px,4vw,52px)!important;line-height:1.02!important}
.wm-service-profile .wm-li-headline{font-size:18px!important;max-width:760px;color:#4b5563!important}
.wm-service-profile .wm-li-sub{gap:10px 16px!important;color:var(--wm-muted)!important}
.wm-service-profile .wm-li-contact{color:var(--wm-pro-accent)!important}
.wm-service-profile .wm-li-stats{gap:10px!important;margin-top:16px!important}
.wm-service-profile .wm-li-stats span{
  display:inline-flex;
  align-items:center;
  gap:5px;
  background:#fff;
  border:1px solid var(--wm-line);
  border-radius:999px;
  padding:8px 12px;
  box-shadow:none!important;
}
.wm-service-profile .wm-li-actions,
.wm-service-profile .wm-sp-contact-actions,
.wm-service-profile .wm-sp-band-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
}
.wm-service-profile .wm-li-btn,
.wm-service-profile .wm-sp-band-btn,
.wm-service-profile .wm-sp-contact-ai,
.wm-service-profile .wm-sp-contact-wa{
  border-radius:999px!important;
  padding:13px 18px!important;
  min-height:46px;
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  font-weight:900!important;
  line-height:1!important;
  text-decoration:none!important;
  transition:transform .18s ease,background .18s ease,border-color .18s ease!important;
  box-shadow:none!important;
}
.wm-service-profile .wm-li-btn-primary,
.wm-service-profile .wm-sp-band-btn,
.wm-service-profile .wm-sp-contact-ai{
  background:var(--wm-ink)!important;
  border:1px solid var(--wm-ink)!important;
  color:#fff!important;
}
.wm-service-profile .wm-sp-band-wa{
  background:var(--wm-wa)!important;
  border-color:var(--wm-wa)!important;
  color:#fff!important;
}
.wm-service-profile .wm-li-btn-ghost,
.wm-service-profile .wm-sp-band-btn-light,
.wm-service-profile .wm-sp-contact-reserve{
  background:#fff!important;
  border:1px solid var(--wm-line)!important;
  color:var(--wm-ink)!important;
}
.wm-service-profile .wm-li-btn:hover,
.wm-service-profile .wm-sp-band-btn:hover,
.wm-service-profile .wm-sp-contact-ai:hover,
.wm-service-profile .wm-sp-contact-wa:hover{
  transform:translateY(-1px)!important;
  filter:none!important;
}
.wm-service-profile .wm-li-side{
  background:transparent!important;
  border:0!important;
  border-left:1px solid var(--wm-line)!important;
  border-radius:0!important;
  padding:6px 0 6px 22px!important;
  box-shadow:none!important;
}
.wm-service-profile .wm-li-side-row{border-bottom:1px solid var(--wm-line)!important}
.wm-service-profile .wm-sp-trust{
  margin:10px 0 0!important;
  padding:16px 0 8px!important;
  background:transparent!important;
  border:0!important;
}
.wm-service-profile .wm-sp-trust-grid{
  display:flex!important;
  flex-wrap:wrap;
  justify-content:flex-start!important;
  gap:10px!important;
}
.wm-service-profile .wm-sp-trust-grid div{
  width:auto!important;
  min-width:0;
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:#fff!important;
  border:1px solid var(--wm-line)!important;
  border-radius:999px!important;
  padding:9px 13px!important;
  box-shadow:none!important;
}
.wm-service-profile .wm-sp-trust-grid strong{font-size:15px!important}
.wm-service-profile .wm-sp-trust-grid span{font-size:12px!important;margin:0!important}
.wm-service-profile .wm-spx-badges,
.wm-service-profile .wm-sp-categories,
.wm-service-profile .wm-sp-section,
.wm-service-profile .wm-sp-process,
.wm-service-profile .wm-sp-info,
.wm-service-profile .wm-spx-pro,
.wm-service-profile .wm-spx-faq{
  padding:54px 0!important;
}
.wm-service-profile .wm-sp-section-head{margin-bottom:26px!important;text-align:left!important}
.wm-service-profile .wm-sp-section-head span,
.wm-service-profile .wm-spx-eyebrow{
  color:var(--wm-pro-accent)!important;
  letter-spacing:.12em;
}
.wm-service-profile .wm-sp-section-head h2,
.wm-service-profile .wm-spx-section-head h2{font-size:clamp(28px,4vw,44px)!important}
.wm-service-profile .wm-sp-cat-row{justify-content:flex-start!important}
.wm-service-profile .wm-sp-cat{
  box-shadow:none!important;
  border-color:var(--wm-line)!important;
  background:#fff!important;
  color:#334155!important;
}
.wm-service-profile .wm-sp-cat.active{background:var(--wm-ink)!important;color:#fff!important;border-color:var(--wm-ink)!important}
.wm-service-profile .wm-sp-services-grid{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:0!important;
  border-top:1px solid var(--wm-line);
}
.wm-service-profile .wm-sp-service-card{
  display:grid!important;
  grid-template-columns:174px minmax(0,1fr);
  gap:20px;
  padding:22px 0!important;
  border:0!important;
  border-bottom:1px solid var(--wm-line)!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:transparent!important;
  overflow:visible!important;
  transform:none!important;
}
.wm-service-profile .wm-sp-service-card:hover{box-shadow:none!important;transform:none!important}
.wm-service-profile .wm-sp-service-media{
  height:128px!important;
  border-radius:18px!important;
  background:#eef2f7!important;
  overflow:hidden;
}
.wm-service-profile .wm-sp-service-media img{object-fit:cover!important}
.wm-service-profile .wm-sp-service-body{padding:0!important;gap:8px!important}
.wm-service-profile .wm-sp-service-chip{
  width:max-content;
  background:#eef6ff!important;
  color:#2563eb!important;
  border:0!important;
}
.wm-service-profile .wm-sp-service-body h3{font-size:21px!important}
.wm-service-profile .wm-sp-service-meta{
  background:transparent!important;
  border:0!important;
  padding:0!important;
  color:var(--wm-muted)!important;
}
.wm-service-profile .wm-sp-service-bottom{
  border-top:0!important;
  padding-top:4px!important;
}
.wm-service-profile .wm-sp-service-bottom>div{display:flex;gap:8px;flex-wrap:wrap}
.wm-service-profile .wm-sp-mini-wa{
  border-radius:999px!important;
  padding:10px 14px!important;
  font-weight:900!important;
}
.wm-service-profile .wm-sp-cta-band{padding:18px 0!important}
.wm-service-profile .wm-sp-cta-band-inner{
  background:var(--wm-ink)!important;
  border-radius:28px!important;
  box-shadow:none!important;
  border:0!important;
}
.wm-service-profile .wm-sp-cta-band-inner::before{display:none!important}
.wm-service-profile .wm-sp-band-tag{background:rgba(255,255,255,.1)!important;border-color:rgba(255,255,255,.18)!important}
.wm-service-profile .wm-sp-process{
  background:#fff!important;
  border-top:1px solid var(--wm-line)!important;
  border-bottom:1px solid var(--wm-line)!important;
}
.wm-service-profile .wm-sp-process-grid{grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr)!important}
.wm-service-profile .wm-sp-steps{gap:0!important;border-top:1px solid var(--wm-line)}
.wm-service-profile .wm-sp-steps div{
  background:transparent!important;
  border:0!important;
  border-bottom:1px solid var(--wm-line)!important;
  border-radius:0!important;
  padding:18px 0!important;
  box-shadow:none!important;
}
.wm-service-profile .wm-sp-steps b{
  background:var(--wm-ink)!important;
  color:#fff!important;
  border-radius:999px!important;
}
.wm-service-profile .wm-sp-info-grid{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)!important;gap:34px!important}
.wm-service-profile .wm-sp-contact-card{
  background:var(--wm-ink)!important;
  border-radius:28px!important;
  box-shadow:none!important;
}
.wm-service-profile .wm-sp-info-list{gap:0!important;border-top:1px solid var(--wm-line)}
.wm-service-profile .wm-sp-info-list div{
  background:transparent!important;
  border:0!important;
  border-bottom:1px solid var(--wm-line)!important;
  border-radius:0!important;
  padding:18px 0!important;
  box-shadow:none!important;
}
.wm-service-profile .wm-sp-map-card{
  border:1px solid var(--wm-line)!important;
  border-radius:22px!important;
  box-shadow:none!important;
  margin-top:18px!important;
}
.wm-service-profile .wm-sp-footer{background:var(--wm-ink)!important}
.wm-service-profile .wm-whatsapp-float,
.wm-service-profile .whatsapp-float{
  background:var(--wm-wa)!important;
  color:#fff!important;
}
@media(max-width:900px){
  .wm-service-profile .wm-li-grid,
  .wm-service-profile .wm-sp-process-grid,
  .wm-service-profile .wm-sp-info-grid{grid-template-columns:1fr!important}
  .wm-service-profile .wm-li-side{border-left:0!important;border-top:1px solid var(--wm-line)!important;padding:18px 0 0!important}
}
@media(max-width:680px){
  .wm-service-profile .wm-sp-container{width:min(100% - 24px,1160px)}
  .wm-service-profile .wm-sp-header-inner{height:auto!important}
  .wm-service-profile .wm-sp-actions{flex-wrap:nowrap}
  .wm-service-profile .wm-sp-ai-pill{display:none!important}
  .wm-service-profile .wm-li-profile{padding-top:18px!important}
  .wm-service-profile .wm-li-cover{border-radius:20px}
  .wm-service-profile .wm-li-cover-img{max-height:none!important}
  .wm-service-profile .wm-li-avatar{width:104px!important;height:104px!important;margin-top:-54px!important;margin-left:16px!important}
  .wm-service-profile .wm-li-actions,
  .wm-service-profile .wm-sp-contact-actions,
  .wm-service-profile .wm-sp-band-actions{flex-direction:column;align-items:stretch}
  .wm-service-profile .wm-li-btn,
  .wm-service-profile .wm-sp-band-btn,
  .wm-service-profile .wm-sp-contact-ai,
  .wm-service-profile .wm-sp-contact-wa{width:100%}
  .wm-service-profile .wm-sp-service-card{grid-template-columns:1fr!important;gap:12px!important}
  .wm-service-profile .wm-sp-service-media{height:180px!important}
  .wm-service-profile .wm-spx-badges,
  .wm-service-profile .wm-sp-categories,
  .wm-service-profile .wm-sp-section,
  .wm-service-profile .wm-sp-process,
  .wm-service-profile .wm-sp-info,
  .wm-service-profile .wm-spx-pro,
  .wm-service-profile .wm-spx-faq{padding:38px 0!important}
  .wm-service-profile .wm-sp-cta-band-inner{padding:24px 20px!important}
}
