/* bw-1118: cambios pedidos por Roger en video del 18-11-2026. Solo presentacion: no toca URL, titulos, meta, H1 ni textos. */
:root{--bw:#875B9B;--bwo:#43264F;--bwt:#1E1A22;--bwl:#D8B9EA;--bwc:#F4ECF9}

/* ---------- tipografia mas elegante en titulos ---------- */
#services-5 .section-title h3, #services-5 .section-title h3 a,
#blog-1 .section-title h3, #blog-1 .section-title h3 a,
#info-2 h3, #tabs-1 .tab-pane h3, #banner-7 .bw7-tit, #banner-6 .banner-txt h4,
.nsx-circuit h1, .bw-serif{
  font-family:'Cormorant Garamond',Georgia,serif!important;font-weight:600!important;letter-spacing:.005em}
#services-5 .section-title h3, #blog-1 .section-title h3{font-size:46px!important;line-height:1.1!important;margin-bottom:10px}
#services-5 .section-title h3 a, #blog-1 .section-title h3 a{color:var(--bwo)!important}
#info-2 h3{font-size:44px!important;line-height:1.1!important}
#tabs-1 .tab-pane h3{font-size:42px!important;line-height:1.1!important}
#banner-7 .bw7-tit{font-size:46px!important;line-height:1.08!important}
#banner-6 .banner-txt h4{font-size:38px!important}
/* tarjetas del carrusel de tratamientos y del blog: titulo en serif, sin mayusculas gritadas */
#services-5 .sbox-5-txt h5, #blog-1 .blog-post-txt h5, #blog-1 .post-carrusel h5{
  font-family:'Cormorant Garamond',Georgia,serif!important;font-weight:700!important;text-transform:none!important;
  font-size:23px!important;line-height:1.15!important;letter-spacing:0!important;color:var(--bwo)!important}
#services-5 .sbox-5-txt p{font-size:14.5px!important;line-height:1.6!important;color:#5a5560!important}

/* ---------- las tres razones (about-3) ---------- */
#about-3 .abox-3 h5{font-family:'Cormorant Garamond',Georgia,serif!important;font-weight:700!important;text-transform:none!important;font-size:23px!important;line-height:1.15!important;color:var(--bwo)!important;letter-spacing:0!important}
#about-3 .abox-3 p{font-size:14.5px!important;line-height:1.6!important}

/* ---------- los 4 accesos (services-1): tarjetas limpias ---------- */
#services-1{padding-top:34px!important;padding-bottom:26px!important}
#services-1 .sbox-1{background:#fff;border:1px solid #EADDF2;border-radius:16px;padding:26px 22px 22px!important;margin-bottom:20px!important;height:calc(100% - 20px);
  transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease;text-align:left}
#services-1 a:hover .sbox-1{transform:translateY(-4px);box-shadow:0 14px 30px rgba(67,38,79,.13);border-color:var(--bwl)}
#services-1 .sbox-1 img{height:42px!important;width:auto!important;margin-bottom:14px}
#services-1 .sbox-1 h5{font-family:'Cormorant Garamond',Georgia,serif!important;font-weight:700!important;font-size:24px!important;line-height:1.15!important;color:var(--bwo)!important;margin-bottom:8px!important;text-transform:none!important}
#services-1 .sbox-1 p{font-size:14.5px!important;line-height:1.55!important;color:#5a5560!important;text-align:left!important;margin:0!important}
#services-1 .row > [class*=col-]{display:flex}
#services-1 .row > [class*=col-] > a{display:block;width:100%}

/* ---------- franja Agenda tu evaluacion (banner-6): con foto de fondo ---------- */
#banner-6{background-image:radial-gradient(900px 420px at 85% 0%,rgba(135,91,155,.55),rgba(135,91,155,0) 70%),linear-gradient(120deg,#341D3E,#4A2B58)!important;background-size:cover!important;
  padding-top:74px!important;padding-bottom:74px!important}
#banner-6 .banner-btn .btn{background:#fff!important;border-color:#fff!important;color:var(--bwo)!important;border-radius:999px!important;padding:14px 30px!important;font-weight:700}
#banner-6 .banner-btn .btn:hover{background:var(--bwl)!important;border-color:var(--bwl)!important}

/* ---------- pie del inicio: logo nitido ---------- */
#footer-3 .footer-info img, #footer-1 .footer-info img{width:210px!important;max-width:70%!important;height:auto!important;display:block;margin:0 auto 4px}
#footer-3 .footer-info p, #footer-1 .footer-info p{font-size:15px!important;line-height:1.7!important}

/* ---------- pie de las paginas internas: fondo violeta y todo legible ---------- */
#footer-1.bg-image, .footer.bg-image{background-image:radial-gradient(640px 520px at 90% 10%,rgba(135,91,155,.45),rgba(135,91,155,0) 70%),radial-gradient(520px 480px at 10% 110%,rgba(109,63,132,.40),rgba(109,63,132,0) 70%),linear-gradient(120deg,#341D3E,#3E2349)!important;background-size:cover!important}
#footer-1.bg-image, #footer-1.bg-image p, #footer-1.bg-image p *, #footer-1.bg-image li a, #footer-1.bg-image h5, #footer-1.bg-image .footer-copyright, #footer-1.bg-image .footer-copyright span{color:#F1E8F6!important}
#footer-1.bg-image h5.h5-xs{color:#fff!important;letter-spacing:.04em}
#footer-1.bg-image h5.h5-xl, #footer-1.bg-image .blue-color{color:var(--bwl)!important}
#footer-1.bg-image a{color:#F1E8F6!important}
#footer-1.bg-image a:hover{color:#fff!important}
#footer-1.bg-image .footer-info img{filter:brightness(0) invert(1)}
#footer-1.bg-image .bottom-footer{border-top-color:rgba(255,255,255,.18)!important}
#footer-1.bg-image .foo-socials a{color:#fff!important;border-color:rgba(255,255,255,.5)!important}

/* ---------- cabecera de las paginas internas ---------- */
.nsx-circuit{background:radial-gradient(520px 520px at 86% 8%,rgba(216,185,234,.75),rgba(216,185,234,0) 70%),radial-gradient(460px 460px at 8% 110%,rgba(216,185,234,.55),rgba(216,185,234,0) 70%),linear-gradient(120deg,#FAF6FC,#F1E6F7)!important;color:var(--bwt)!important}
.nsx-circuit h1{color:var(--bwo)!important;font-size:clamp(40px,4.8vw,60px)!important;line-height:1.04!important}
.nsx-circuit p{color:#3b3340!important;font-weight:400!important;font-size:18px!important}
.nsx-circuit nav, .nsx-circuit nav a{color:#7a6a84!important}
.nsx-circuit nav span:last-child{color:var(--bw)!important}

/* ---------- cabecera de los listados (Tratamientos, Blog) ---------- */
div#breadcrumb.division{background:radial-gradient(520px 520px at 86% 8%,rgba(216,185,234,.75),rgba(216,185,234,0) 70%),radial-gradient(460px 460px at 8% 110%,rgba(216,185,234,.55),rgba(216,185,234,0) 70%),linear-gradient(120deg,#FAF6FC,#F1E6F7)!important;border-bottom:0!important;margin-top:0!important}
div#breadcrumb .agserv-tit, div#breadcrumb .agdetc-tit{font-family:'Cormorant Garamond',Georgia,serif!important;font-weight:600!important;color:var(--bwo)!important;font-size:clamp(40px,4.8vw,60px)!important;line-height:1.04!important}
div#breadcrumb .agserv-desc, div#breadcrumb .agdetc-desc{color:#3b3340!important;font-weight:400!important}
div#breadcrumb .agserv-mig, div#breadcrumb .agserv-mig a, div#breadcrumb .agdetc-mig, div#breadcrumb .agdetc-mig a{color:#7a6a84!important}
#doctors-3 .doctor-meta h5{font-family:'Cormorant Garamond',Georgia,serif!important;font-weight:700!important;font-size:24px!important;line-height:1.15!important;color:var(--bwo)!important}
#doctors-3{background:linear-gradient(#FBF8FD,#F6F0FA)!important}
/* buscador de tratamientos */
.bw-busca{max-width:620px;margin:0 auto 34px}
.bw-busca-in{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid #E3D3EC;border-radius:999px;padding:0 22px;height:56px;box-shadow:0 10px 26px rgba(67,38,79,.08);margin:0;color:var(--bw)}
.bw-busca-in:focus-within{border-color:var(--bw);box-shadow:0 0 0 3px rgba(135,91,155,.16)}
.bw-busca-in svg{width:20px;height:20px;flex-shrink:0}
.bw-busca-in input{flex:1;border:0;outline:0;background:transparent;font:400 16px/1.2 'Lato',system-ui,sans-serif;color:var(--bwt);min-width:0;height:100%}
.bw-busca-n{margin:12px 0 0;text-align:center;font-size:14.5px;color:#7a6a84;min-height:0}
.bw-busca-n:empty{display:none}

/* ---------- galeria de fotos dentro de una publicacion ---------- */
.bw-gal{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:6px 0 24px}
.bw-gal-i{display:block;border-radius:12px;overflow:hidden;aspect-ratio:1/1;background:#F4ECF9;box-shadow:0 4px 14px rgba(67,38,79,.10)}
.bw-gal-i img{width:100%!important;height:100%!important;object-fit:cover;display:block;transition:transform .45s ease;border-radius:0!important;box-shadow:none!important;margin:0!important}
.bw-gal-i:hover img{transform:scale(1.06)}
.bw-luz{position:fixed;inset:0;z-index:99999;background:rgba(30,20,36,.92);display:flex;align-items:center;justify-content:center;padding:20px;cursor:zoom-out}
.bw-luz img{max-width:100%;max-height:100%;border-radius:10px;box-shadow:0 20px 60px rgba(0,0,0,.5)}
.bw-luz button{position:absolute;top:14px;right:16px;width:44px;height:44px;border-radius:50%;border:0;background:rgba(255,255,255,.16);color:#fff;font-size:26px;line-height:1;cursor:pointer}
@media (min-width:768px){.bw-gal.bw-gal-3{grid-template-columns:repeat(3,1fr)}}
@media (max-width:767px){.bw-gal{grid-template-columns:repeat(2,1fr);gap:8px}.bw-gal.bw-gal-3{grid-template-columns:1fr 1fr}.bw-gal.bw-gal-3 .bw-gal-i:first-child{grid-column:1/-1;aspect-ratio:16/10}}
/* paginas de perfil (Quienes somos, El especialista): menos aire muerto y listas con vineta */
.nsx article ul > li{list-style:disc;margin-left:20px}
.nsx article ol > li{list-style:decimal;margin-left:20px}
.nsx article{gap:26px!important}
@media (min-width:768px){.nsx > div[style*="padding:88px 24px 72px"]{padding-top:72px!important;padding-bottom:44px!important;gap:40px!important}}
@media (max-width:767px){.nsx > div[style*="padding:88px 24px 72px"]{padding:64px 18px 30px!important;gap:26px!important}}

/* ---------- barra fija del celular ---------- */
.bw-barra{display:none}

/* =================== CELULAR =================== */
@media (max-width:767px){
  /* barra superior: solo direccion y telefono, ordenados; fuera YouTube y WhatsApp */
  .nsx .nsx-soc, .nsx .nsx-soc-yt, .nsx .nsx-soc-wa{display:none!important}
  .nsx > div:first-child > div{padding:0 14px!important;justify-content:center!important}
  .nsx > div:first-child > div > div:first-child{flex-direction:column!important;align-items:center!important;gap:2px!important;padding:7px 0!important;text-align:center;font-size:12px;line-height:1.35}
  .nsx > div:first-child a[href^="tel:"]{font-weight:700;letter-spacing:.02em}
  /* el banner sube pegado al encabezado y ocupa todo el ancho */
  #hero-6{margin-top:0!important;padding-top:0!important}
  #hero-6 .banner-movil-principal{position:relative;margin:0!important}
  .bw-car{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none}
  .bw-car::-webkit-scrollbar{display:none}
  .bw-car > a{flex:0 0 100%;scroll-snap-align:start;display:block}
  .bw-car img{width:100%;height:auto;display:block;aspect-ratio:1080/1350;object-fit:cover}
  .bw-pts{position:absolute;left:0;right:0;bottom:16px;display:flex;gap:7px;justify-content:center;z-index:3}
  .bw-pts i{width:7px;height:7px;border-radius:50%;background:rgba(255,255,255,.45);transition:all .3s}
  .bw-pts i.on{background:#fff;width:20px;border-radius:4px}

  /* las tres razones: carrusel de tarjetas */
  #about-3{margin-top:0!important;padding-top:18px!important;padding-bottom:6px!important;background:#fff}
  #about-3 .container{padding:0!important;max-width:none!important}
  #about-3 .abox-3-holder{margin:0!important;padding:0!important;box-shadow:none!important;background:transparent!important;border:0!important;border-radius:0!important}
  #about-3 .abox-3-holder > .row{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;margin:0!important;padding:4px 16px 14px!important;gap:12px;scrollbar-width:none;scroll-padding-left:16px}
  #about-3 .abox-3-holder > .row::-webkit-scrollbar{display:none}
  #about-3 .abox-3-holder > .row > [class*=col-]{flex:0 0 82%!important;max-width:82%!important;scroll-snap-align:start;padding:0!important}
  #about-3 .abox-3{height:100%;margin:0!important;padding:22px 20px!important;border:1px solid #EADDF2!important;border-top:3px solid var(--bw)!important;border-radius:14px!important;background:#fff;box-shadow:0 8px 20px rgba(67,38,79,.08);text-align:left!important;visibility:visible!important;animation:none!important}
  #about-3 .abox-3 h5{text-align:left!important;margin-bottom:8px!important}
  #about-3 .abox-3 p{text-align:left!important;margin:0!important}
  #about-3 .abox-3 p.blue-color:empty{display:none}

  /* los 4 accesos: rejilla 2x2 compacta */
  #services-1{padding:8px 0 4px!important}
  #services-1 .row{display:grid!important;grid-template-columns:1fr 1fr;gap:12px;margin:0 2px!important}
  #services-1 .row > [class*=col-]{max-width:none!important;width:auto!important;padding:0!important;flex:none!important}
  #services-1 .sbox-1{margin:0!important;height:100%;padding:18px 14px 16px!important;text-align:center;visibility:visible!important;animation:none!important}
  #services-1 .sbox-1 img{height:34px!important;margin:0 auto 10px!important;display:block}
  #services-1 .sbox-1 h5{font-size:20px!important;text-align:center!important}
  #services-1 .sbox-1 p{font-size:12.5px!important;text-align:center!important;line-height:1.45!important}

  #services-5{padding-top:44px!important;padding-bottom:34px!important}
  #services-5 .section-title h3, #blog-1 .section-title h3{font-size:36px!important}
  #info-2 h3, #tabs-1 .tab-pane h3{font-size:34px!important}
  #banner-7 .bw7-tit{font-size:36px!important}

  /* pestanas: sin el hueco en blanco debajo de Ver mas */
  #tabs-1{padding-top:34px!important;padding-bottom:10px!important}
  #tabs-1 .tab-content, #tabs-1 .tab-pane{min-height:0!important;height:auto!important;margin-bottom:0!important;padding-bottom:0!important}
  #tabs-1 .tab-pane .txt-block{margin-bottom:0!important;padding-bottom:0!important}
  #info-2{margin-top:10px!important;padding-top:26px!important;padding-bottom:20px!important}
  #info-2 .txt-block{margin-bottom:20px!important}

  /* la franja de agenda sale del celular: la barra fija ya lleva WhatsApp, llamar y como llegar */
  #banner-6{display:none!important}

  /* pie */
  #footer-3{padding-top:40px!important}
  #footer-3 .footer-info img, #footer-1 .footer-info img{width:200px!important}

  /* barra fija inferior */
  .bw-barra{display:grid;grid-template-columns:1.25fr 1fr 1fr;position:fixed;left:0;right:0;bottom:0;z-index:9990;background:#fff;box-shadow:0 -6px 22px rgba(30,26,34,.14);padding:8px 10px calc(8px + env(safe-area-inset-bottom));gap:8px}
  .bw-barra a{display:flex;align-items:center;justify-content:center;gap:7px;min-height:46px;border-radius:999px;font:700 13.5px/1 'Lato',system-ui,sans-serif;color:var(--bwo);border:1px solid #E3D3EC;background:#fff;text-decoration:none}
  .bw-barra a.wa{background:var(--bw);border-color:var(--bw);color:#fff}
  .bw-barra svg{width:18px;height:18px;flex-shrink:0}
  body{padding-bottom:calc(64px + env(safe-area-inset-bottom))!important}
  #chat_wh{display:none!important}

  /* menu del celular: los tratamientos se leen completos al abrir */
  .nsx-links.nsx-abierto .nsx-dd{display:flex!important;flex-direction:column!important;position:static!important;opacity:1!important;visibility:visible!important;transform:none!important;box-shadow:none!important;background:var(--bwc)!important;border-radius:12px!important;padding:6px 6px!important;margin:4px 0 8px!important;width:100%!important;min-width:0!important}
  .nsx-links.nsx-abierto .nsx-ddl{font-size:15px!important;color:var(--bwo)!important;opacity:1!important;padding:11px 14px!important;min-height:44px!important;display:flex!important;align-items:center!important;white-space:normal!important}
  .nsx-links.nsx-abierto .nsx-ddw{display:block!important;width:100%!important}

  /* listados */
  #breadcrumb .breadcrumb-holder{padding-top:34px!important;padding-bottom:30px!important;text-align:center}
  div#breadcrumb .agserv-tit, div#breadcrumb .agdetc-tit{font-size:40px!important}
  div#breadcrumb .agserv-desc, div#breadcrumb .agdetc-desc{font-size:16px!important;margin:0 auto!important}
  /* blog: la barra de buscar y temas sin el hueco en blanco */
  #doctors-3 .bworg{margin-top:0!important;margin-bottom:24px!important}
  #doctors-3 .bworg-cab{flex-direction:column!important;align-items:stretch!important;gap:10px!important}
  #doctors-3 .bworg-bus{flex:0 0 auto!important;width:100%}
  #doctors-3 .bworg-dropzona, #doctors-3 .bworg-drop{width:100%;justify-content:space-between}
  #doctors-3{padding-top:28px!important}
  .bw-busca{margin-bottom:22px}
  /* paginas internas */
  .nsx-circuit > div{padding-top:28px!important;gap:22px!important}
  .nsx-circuit h1{font-size:40px!important}
}

/* sin YouTube: el enlace del panel esta roto (solo trae un codigo); Roger pidio quitar el icono (18-11-2026) */
.nsx-soc-yt, a.ico-youtube, .footban-cta a[aria-label="YouTube"], a[href="PP5tS6CI7TA"]{display:none!important}
.foo-socials li:has(a.ico-youtube){display:none!important}

/* ---------- animacion de la franja superior de las paginas internas (v2, Roger 19-11: con mas color y vida) ---------- */
.nsx-circuit, div#breadcrumb.division{position:relative!important;overflow:hidden!important;isolation:isolate}
.nsx-circuit > div:not(.bw-anim), div#breadcrumb.division > .container{position:relative;z-index:2}
.nsx-circuit > .bw-anim, div#breadcrumb.division > .bw-anim{position:absolute!important;z-index:1!important}
.bw-anim{position:absolute;inset:0;z-index:1;pointer-events:none;overflow:hidden;
  background:linear-gradient(115deg,#EFDDF9 0%,#D2ADEC 20%,#F6C4DD 42%,#C3A3EC 62%,#EAC9F3 82%,#EFDDF9 100%);background-size:300% 300%;animation:bwAurora 44s ease-in-out infinite}
.bw-anim i{position:absolute;display:block;border-radius:50%}
/* luces de color que flotan */
.bw-anim .o{filter:blur(42px);opacity:.9;animation:bwFlota 30s ease-in-out infinite alternate}
.bw-anim .o1{width:460px;height:460px;right:-80px;top:-170px;background:radial-gradient(circle,#A772CF 0,rgba(167,114,207,0) 66%)}
.bw-anim .o2{width:380px;height:380px;left:-120px;bottom:-190px;background:radial-gradient(circle,#EE9CC6 0,rgba(238,156,198,0) 66%);animation-duration:38s;animation-delay:-12s}
.bw-anim .o3{width:320px;height:320px;left:44%;top:-150px;background:radial-gradient(circle,#FFFFFF 0,rgba(255,255,255,0) 66%);animation-duration:46s;animation-delay:-20s}
.bw-anim .o4{width:280px;height:280px;right:22%;bottom:-170px;background:radial-gradient(circle,#F7C9B8 0,rgba(247,201,184,0) 66%);animation-duration:34s;animation-delay:-7s;opacity:.55}
/* ondas de seda al pie de la franja */
.bw-anim .w{border-radius:0;left:0;right:0;bottom:-2px;height:44%;background-repeat:repeat-x;background-size:1200px 100%;animation:bwOla 24s linear infinite}
.bw-anim .w1{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0 62 C150 112 350 12 600 62 C850 112 1050 12 1200 62 V120 H0Z' fill='%23875B9B' fill-opacity='.22'/%3E%3C/svg%3E")}
.bw-anim .w2{height:34%;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0 58 C200 8 400 108 600 58 C800 8 1000 108 1200 58 V120 H0Z' fill='%23E27FB3' fill-opacity='.26'/%3E%3C/svg%3E");animation-duration:34s;animation-direction:reverse}
.bw-anim .w3{height:20%;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0 66 C150 26 450 106 600 66 C750 26 1050 106 1200 66 V120 H0Z' fill='%23ffffff' fill-opacity='.62'/%3E%3C/svg%3E");animation-duration:18s}
/* ondas: anillos que se abren como una gota sobre el agua */
.bw-anim .r{width:240px;height:240px;right:9%;top:50%;margin-top:-120px;border:1.5px solid rgba(255,255,255,.7);animation:bwOnda 16s ease-out infinite}
.bw-anim .r2{animation-delay:-5.3s}.bw-anim .r3{animation-delay:-10.6s}
/* gotas de luz que suben */
.bw-anim .g{bottom:-24px;background:radial-gradient(circle at 32% 30%,rgba(255,255,255,1),rgba(233,205,247,.75) 55%,rgba(135,91,155,.28) 100%);box-shadow:0 0 16px rgba(255,255,255,.8),0 0 4px rgba(135,91,155,.3);animation:bwSube linear infinite}
/* destello que cruza la franja */
.bw-anim .d{border-radius:0;top:-20%;bottom:-20%;width:26%;left:-30%;background:linear-gradient(100deg,rgba(255,255,255,0),rgba(255,255,255,.5),rgba(255,255,255,0));transform:skewX(-18deg);animation:bwDestello 9s ease-in-out infinite}
@keyframes bwAurora{0%{background-position:0% 50%}50%{background-position:100% 50%}100%{background-position:0% 50%}}
@keyframes bwFlota{0%{transform:translate3d(0,0,0) scale(1)}50%{transform:translate3d(-40px,26px,0) scale(1.1)}100%{transform:translate3d(30px,-18px,0) scale(.96)}}
@keyframes bwOla{from{background-position-x:0}to{background-position-x:-1200px}}
@keyframes bwOnda{0%{transform:scale(.3);opacity:0}25%{opacity:.85}100%{transform:scale(2.4);opacity:0}}
@keyframes bwSube{0%{transform:translate3d(0,0,0) scale(.7);opacity:0}12%{opacity:1}85%{opacity:.8}100%{transform:translate3d(var(--dx,20px),-400px,0) scale(1.15);opacity:0}}
@keyframes bwDestello{0%,55%{left:-30%;opacity:0}62%{opacity:1}100%{left:120%;opacity:0}}
@media (max-width:767px){.bw-anim .r{right:-40px;width:180px;height:180px;margin-top:-90px}.bw-anim .o1{width:320px;height:320px}.bw-anim .w{background-size:800px 100%}}
@media (prefers-reduced-motion:reduce){.bw-anim, .bw-anim i{animation:none!important}.bw-anim .g,.bw-anim .r,.bw-anim .d{display:none}}

/* ---------- boton fijo de agendar cita en computadora: abajo a la derecha, en lugar del globo verde (Roger 19-11) ---------- */
.bw-cita{display:none}
@media (min-width:768px){
  #chat_wh{display:none!important}
  .bw-cita{display:inline-flex;align-items:center;gap:10px;position:fixed;right:26px;bottom:24px;z-index:9980;
    background:#875B9B;color:#fff!important;font:700 16px/1 'Lato',system-ui,sans-serif;padding:16px 28px;border-radius:999px;text-decoration:none!important;
    box-shadow:0 12px 30px rgba(67,38,79,.34),0 0 0 4px rgba(255,255,255,.75);transition:transform .2s ease,background .2s ease,box-shadow .2s ease;animation:bwCita .6s ease-out both}
  .bw-cita:hover{background:#6F4783;transform:translateY(-3px);box-shadow:0 16px 36px rgba(67,38,79,.42),0 0 0 4px rgba(255,255,255,.9)}
  .bw-cita svg{width:20px;height:20px;flex-shrink:0}
  @keyframes bwCita{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:translateY(0)}}
}

/* ---------- las galerias de fotos van en carrusel (pedido de Roger 19-11) ---------- */
.bw-carr{position:relative;margin:6px 0 26px}
.bw-carr .bw-gal, .bw-carr .bw-gal.bw-gal-3{display:flex!important;grid-template-columns:none!important;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none;margin:0!important;padding:4px 2px 10px;scroll-behavior:smooth}
.bw-carr .bw-gal::-webkit-scrollbar{display:none}
.bw-carr .bw-gal > *{flex:0 0 calc((100% - 12px)/2)!important;max-width:none!important;width:auto!important;scroll-snap-align:start;padding:0!important;grid-column:auto!important}
.bw-carr .bw-gal-i, .bw-carr .bw-gal > * .certificate-image{aspect-ratio:4/3!important;border-radius:14px;overflow:hidden;margin:0!important}
.bw-carr .bw-gal > * img{width:100%!important;height:100%!important;object-fit:cover;display:block}
.bw-carr-b{position:absolute;top:calc(50% - 16px);transform:translateY(-50%);width:44px;height:44px;border-radius:50%;border:0;background:#fff;color:#43264F;box-shadow:0 6px 18px rgba(67,38,79,.24);cursor:pointer;display:flex;align-items:center;justify-content:center;z-index:3;padding:0;transition:background .2s ease,color .2s ease}
.bw-carr-b:hover{background:#875B9B;color:#fff}
.bw-carr-b svg{width:20px;height:20px}
.bw-carr-b.ant{left:-14px}.bw-carr-b.sig{right:-14px}
.bw-carr-b[disabled]{opacity:.35;cursor:default}
.bw-carr-p{display:flex;justify-content:center;gap:7px;margin-top:6px}
.bw-carr-p i{width:7px;height:7px;border-radius:50%;background:#D8B9EA;transition:all .3s;display:block}
.bw-carr-p i.on{width:22px;border-radius:4px;background:#875B9B}
@media (max-width:767px){
  .bw-carr .bw-gal > *{flex:0 0 84%!important}
  .bw-carr .bw-gal.bw-gal-3 .bw-gal-i:first-child{aspect-ratio:4/3!important}
  .bw-carr-b{display:none}
}

/* ---------- textos de las publicaciones mas compactos (Roger 19-11: los parrafos se veian muy separados) ---------- */
.nsx article{gap:18px!important}
.nsx article section{gap:0!important}
.nsx article section > p:not([style]){margin:0!important;line-height:0!important;min-height:0}
.nsx article section > h2{margin:0 0 8px!important}
.nsx article section > h2 + p[style]{margin:0 0 12px!important}
.nsx article section p[style*="margin:0 0 16px"]{margin:0 0 11px!important;line-height:1.66!important}
.nsx article section h2[style], .nsx article section h3[style]{margin:20px 0 7px!important}
.nsx article section ul, .nsx article section ol{margin:0 0 11px!important}
.nsx article section li{margin-bottom:3px!important;line-height:1.6!important}
.nsx article section > div[style*="margin:0 0 22px"]{margin-bottom:14px!important}

.nsx-circuit h1, div#breadcrumb .agserv-tit, div#breadcrumb .agdetc-tit{color:#3A1F46!important;text-shadow:0 1px 0 rgba(255,255,255,.35)}
.nsx-circuit p, div#breadcrumb .agserv-desc, div#breadcrumb .agdetc-desc{color:#2E2233!important}
.nsx-circuit nav, .nsx-circuit nav a, div#breadcrumb .agserv-mig, div#breadcrumb .agserv-mig a, div#breadcrumb .agdetc-mig, div#breadcrumb .agdetc-mig a{color:#5E4A69!important}
.nsx-circuit nav span:last-child{color:#5B2F73!important}

/* Roger 19-11: mas lenta y suave, y solo los circulos (sin ondas ni destello) */
.bw-anim .w, .bw-anim .d{display:none!important}

/* banners de celular claros (19-11): los puntos del carrusel van en violeta para que se vean */
@media (max-width:767px){.bw-pts i{background:rgba(135,91,155,.32)!important}.bw-pts i.on{background:#875B9B!important}}

/* barra superior del celular (Roger 19-11): sin telefono y la direccion en una sola linea */
@media (max-width:767px){
  .nsx > div:first-child a[href^="tel:"]{display:none!important}
  .nsx > div:first-child > div{padding:0 10px!important}
  .nsx > div:first-child > div > div:first-child{padding:8px 0!important;width:100%}
  .nsx > div:first-child > div > div:first-child > span{display:block;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:clamp(9px,2.55vw,13px);letter-spacing:-.01em;line-height:1.3;text-align:center}
}

/* ---------- celular (Roger 19-11): logo mas chico, llamar arriba junto al menu, barra = como llegar chico + buscador + WhatsApp ---------- */
.bw-tel{display:none}
@media (max-width:767px){
  .nsx nav[aria-label="Principal"]{padding:9px 16px!important;gap:8px 10px!important}
  .nsx nav[aria-label="Principal"] > a:first-child img{max-width:128px!important;width:128px!important;height:auto!important}
  .bw-tel{display:flex;align-items:center;justify-content:center;order:1;margin-left:auto;width:42px;height:42px;border-radius:50%;border:1.5px solid #D9C3E6;color:#875B9B!important;background:#fff;flex-shrink:0}
  .bw-tel svg{width:19px;height:19px}
  .nsx-ham{margin-left:2px}
  .bw-barra{grid-template-columns:auto 1fr auto!important;gap:8px!important;align-items:center;padding:8px 10px calc(8px + env(safe-area-inset-bottom))!important}
  .bw-barra a.ll{flex-direction:column;gap:2px;min-height:46px;width:58px;border:0;border-radius:12px;font-size:9.5px;font-weight:700;line-height:1.05;color:#6B4A7B;padding:0;text-align:center}
  .bw-barra a.ll svg{width:19px;height:19px}
  .bw-barra .bu{display:flex;align-items:center;gap:9px;min-height:46px;width:100%;border-radius:999px;border:1px solid #E3D3EC;background:#F7F1FB;color:#7A6A84;font:400 13.5px/1 'Lato',system-ui,sans-serif;padding:0 14px;text-align:left;cursor:pointer;min-width:0}
  .bw-barra .bu svg{width:17px;height:17px;flex-shrink:0;color:#875B9B}
  .bw-barra .bu span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .bw-barra a.wa{padding:0 16px;min-height:46px}
  html.bw-bus-on, html.bw-bus-on body{overflow:hidden!important}
}
.bw-bus{position:fixed;inset:0;z-index:99998;background:#fff;display:flex;flex-direction:column;padding:14px 14px 0;font-family:'Lato',system-ui,sans-serif}
.bw-bus-c{display:flex;gap:10px;align-items:center}
.bw-bus-c .bw-busca-in{flex:1;height:52px;box-shadow:none;background:#F7F1FB}
.bw-bus-x{width:46px;height:46px;border-radius:50%;border:0;background:#F4ECF9;color:#43264F;display:flex;align-items:center;justify-content:center;flex-shrink:0;padding:0;cursor:pointer}
.bw-bus-x svg{width:20px;height:20px}
.bw-bus-t{margin:16px 4px 8px;font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#9A86A8;min-height:14px}
.bw-bus-r{flex:1;overflow-y:auto;-webkit-overflow-scrolling:touch;padding-bottom:24px}
.bw-bus-r a{display:block;padding:13px 6px;border-bottom:1px solid #EFE6F4;text-decoration:none!important}
.bw-bus-r a em{display:inline-block;font-style:normal;font-size:10.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#875B9B;background:#F4ECF9;border-radius:999px;padding:3px 9px;margin-bottom:5px}
.bw-bus-r a strong{display:block;font-family:'Cormorant Garamond',Georgia,serif;font-size:22px;font-weight:700;line-height:1.15;color:#43264F}
.bw-bus-r a span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:13.5px;line-height:1.45;color:#6a6170;margin-top:3px}
.bw-bus-v{padding:26px 8px;text-align:center;color:#5a5560}
.bw-bus-v a{display:inline-block;margin-top:8px;background:#875B9B;color:#fff!important;font-weight:700;padding:13px 24px;border-radius:999px;border:0}

/* ---------- listados (Tratamientos y Blog): tarjetas mas chicas y en carrusel (Roger 19-11) ---------- */
.bw-fam{margin:0 0 26px}
.bw-fam-t{font-family:'Cormorant Garamond',Georgia,serif!important;font-weight:600!important;font-size:32px!important;line-height:1.1!important;color:#43264F!important;margin:0 0 10px!important;display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}
.bw-fam-t small{font:700 11.5px/1 'Lato',system-ui,sans-serif;letter-spacing:.1em;text-transform:uppercase;color:#9A86A8}
.bw-fila{display:flex!important;flex-wrap:nowrap!important;gap:14px;overflow-x:auto;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding:6px 2px 16px;margin:0!important;scroll-behavior:smooth}
.bw-fila::-webkit-scrollbar{display:none}
.bw-fila > *{flex:0 0 calc((100% - 42px)/4)!important;max-width:none!important;width:auto!important;padding:0!important;scroll-snap-align:start;display:flex}
#doctors-3 .bw-fila .doctor-2{margin:0!important;width:100%}
#doctors-3 .bw-fila .doctor-meta{padding:14px 16px 16px!important}
#doctors-3 .bw-fila .doctor-meta h5{font-size:20px!important;line-height:1.15!important;margin-bottom:6px!important}
#doctors-3 .bw-fila .doctor-meta span:not(.bworg-eti){font-size:13px!important;line-height:1.5!important;-webkit-line-clamp:3!important;margin-bottom:4px!important}
#doctors-3 .bw-fila .doctor-meta .bworg-eti{font-size:10px!important;padding:4px 9px!important;margin-bottom:7px!important}
#doctors-3 .bw-fila .doctor-meta .btn{font-size:13px!important}
.bw-carr-f{margin:0 0 6px}
.bw-carr-f .bw-carr-b{top:34%}
@media (max-width:991px){.bw-fila > *{flex-basis:calc((100% - 28px)/3)!important}}
@media (max-width:767px){
  .bw-fila{gap:12px;padding:4px 2px 12px;margin-right:-15px!important;padding-right:15px}
  .bw-fila > *{flex-basis:58%!important}
  .bw-fam{margin-bottom:18px}
  .bw-fam-t{font-size:26px!important;margin-bottom:6px!important}
  #doctors-3 .bw-fila .doctor-meta{padding:12px 13px 14px!important}
  #doctors-3 .bw-fila .doctor-meta h5{font-size:18px!important}
  #doctors-3 .bw-fila .doctor-meta span:not(.bworg-eti){font-size:12.5px!important}
}

/* ---------- buscador en computadora (Roger 19-11): lupa en el menu y panel centrado ---------- */
.bw-lupa{display:none}
.bw-bus-p{display:flex;flex-direction:column;height:100%;min-height:0}
@media (min-width:768px){
  .bw-lupa{display:inline-flex;align-items:center;gap:8px;height:44px;padding:0 18px;border-radius:999px;border:1px solid #E3D3EC;background:#F7F1FB;color:#6B4A7B;font:400 14.5px/1 'Lato',system-ui,sans-serif;cursor:pointer;transition:border-color .2s ease,background .2s ease}
  .bw-lupa:hover{border-color:#875B9B;background:#fff}
  .bw-lupa svg{width:17px;height:17px;color:#875B9B}
  .bw-bus{background:rgba(30,20,36,.58)!important;padding:8vh 20px 0!important;display:block!important;overflow:auto}
  .bw-bus-p{max-width:720px;height:auto;max-height:82vh;margin:0 auto;background:#fff;border-radius:22px;padding:18px 18px 0;box-shadow:0 30px 80px rgba(20,10,30,.4)}
  .bw-bus-r{max-height:calc(82vh - 130px)}
}

/* ---------- categorias de tratamientos debajo del buscador (Roger 19-11) ---------- */
.bw-cats{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin:-14px auto 30px;max-width:980px}
.bw-cats a{display:inline-flex;align-items:center;gap:8px;padding:11px 18px;border-radius:999px;border:1px solid #E3D3EC;background:#fff;color:#43264F!important;font:700 14.5px/1 'Lato',system-ui,sans-serif;text-decoration:none!important;transition:all .2s ease;white-space:nowrap}
.bw-cats a span{font-size:11.5px;font-weight:700;color:#9A86A8;background:#F4ECF9;border-radius:999px;padding:3px 8px}
.bw-cats a:hover, .bw-cats a.on{background:#875B9B;border-color:#875B9B;color:#fff!important}
.bw-cats a:hover span, .bw-cats a.on span{background:rgba(255,255,255,.22);color:#fff}
@media (max-width:767px){
  .bw-cats{flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto;scrollbar-width:none;margin:-8px -15px 18px;padding:2px 15px 6px;gap:8px}
  .bw-cats::-webkit-scrollbar{display:none}
  .bw-cats a{padding:10px 15px;font-size:13.5px}
}
/* bw-1118 parte B: lo que usa fotos nuevas (se publica cuando Roger apruebe las imagenes) */
/* ---------- estetica intima (banner-7): mas alto y con la foto a la vista ---------- */
section#banner-7.banner-section{background-image:linear-gradient(90deg,#43264F 0,#43264F 30%,rgba(67,38,79,.62) 46%,rgba(67,38,79,0) 64%),url(/indexv4/images/bw/intima.jpg)!important;
  background-size:cover!important;background-position:center 38%!important;background-attachment:scroll!important;padding-top:150px!important;padding-bottom:150px!important}

#banner-6{background-image:linear-gradient(rgba(52,29,62,.66),rgba(52,29,62,.66)),url(/indexv4/images/bw/agenda.jpg)!important;background-size:cover!important;background-position:center 35%!important}
@media (max-width:767px){
  /* estetica intima con la foto de fondo */
  section#banner-7.banner-section{background-image:linear-gradient(rgba(67,38,79,.80),rgba(52,29,62,.90)),url(/indexv4/images/bw/intima.jpg)!important;background-position:78% center!important;padding-top:64px!important;padding-bottom:64px!important}
  #banner-7 .bw7-tit{font-size:36px!important}

}
