/* Medidas contrastadas con la portada oficial; estilos aislados de WordPress. */
#ja-home{--ja-ink:#161010;--ja-rose:#b28b85;--ja-heading:clamp(22px,1.375rem + ((1vw - 3.2px)*.625),30px);font-family:'Josefin Sans',sans-serif;color:var(--ja-ink);font-size:20px;font-weight:400;line-height:1.65;width:min(90vw,1290px);margin:0 auto;padding:0 0 1px}
#ja-home *{box-sizing:border-box}#ja-home img{display:block;max-width:100%;height:auto}#ja-home h1,#ja-home h2,#ja-home h3,#ja-home p,#ja-home figure{margin:0}#ja-home h1,#ja-home h2,#ja-home h3{font-size:var(--ja-heading);line-height:1.5;font-weight:700}#ja-home h1{font-weight:800}#ja-home h2{margin-bottom:30px}#ja-home h3{color:var(--ja-rose);margin-bottom:calc(10px + .3em)}#ja-home a{color:inherit}
#ja-home .jah-button{display:inline-flex;align-items:center;justify-content:center;text-align:center;text-decoration:none;text-transform:uppercase;border-radius:15px;padding:5px 35px;background:#f7fafd;font:700 15px/1.65 'Josefin Sans',sans-serif;min-height:60px;box-shadow:0 15px 25px #0000001a;align-self:center;flex-shrink:0;gap:13px;transition:transform .2s,box-shadow .2s}#ja-home .jah-button:hover{transform:translateY(-3px)}#ja-home .jah-button svg{width:30px;height:30px;flex-shrink:0}#ja-home .jah-light{box-shadow:0 1px 3px #00000005;margin:10px}
#ja-home .jah-hero{display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:stretch;border-radius:40px 40px 0 0;padding:40px 40px 0;background:linear-gradient(135deg,#b28b85,#ffe5da);box-shadow:0 32px 48px #00000026}#ja-home .jah-hero-copy{display:flex;flex-direction:column;justify-content:center;text-align:center;padding-bottom:20px}#ja-home .jah-hero-copy h1{margin:30px 0 30px 20px}#ja-home .jah-hero-copy p{margin:0 0 30px 20px;font-size:20px;line-height:33px}#ja-home .jah-portrait{width:100%;align-self:end}
#ja-home .jah-credentials{display:flex;align-items:center;flex-wrap:wrap;justify-content:space-between;row-gap:50px;padding:60px 30px;margin-bottom:80px;background:#f7fafd;border-radius:0 0 40px 40px;box-shadow:0 15px 25px #0000001a}#ja-home .jah-credential{width:calc(20% - 25px);text-align:center}#ja-home .jah-credential img{display:inline-block;width:auto;max-width:100%;vertical-align:middle;object-fit:fill}#ja-home .jah-credential:nth-child(1) img,#ja-home .jah-credential:nth-child(2) img{height:110px}#ja-home .jah-credential:nth-child(3){padding:15px 20px}#ja-home .jah-credential:nth-child(3) img{height:90px}#ja-home .jah-credential:nth-child(n+4) img{width:100%;height:auto}
#ja-home .jah-two-col{display:grid;grid-template-columns:1fr 1fr;gap:100px;align-items:stretch;margin-bottom:80px}#ja-home .jah-intro>div{display:flex;flex-direction:column;justify-content:center;text-align:center}#ja-home .jah-intro p{margin-bottom:40px}#ja-home .jah-consultation{border-radius:15px;width:100%;align-self:center}
#ja-home .jah-testimonials{margin:52.5px 0 24px;text-align:center}#ja-home .jah-testimonials h2{font-size:35px;line-height:1.5;margin-bottom:20.5px}#ja-home .jah-slider{position:relative}#ja-home .jah-carousel{display:flex;align-items:flex-start;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:none;transition:height .4s ease;touch-action:pan-x pan-y}#ja-home .jah-carousel::-webkit-scrollbar{display:none}#ja-home .jah-quote{flex:0 0 100%;min-width:0;padding:24px 80.96px;scroll-snap-align:start;text-align:center;min-height:160px}#ja-home blockquote{border:0;padding:0;margin:0;font:400 20px/33px 'Josefin Sans',sans-serif}#ja-home figcaption{margin-top:33px;font-size:20px;font-weight:700;line-height:33px}#ja-home .jah-carousel-controls button{position:absolute;top:40%;transform:translateY(-50%);border:1px solid #00000012;background:white;color:#b28b85;border-radius:18px;width:66px;height:66px;box-shadow:20px 20px 60px #58667d5e;font-size:26px;cursor:pointer;padding:0}#ja-home .jah-carousel-controls button:first-child{left:10px}#ja-home .jah-carousel-controls button:last-child{right:10px}#ja-home .jah-carousel-dots{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:10px 0}#ja-home .jah-carousel-dots button{padding:0;border:0;width:8px;height:8px;border-radius:100px;background:#b28b8533;cursor:pointer;transition:width .4s}#ja-home .jah-carousel-dots button[aria-current=true]{width:24px;background:#b28b85}
#ja-home .jah-results{text-align:center;margin-bottom:80px}#ja-home .jah-results h2{font-size:clamp(30px,1.875rem + ((1vw - 3.2px)*1.563),50px);padding:20px;margin:60px 0 30px}#ja-home .jah-results p{max-width:1000px;margin:0 auto 80px}#ja-home .jah-videos{display:grid;grid-template-columns:repeat(3,1fr);gap:37.5px}#ja-home .jah-video{position:relative;aspect-ratio:9/16;overflow:hidden;background:#f7fafd}#ja-home .jah-video iframe{border:0;width:100%;height:100%;display:block}
#ja-home .jah-treatments{margin-bottom:50px}#ja-home .jah-treatments>h2{text-align:center;padding:15px 20px;margin-bottom:0}#ja-home .jah-treatment-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 40px}#ja-home .jah-treatment-grid article{padding:15px 20px}#ja-home .jah-treatment-grid ul{list-style:none;padding:0;margin:0}#ja-home .jah-treatment-grid li{position:relative;padding-left:20px;margin:0;font-size:20px;line-height:33px}#ja-home .jah-treatment-grid li:before{content:'✦';position:absolute;left:0;color:#b28b85}
#ja-home .jah-insurance{gap:0}#ja-home .jah-insurance>div{padding:15px 20px}#ja-home .jah-insurance>div:first-child{display:flex;flex-direction:column;justify-content:center;text-align:center}#ja-home .jah-insurance h2{text-align:center}#ja-home .jah-insurance-logos{display:grid;grid-template-columns:1fr 1fr;gap:30px;margin:35px 0;align-items:center}#ja-home .jah-insurance-logos img{width:100%;height:95px;object-fit:contain}#ja-home .jah-insurance .jah-button{margin:30px}#ja-home :focus-visible{outline:3px solid #161010;outline-offset:5px}
@media(max-width:999.98px){#ja-home .jah-hero{grid-template-columns:1fr;padding:60px 50px 0;gap:0}#ja-home .jah-hero-copy{padding-bottom:50px}#ja-home .jah-portrait{width:80%;margin:auto}#ja-home .jah-credentials{padding:50px 30px}#ja-home .jah-credential:nth-child(-n+3){width:calc(100%/3 - 25px)}#ja-home .jah-credential:nth-child(n+4){width:calc(50% - 25px)}#ja-home .jah-credential:nth-child(3) img{height:100px}#ja-home .jah-intro{grid-template-columns:1fr;gap:40px;margin-bottom:50px}#ja-home .jah-videos{grid-template-columns:1fr;gap:40px}#ja-home .jah-intro .jah-button{margin:10px}}
@media(max-width:689.98px){#ja-home{width:min(88vw,1290px)}#ja-home .jah-hero{padding:50px 35px 0}#ja-home .jah-hero-copy h1{margin-top:0}#ja-home .jah-portrait{width:100%}#ja-home .jah-button{padding:5px 30px}#ja-home .jah-credentials{margin-bottom:60px}#ja-home .jah-credential:nth-child(-n+3){width:calc(100%/3)}#ja-home .jah-credential:nth-child(n+4){width:50%}#ja-home .jah-credential:nth-child(1) img{width:60px;height:auto}#ja-home .jah-credential:nth-child(2) img{height:60px}#ja-home .jah-credential:nth-child(3){padding:15px 11.26px;text-align:right}#ja-home .jah-credential:nth-child(3) img{height:80px}#ja-home .jah-consultation{order:-1}#ja-home .jah-results p{margin-bottom:40px}#ja-home .jah-results{margin-bottom:0}#ja-home .jah-treatment-grid{grid-template-columns:1fr}#ja-home .jah-treatment-grid article{padding:15px 22.52px}#ja-home .jah-treatments>h2{padding:15px 11.26px}#ja-home .jah-insurance{grid-template-columns:1fr}#ja-home .jah-insurance>div{padding:15px 11.26px}}
@media(prefers-reduced-motion:reduce){#ja-home .jah-carousel,#ja-home .jah-carousel-dots button,#ja-home .jah-button{transition:none}}
#ja-home .jah-light{margin:0 0 48px}
@media(max-width:999.98px){#ja-home .jah-light{margin:8px 10px 10px}}
#ja-home .jah-light{margin:0 0 48px}
#ja-home .jah-insurance>.jah-video{aspect-ratio:auto;height:auto;align-self:center}
#ja-home .jah-insurance>.jah-video iframe{aspect-ratio:9/16;height:auto}
#ja-home .jah-treatment-grid li:before{content:none}
#ja-home .jah-treatment-grid li>svg{position:absolute;left:0;top:14px;width:5px;height:5px}
@media(max-width:689.98px){#ja-home .jah-light{margin:8px 10px 10px}}
@media(max-width:999.98px){#ja-home .jah-button{padding:5px 30px}}

/* Ajustes de la segunda revisión: recuadro original, viñetas y convenios. */
#ja-home .jah-button:not(.jah-light) svg path{fill:#25d366!important}
#ja-home .jah-treatments{background:#f7fafd;border-radius:40px;box-shadow:0 15px 25px rgba(51,51,51,.25);padding:15px 20px}
#ja-home .jah-treatments>h2{padding:0;margin:30px 0}
#ja-home .jah-treatment-grid{gap:0}
#ja-home .jah-treatment-grid li>svg path{fill:#161010!important}
#ja-home .jah-insurance-slider{position:relative;min-width:0;width:100%}
#ja-home .jah-insurance-track{display:flex;align-items:flex-start;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:none;transition:height .4s ease}
#ja-home .jah-insurance-track::-webkit-scrollbar{display:none}
#ja-home .jah-insurance-slide{flex:0 0 100%;min-width:0;min-height:160px;display:flex;align-items:center;justify-content:center;scroll-snap-align:start}
#ja-home .jah-insurance-slide img{width:auto;max-width:100%;height:auto}
/* El original móvil reserva 100 px por lado para sus flechas. */
@media(max-width:689.98px){#ja-home .jah-insurance-slide img{max-width:calc(100% - 200px)}}
#ja-home .jah-coomeva{padding:25px 0}
#ja-home .jah-insurance-controls button{position:absolute;top:40%;transform:translateY(-50%);border:1px solid #00000012;background:#fff;color:#b28b85;border-radius:18px;width:65px;height:65px;box-shadow:20px 20px 60px #58667d5e;font-size:26px;cursor:pointer;padding:0}
#ja-home .jah-insurance-controls button:first-child{left:10px}#ja-home .jah-insurance-controls button:last-child{right:10px}
#ja-home .jah-insurance-dots{display:flex;justify-content:center;gap:8px;margin:10px 0}
#ja-home .jah-insurance-dots button{padding:0;border:0;width:8px;height:8px;border-radius:100px;background:#b28b8533;cursor:pointer}
#ja-home .jah-insurance-dots button[aria-current=true]{width:24px;background:#b28b85}
@media(max-width:689.98px){#ja-home .jah-results{margin-bottom:40px}#ja-home .jah-treatments{padding:15px 11.26px}#ja-home .jah-treatment-grid article{padding:15px 11.26px}}
@media(prefers-reduced-motion:reduce){#ja-home .jah-insurance-track{transition:none}}
/* Contener la entrada lateral sin crear scroll horizontal durante el efecto. */
#ja-home .jah-intro{overflow-x:clip;overflow-y:visible}

/* Staging integration: share shell only; keep page selectors isolated. */
.jah-home{padding-top:0}#ja-home .jah-carousel-controls,#ja-home .jah-carousel-dots,#ja-home .jah-insurance-controls,#ja-home .jah-insurance-dots{display:none}#ja-home.jah-enhanced .jah-carousel-controls,#ja-home.jah-enhanced .jah-insurance-controls{display:block}#ja-home.jah-enhanced .jah-carousel-dots,#ja-home.jah-enhanced .jah-insurance-dots{display:flex}
@media(hover:hover) and (pointer:fine){#ja-home .jah-button:hover{box-shadow:0 8px 15px rgba(0,0,0,.25)}}
@media(prefers-reduced-motion:reduce){#ja-home .jah-button:hover{transform:none}}

/* 0.1.39: testimonios y video de prepagadas con tamaño contenido. */
#ja-home .jah-videos{grid-template-columns:repeat(3,minmax(0,340px));justify-content:center}#ja-home .jah-insurance>.jah-video{width:min(100%,clamp(240px,calc((100vh - 140px)*.5625),360px));justify-self:center;margin-inline:auto}@media(max-width:999.98px){#ja-home .jah-videos{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}}@media(max-width:689.98px){#ja-home .jah-videos{grid-template-columns:minmax(0,360px);gap:40px}}

/* 0.1.41: la foto de la sección de presentación toma el alto del texto. */
@media(min-width:1000px){#ja-home .jah-intro{position:relative}#ja-home .jah-intro>.jah-consultation{position:absolute;grid-column:2;grid-row:1;inset:0;margin:auto;width:auto;height:auto;max-width:100%;max-height:100%}}
