/* CentroJom: composición compacta para ventanas estrechas y móvil. */
.cj-call-short{display:none}
.cj-home-eval-mini{display:none}
.cj-home-aids-tabs[hidden],.cj-centre-controls[hidden]{display:none}

@media not all and (min-width:1200px){
 .cj-site .cj-header-grid{grid-template-columns:minmax(0,1fr) 94px;gap:6px 14px;min-height:0;padding-block:10px}
 .cj-site .cj-header .cj-brand{grid-column:1;grid-row:1/span 2;align-self:center;max-width:260px;width:100%}
 .cj-site .cj-menu-toggle{grid-column:2;grid-row:1;min-height:38px;width:94px;padding:6px 9px;font-size:15px}
 .cj-site .cj-header .cj-appointment{grid-column:2;grid-row:2;width:94px;min-height:38px;padding:7px 10px;margin:0;font-size:15px;line-height:1.3}
 .cj-site .cj-call-full{display:none}.cj-site .cj-call-short{display:inline}
 .cj-site .cj-nav{grid-column:1/-1;grid-row:3;background:#343434;border-radius:10px;margin-top:10px;padding-inline:14px;font-size:15px}
 /* El menú estrecho usa flujo de bloques: ninguna alineación flex puede ocultar la primera fila. */
 .cj-site .cj-nav.show,.cj-site .cj-nav.collapsing{display:block;max-height:calc(100vh - 190px);max-height:var(--cj-nav-room,calc(100dvh - 190px));overscroll-behavior:contain}
 .cj-site .cj-nav.show{overflow-y:auto;overflow-x:hidden;scroll-padding-block:6px}.cj-site .cj-nav.collapsing{overflow:hidden}
 .cj-site .cj-nav>a,.cj-site .cj-nav .cj-services-link,.cj-site .cj-nav .cj-aid-top-link{min-height:44px;padding-block:11px;font-size:15px;line-height:1.4;white-space:normal}
 .cj-site .cj-nav>a{display:block}
 .cj-site .cj-services-menu .cj-areas>summary,.cj-site .cj-aid-menu>summary{min-height:44px}
 .cj-site .cj-nav>.cj-services-menu{border-top:0}
 .cj-site .cj-menu-toggle[aria-expanded="true"]{background:#343434}

 .cj-site.cj-home-page .cj-hero.cj-hero-panorama{position:relative;isolation:isolate;padding:0;background:#fbf8f3}
 .cj-site.cj-home-page .cj-hero-panorama .cj-hero-grid{position:static;display:block;min-height:0;padding-block:30px 68px}
 .cj-site.cj-home-page .cj-hero-panorama .cj-hero-copy{position:relative;z-index:2;max-width:56ch}
 .cj-site.cj-home-page .cj-hero-panorama .cj-hero-art.cj-hero-photos{position:absolute;inset:0;z-index:0;width:100%;height:100%;max-width:none;aspect-ratio:auto;margin:0;border-radius:0}
 .cj-site.cj-home-page .cj-hero-panorama .cj-hero-photo{object-fit:cover;object-position:65% 43%}
 .cj-site.cj-home-page .cj-hero-panorama .cj-hero-photo-brain{object-position:center}
 .cj-site.cj-home-page .cj-hero-panorama .cj-hero-photo-tomatis{transform:none;object-position:65% 38%}
 .cj-site.cj-home-page .cj-hero-panorama .cj-hero-photos::after{content:"";position:absolute;inset:0;z-index:3;pointer-events:none;background:linear-gradient(90deg,rgb(251 248 243 / 96%),rgb(251 248 243 / 90%) 55%,rgb(251 248 243 / 76%))}
 .cj-site.cj-home-page .cj-hero-photos-toggle{right:16px;bottom:12px;z-index:4}
 .cj-site.cj-home-page .cj-hero h1{font-size:clamp(1.9rem,1.25rem + 2.5vw,2.6rem);max-width:22ch;margin-bottom:16px;hyphens:none;overflow-wrap:normal}
 .cj-site.cj-home-page .cj-hero-brand{font-size:1.4rem;margin-bottom:8px}
 .cj-site.cj-home-page .cj-hero-intro{font-size:1rem;line-height:1.55;margin-bottom:10px}
 .cj-site.cj-home-page .cj-hero-location{font-size:.9375rem;line-height:1.5;margin-bottom:18px}
 .cj-site.cj-home-page .cj-hero-phone{font-size:.875rem;margin-top:12px;line-height:1.5}
}

@media(min-width:900px) and (max-width:1199.98px){
 .cj-home-evaluation .cj-home-eval-figure img{width:220px}
}

@media(max-width:899px){
 .cj-site.cj-home-page{font-size:16px;line-height:1.55}
 .cj-site.cj-home-page main>section:not(.cj-hero):not(.cj-trust):not(.cj-closing){padding-block:30px}
 .cj-site.cj-home-page main h2{font-size:clamp(1.5rem,1.2rem + 1.5vw,1.85rem);line-height:1.22;letter-spacing:-.02em}
 .cj-site.cj-home-page main h3{font-size:1.0625rem;line-height:1.3}
 .cj-site.cj-home-page main p{line-height:1.55}
 .cj-site.cj-home-page .cj-eyebrow{font-size:.8125rem;margin-bottom:10px;letter-spacing:.025em}
 .cj-site.cj-home-page .cj-areas-heading,.cj-site.cj-home-page .cj-process-heading,.cj-site.cj-home-page .cj-centre-heading{margin-bottom:20px}
 .cj-site.cj-home-page .cj-trust{padding-block:18px}
 .cj-site.cj-home-page .cj-trust p{font-size:.875rem}
 .cj-site.cj-home-page .cj-trust-grouped ul{gap:16px}
 .cj-site.cj-home-page main .default-btn{font-size:.9375rem;min-height:44px;padding:10px 14px}
 .cj-site.cj-home-page .cj-hero-actions{display:flex;flex-wrap:wrap;gap:10px}
 .cj-site.cj-home-page .cj-hero-actions .default-btn{width:auto;flex:0 1 auto;padding-inline:10px}
 .cj-site.cj-home-page .cj-home-eval-intro,.cj-site.cj-home-page .cj-home-eval-note p,.cj-site.cj-home-page .cj-home-eval-includes{font-size:.96875rem}
 .cj-home-evaluation .cj-home-eval-grid{grid-template-columns:minmax(0,1fr);gap:18px}
 .cj-home-evaluation .cj-home-eval-heading{display:grid;grid-template-columns:minmax(0,1fr) 64px;gap:12px;align-items:center;margin-bottom:12px}
 .cj-site .cj-home-evaluation .cj-home-eval-heading h2{margin:0}
 .cj-home-evaluation .cj-home-eval-mini{display:block;width:64px;height:64px;padding:6px;border-radius:14px;background:#f5f0f7}
 .cj-home-evaluation .cj-home-eval-figure{display:none}
 .cj-home-evaluation .cj-home-eval-card{border-radius:12px}
 .cj-home-evaluation .cj-home-eval-tabs{overflow:hidden;background:#fbf8f3}
 .cj-home-evaluation .cj-home-eval-copy>.cj-home-eval-intro{margin-bottom:14px}
 .cj-home-evaluation .cj-home-eval-note{padding:12px 14px;margin:0 0 14px}
 .cj-home-evaluation .cj-home-eval-controls a{min-height:44px;font-size:.9375rem;padding:9px 6px}
 .cj-home-evaluation .cj-home-eval-panel{padding:14px 16px}
 .cj-home-evaluation .cj-home-eval-panel p{font-size:.9375rem}
 .cj-home-evaluation .cj-home-eval-tabs.is-ready .cj-home-eval-panels{min-height:0}
 .cj-home-process .cj-home-route-step{grid-template-columns:56px minmax(0,1fr);gap:16px;padding-bottom:22px}
 .cj-home-process .cj-home-route-mark{width:56px;height:56px;border-radius:18px}
 .cj-home-process .cj-home-route-mark img{width:44px;height:44px}
 .cj-home-process .cj-home-route-step:not(:last-child)::before,.cj-home-process .cj-home-route-step:not(:last-child)::after{left:27px;top:56px}
 .cj-site.cj-home-page .cj-home-route-step p{font-size:.9375rem;line-height:1.5}
 .cj-site.cj-home-page .cj-home-philosophy .cj-philosophy-copy>p:not(.cj-eyebrow):not(.cj-complementary-note){font-size:.96875rem}
 .cj-home-connection article{padding:14px 16px}
 .cj-site.cj-home-page .cj-home-connection p,.cj-site.cj-home-page .cj-home-difference .cj-difference-grid p{font-size:.9375rem}
 .cj-site.cj-home-page .cj-director{padding:18px}
 .cj-site.cj-home-page .cj-home-aids-heading>p,.cj-site.cj-home-page .cj-home-aids-grid article>p{font-size:.96875rem}
 .cj-site.cj-home-page .cj-home-faq summary{font-size:.96875rem;padding:14px 16px}
 .cj-site.cj-home-page .cj-home-faq details p{font-size:.9375rem;padding:14px 16px}
 .cj-site.cj-home-page .cj-closing-content{padding:26px 20px}
 .cj-site.cj-home-page .cj-closing-content>p:not(.cj-eyebrow){font-size:.96875rem;margin-bottom:18px}

 .cj-home-aids-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:6px;border:1px solid #e5dce9;border-bottom:0;border-radius:14px 14px 0 0;background:#eee4ef}
 .cj-home-aids-tabs button{min-width:0;min-height:44px;border:0;border-radius:9px;background:#fff;color:#553462;font:700 .9375rem/1.25 var(--cj-title);padding:10px 8px;cursor:pointer}
 .cj-home-aids-tabs button[aria-selected="true"]{background:#765287;color:#fff}
 .cj-home-aids.cj-aid-tabs-ready .cj-home-aids-grid{grid-template-columns:minmax(0,1fr);gap:0}
 .cj-home-aids.cj-aid-tabs-ready .cj-home-aids-grid article{border-radius:0 0 14px 14px;padding:20px}
 .cj-home-aids.cj-aid-tabs-ready .cj-home-aids-grid article[hidden]{display:none}
 .cj-home-aids.cj-aid-tabs-ready .cj-home-aids-card-heading{min-height:0;display:block;margin-bottom:12px}
 .cj-home-aids.cj-aid-tabs-ready .cj-home-aids-card-heading h3{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 .cj-site.cj-home-page .cj-home-aids-link{font-size:.9375rem}

 .cj-site .cj-footer{padding-top:24px}
 .cj-site .cj-footer-grid{gap:16px}
 .cj-site .cj-footer h2{font-size:1rem;margin-bottom:6px}
 .cj-site .cj-footer p,.cj-site .cj-footer address,.cj-site .cj-footer a{font-size:.9375rem;line-height:1.45}
 .cj-site .cj-footer img{max-width:220px;margin-bottom:8px}
 .cj-site .cj-footer-grid>div:nth-child(2){display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;align-content:start;align-items:center}
 .cj-site .cj-footer-grid>div:nth-child(2)>h2{grid-column:1;grid-row:1;margin:0}
 .cj-site .cj-footer-grid>div:nth-child(2)>a[href*="google.com/maps"]{grid-column:2;grid-row:1;min-height:44px;font-size:.875rem}
 .cj-site .cj-footer-grid>div:nth-child(2)>address{grid-column:1/-1;grid-row:2;margin:0}
 .cj-site .cj-footer-grid>div:nth-child(2)>.cj-footer-aid-link{grid-column:1/-1;grid-row:3;margin-top:0}
 .cj-site .cj-footer-contact-row{gap:0 14px}
 .cj-site .cj-footer-note{margin-top:16px;padding-block:14px}
}

@media(max-width:699px){
 .cj-site .cj-header .cj-brand{max-width:240px}
 .cj-site .cj-header-grid{gap:5px 12px;padding-block:8px}
 .cj-site.cj-home-page .cj-hero h1{font-size:clamp(1.85rem,1.5rem + 1.6vw,2.15rem);max-width:21ch}
 .cj-site.cj-home-page .cj-hero-panorama .cj-hero-photos::after{background:linear-gradient(110deg,rgb(251 248 243 / 95%),rgb(251 248 243 / 87%) 55%,rgb(251 248 243 / 80%))}
 .cj-site.cj-home-page .cj-hero-panorama .cj-hero-grid{padding-block:24px 64px}
 .cj-centre-grid.cj-gallery-ready{grid-template-columns:minmax(0,1fr);gap:0}
 .cj-centre-grid.cj-gallery-ready figure[hidden]{display:none}
 .cj-site .cj-centre-grid.cj-gallery-ready img{width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}
 .cj-site .cj-centre-grid.cj-gallery-ready figcaption{padding:10px 14px;font-size:.9375rem}
 .cj-centre-controls{display:flex;align-items:center;justify-content:center;gap:18px;margin-top:12px}
 .cj-centre-controls button{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:1px solid #d9c6df;border-radius:50%;background:#f5f0f7;color:#553462;cursor:pointer}
 .cj-centre-controls button:hover{background:#eee4ef}
 .cj-centre-controls span{font-size:.9375rem;color:#654476;font-variant-numeric:tabular-nums;min-width:5ch;text-align:center}
}

@media(max-width:1099px) and (prefers-reduced-motion:no-preference){
 .cj-home-process.cj-route-vertical-ready .cj-home-route-step:not(:last-child)::after{animation:none;transform:scaleY(0);transform-origin:top}
 .cj-home-process.cj-route-vertical-ready .cj-home-route-step.cj-route-step-active:not(:last-child)::after{animation:cj-home-route-vertical .95s cubic-bezier(.2,.65,.3,1) var(--cj-route-wait,0ms) both}
 .cj-home-process.cj-route-vertical-paused .cj-home-route-step::after{animation-play-state:paused!important}
}
@media(prefers-reduced-motion:reduce){.cj-site .cj-nav.collapsing{transition:none}}
@media print{.cj-call-short,.cj-home-aids-tabs,.cj-centre-controls{display:none!important}.cj-home-aids-grid article[hidden],.cj-centre-grid figure[hidden]{display:block!important}}

/* En portatil con ventana baja, las filas simples ocupan menos; las flechas mantienen 44 px. */
@media(max-width:1199.98px) and (max-height:520px) and (hover:hover) and (pointer:fine){
 .cj-site .cj-nav>a{min-height:40px;padding-block:9px}
}
