/* CentroJom — Evaluación en Inicio: ilustración estable y selección voluntaria. */
.cj-home-evaluation .cj-home-eval-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}
.cj-home-evaluation .cj-home-eval-copy,
.cj-home-evaluation .cj-home-eval-card { min-width: 0; }
.cj-home-evaluation .cj-home-eval-copy > .cj-home-eval-intro {
    max-width: 54ch;
    margin: 0 0 18px;
    font-size: 1.03125rem;
    line-height: 1.55;
    color: #505050;
}
.cj-home-evaluation .cj-home-eval-note {
    margin: 0 0 16px;
    padding: 14px 16px;
    border-left: 3px solid #aa7b98;
    border-radius: 0 12px 12px 0;
    background: #f7eef3;
}
.cj-home-evaluation .cj-home-eval-note p,
.cj-home-evaluation .cj-home-eval-includes {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
    color: #505050;
}
.cj-home-evaluation .cj-home-eval-includes { margin-bottom: 18px; }
.cj-home-evaluation .cj-home-eval-includes strong { color: #553462; }
.cj-home-evaluation .default-btn { gap: 10px; white-space: normal; }
.cj-home-evaluation .cj-home-eval-card {
    overflow: hidden;
    border: 1px solid #e5dce9;
    border-radius: 20px;
    background: #fbf8f3;
}
.cj-home-evaluation .cj-home-eval-figure {
    display: grid;
    place-items: center;
    margin: 0;
    padding: 8px 16px 0;
    background: #fff;
}
.cj-home-evaluation .cj-home-eval-figure img {
    display: block;
    width: min(100%, 480px);
    height: auto;
    aspect-ratio: 8 / 5;
    object-fit: contain;
}
.cj-home-evaluation .cj-home-eval-controls {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    padding: 7px;
    background: #f5edf5;
    border-top: 1px solid #eee4ef;
    border-bottom: 1px solid #e5dce9;
}
.cj-home-evaluation .cj-home-eval-controls a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 10px 8px;
    border: 1px solid transparent;
    border-radius: 10px;
    color: #553462;
    background: transparent;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    text-decoration: underline;
    text-underline-offset: 3px;
    hyphens: none;
}
.cj-home-evaluation .cj-home-eval-controls a:hover { background: #eaddE9; }
.cj-home-evaluation .cj-home-eval-controls a:focus-visible,
.cj-home-evaluation .cj-home-eval-panel:focus-visible {
    outline: 3px solid #a83f78;
    outline-offset: 2px;
}
.cj-home-evaluation .cj-home-eval-panel {
    padding: 18px 22px 20px;
    scroll-margin-top: 180px;
}
.cj-home-evaluation .cj-home-eval-panel + .cj-home-eval-panel { border-top: 1px solid #e5dce9; }
.cj-site .cj-home-evaluation .cj-home-eval-panel h3 {
    margin: 0 0 7px;
    color: #553462;
    font-size: 1.125rem;
    line-height: 1.3;
}
.cj-home-evaluation .cj-home-eval-panel p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
    color: #505050;
}

/* Sin JS: enlaces de fragmento reales; sin :has se conservan ambos contenidos. */
@supports selector(:has(*)) {
    .cj-home-evaluation .cj-home-eval-tabs:not(.is-ready) #cj-home-eval-recibir { display: none; }
    .cj-home-evaluation .cj-home-eval-tabs:not(.is-ready):has(#cj-home-eval-recibir:target) #cj-home-eval-explorar { display: none; }
    .cj-home-evaluation .cj-home-eval-tabs:not(.is-ready):has(#cj-home-eval-recibir:target) #cj-home-eval-recibir { display: block; }
    .cj-home-evaluation .cj-home-eval-tabs:not(.is-ready) .cj-home-eval-controls a:first-child,
    .cj-home-evaluation .cj-home-eval-tabs:not(.is-ready):has(#cj-home-eval-recibir:target) .cj-home-eval-controls a:last-child {
        border-color: #765287;
        background: #765287;
        color: #fff;
    }
    .cj-home-evaluation .cj-home-eval-tabs:not(.is-ready):has(#cj-home-eval-recibir:target) .cj-home-eval-controls a:first-child {
        border-color: transparent;
        background: transparent;
        color: #553462;
    }
    .cj-home-evaluation .cj-home-eval-tabs:not(.is-ready) .cj-home-eval-panel + .cj-home-eval-panel { border-top: 0; }
}

/* Con JS: la semántica y el teclado mejoran los mismos enlaces, sin alterar el hash. */
.cj-home-evaluation .cj-home-eval-tabs.is-ready .cj-home-eval-controls a { text-decoration: none; }
.cj-home-evaluation .cj-home-eval-tabs.is-ready .cj-home-eval-controls a[aria-selected="true"] {
    border-color: #765287;
    background: #765287;
    color: #fff;
    box-shadow: 0 2px 5px rgb(85 52 98 / 12%);
}
.cj-home-evaluation .cj-home-eval-tabs.is-ready .cj-home-eval-panel[hidden] { display: none; }
.cj-home-evaluation .cj-home-eval-tabs.is-ready .cj-home-eval-panel + .cj-home-eval-panel { border-top: 0; }
.cj-home-evaluation .cj-home-eval-tabs.is-ready .cj-home-eval-panels { min-height: 133px; }

@media (min-width: 900px) {
    .cj-home-evaluation .cj-home-eval-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 40px; }
}
@media (max-width: 599px) {
    .cj-home-evaluation .cj-home-eval-grid { gap: 24px; }
    .cj-home-evaluation .cj-home-eval-card { border-radius: 16px; }
    .cj-home-evaluation .cj-home-eval-figure { padding-inline: 8px; }
    .cj-home-evaluation .cj-home-eval-panel { padding: 16px; }
    .cj-home-evaluation .cj-home-eval-tabs.is-ready .cj-home-eval-panels { min-height: 160px; }
    .cj-home-evaluation .default-btn { width: 100%; text-align: center; }
}
@media print {
    .cj-home-evaluation .cj-home-eval-controls { display: none !important; }
    .cj-home-evaluation .cj-home-eval-tabs .cj-home-eval-panel { display: block !important; }
    .cj-home-evaluation .cj-home-eval-card { break-inside: avoid; }
}

/* Recorrido: los cinco pasos permanecen legibles sin JavaScript ni movimiento. */
.cj-home-process .cj-home-route{list-style:none;display:grid;grid-template-columns:minmax(0,1fr);gap:0;margin:0;padding:0;max-width:780px}
.cj-home-process .cj-home-route-step{position:relative;display:grid;grid-template-columns:64px minmax(0,1fr);gap:20px;padding:0 0 26px;min-width:0}
.cj-home-process .cj-home-route-step:last-child{padding-bottom:0}
.cj-home-process .cj-home-route-step:not(:last-child)::before,.cj-home-process .cj-home-route-step:not(:last-child)::after{content:"";position:absolute;left:31px;top:64px;bottom:0;width:3px;background:#796781;pointer-events:none}
.cj-home-process .cj-home-route-step:not(:last-child)::after{background:#bd93cd;transform:scaleY(0);transform-origin:top}
.cj-home-route-mark{position:relative;display:grid;place-items:center;align-self:start;width:64px;height:64px;background:#f5eef6;border-radius:22px}
.cj-home-route-mark img{display:block;width:44px;height:44px}
.cj-home-route-mark span{position:absolute;right:-7px;bottom:-6px;display:grid;place-items:center;min-width:24px;height:24px;padding-inline:3px;border-radius:50%;background:#e7b4d0;border:2px solid #2b2b2b;color:#553462;font-size:.6875rem;font-weight:700;line-height:1}
.cj-site .cj-home-route-step h3{font-size:1.125rem;line-height:1.3;color:#fff;letter-spacing:0;margin:0 0 7px;hyphens:none}
.cj-site .cj-home-route-step p{font-size:.96875rem;line-height:1.5;color:#e4dfe7;margin:0;max-width:60ch}
.cj-home-process .cj-process-heading{margin-bottom:30px}
@media(min-width:1100px){
 .cj-home-process .cj-home-route{grid-template-columns:repeat(5,minmax(0,1fr));gap:24px;max-width:none}
 .cj-home-process .cj-home-route-step{display:block;padding:0}
 .cj-home-route-mark{margin-bottom:22px}
 .cj-home-process .cj-home-route-step:not(:last-child)::before,.cj-home-process .cj-home-route-step:not(:last-child)::after{left:64px;right:-24px;top:31px;bottom:auto;height:3px;width:auto}
 .cj-home-process .cj-home-route-step:not(:last-child)::after{transform:scaleX(0);transform-origin:left}
}
@media(prefers-reduced-motion:no-preference){
 .cj-home-process.cj-route-animate .cj-home-route-step:not(:last-child)::after{animation:cj-home-route-vertical .8s cubic-bezier(.2,.65,.3,1) calc(var(--cj-route-index)*.8s) both}
 @media(min-width:1100px){.cj-home-process.cj-route-animate .cj-home-route-step:not(:last-child)::after{animation-name:cj-home-route-horizontal}}
}
@keyframes cj-home-route-vertical{from{transform:scaleY(0)}to{transform:scaleY(1)}}
@keyframes cj-home-route-horizontal{from{transform:scaleX(0)}to{transform:scaleX(1)}}
/* Conexión: el dibujo explica una relación; no representa un resultado clínico. */
.cj-site .cj-home-philosophy .cj-philosophy-copy>p:not(.cj-eyebrow):not(.cj-complementary-note){font-size:1.03125rem;line-height:1.55;color:#505050;margin:0;max-width:57ch}
.cj-site .cj-home-philosophy .cj-complementary-note{margin:14px 0 0;font-size:.875rem;line-height:1.5}
.cj-home-connection{position:relative;display:grid;gap:0;min-width:0}
.cj-home-connection article{display:grid;grid-template-columns:50px minmax(0,1fr);align-items:center;gap:14px;padding:18px 20px;border:1px solid #e5dce9;border-radius:16px;background:#faf7fb}
.cj-home-connection article:last-child{background:#fbf1f4;border-color:#eadbe4}
.cj-home-connection article img{width:50px;height:50px}
.cj-site .cj-home-connection h3{color:#553462;font-size:1.125rem;line-height:1.3;margin:0 0 5px}
.cj-site .cj-home-connection p{font-size:1rem;line-height:1.45;color:#505050;margin:0}
.cj-home-connection-link{justify-self:center;display:grid;place-items:center;width:32px;height:32px;margin-block:3px;border:1px solid #eadbe4;border-radius:50%;color:#765287;background:#fff;font-size:1.3rem;line-height:1}
/* La misma familia de iconos propios en ventajas y disciplinas. */
.cj-home-difference .cj-difference-card-heading{grid-template-columns:46px minmax(0,1fr);gap:12px}
.cj-home-difference .cj-difference-card-heading img{display:block;width:46px;height:46px;padding:5px;border-radius:13px;background:#f4ebf5}
.cj-site .cj-home-difference .cj-difference-grid p{font-size:.96875rem;line-height:1.45}
.cj-site .cj-home-difference .cj-difference-grid a{color:#654476;text-decoration:underline;text-underline-offset:3px}
.cj-site .cj-home-profession-icon{display:block;width:44px;height:44px;object-fit:contain;margin:0 0 10px;padding:4px;border-radius:12px;background:#eee4ef}
/* FAQ: selección evidente, sin scripts ni información adicional. */
.cj-home-faq details{background:#fbf1f4;border-color:#e2d4e6;border-radius:14px}
.cj-home-faq summary{background:#f1e7f3;color:#553462;padding:16px 18px;transition:background-color .18s,color .18s}
.cj-home-faq summary:hover{background:#eaddEf}
.cj-home-faq summary i{display:none}
.cj-home-faq summary::after{content:"";flex:0 0 9px;width:9px;height:9px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);margin:0 3px 5px 7px}
.cj-home-faq details[open]{border-color:#654476}
.cj-home-faq details[open] summary{color:#fff;background:#654476}
.cj-home-faq details[open] summary::after{transform:rotate(225deg);margin-block:5px 0}
.cj-site .cj-home-faq details p{padding:17px 18px 19px;color:#505050;background:#fbf1f4}
.cj-home-faq details a{color:#654476}
.cj-home-faq summary:focus-visible{outline-color:#a83f78;outline-offset:-4px}
.cj-home-faq details[open] summary:focus-visible{outline-color:#fff}
@media(max-width:599px){.cj-home-connection article{padding:16px;gap:12px}.cj-home-process .cj-home-route-step{gap:16px}.cj-home-faq summary{padding:15px 16px}}
@media(prefers-reduced-motion:reduce){.cj-home-faq summary{transition:none}.cj-home-process .cj-home-route-step::after{animation:none!important}}
@media print{.cj-home-process{background:#fff!important;color:#222}.cj-site .cj-home-route-step h3,.cj-site .cj-home-route-step p{color:#222!important}.cj-home-process .cj-home-route-step::after{display:none}.cj-home-route-mark span{border-color:#fff}.cj-home-faq summary{color:#222!important;background:#fff!important}}


/* 2026-10-16 — Apertura: sede y ámbito provincial, con contacto explícito. */
.cj-site .cj-hero .cj-hero-intro{margin-bottom:10px}
.cj-site .cj-hero-location{font-size:.9375rem;line-height:1.5;color:#595959;max-width:48ch;margin:0 0 20px}
.cj-site .cj-hero-actions [data-cj-whatsapp]{display:inline-flex;align-items:center;justify-content:center;gap:8px}

/* Ayudas públicas: una banda propia, con dos accesos y fuentes identificadas. */
.cj-home-aids{padding-block:46px;background:#faf3f6;border-block:1px solid #ecdfe7}
.cj-home-aids-heading{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:24px}
.cj-home-aids-heading .cj-eyebrow{margin-bottom:8px}
.cj-site .cj-home-aids h2{font-size:clamp(1.8rem,1.4rem + 1vw,2.4rem);color:#553462;line-height:1.2;margin:0}
.cj-home-aids-heading>p{max-width:48ch;font-size:1rem;line-height:1.6;margin:0;color:#595159}
.cj-home-aids-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.cj-home-aids-grid article{display:flex;flex-direction:column;min-width:0;padding:24px;border:1px solid #e5dce9;border-radius:16px;background:#fff}
.cj-home-aids-card-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:60px;margin-bottom:16px}
.cj-site .cj-home-aids h3{font-size:1.3rem;line-height:1.3;margin:0;color:#553462;hyphens:none}
.cj-home-aids-grid article>p{font-size:1rem;line-height:1.6;color:#595159;margin:0 0 16px;max-width:65ch}
.cj-home-aids-link{display:inline-flex;align-items:center;align-self:start;gap:12px;min-height:44px;margin-top:auto;font-size:1rem;font-weight:700;text-underline-offset:4px}
.cj-home-aids .cj-public-logo{display:flex;flex:0 0 auto;align-items:center;min-height:44px;padding:4px}
.cj-home-aids .cj-public-logo img{display:block;object-fit:contain;height:auto}
.cj-home-aids .cj-public-logo-ministry img{width:190px}
.cj-home-aids .cj-public-logo-gva img{width:134px}
.cj-home-aids a:focus-visible{outline:3px solid #765287;outline-offset:4px;border-radius:4px}
/* El destino está lejos de la apertura: al llegar la cabecera ya es compacta (87 + 16 px). */
@media(min-width:1200px){.cj-site #becas-ayudas{scroll-margin-top:103px}}
@media(max-width:899px){.cj-home-aids-heading{display:block}.cj-home-aids-heading>p{margin-top:16px}.cj-home-aids-card-heading{align-items:start;flex-direction:column;gap:10px;min-height:110px}}
@media(max-width:599px){.cj-home-aids{padding-block:32px}.cj-home-aids-grid{grid-template-columns:1fr;gap:16px}.cj-home-aids-grid article{padding:20px}.cj-home-aids-card-heading{min-height:0;margin-bottom:12px}.cj-home-aids .cj-public-logo-ministry img{width:195px}}


/* Equipo: coordinación ilustrada, compacta y con movimiento de una sola entrada. */
.cj-team .cj-team-heading-coordinated{display:grid;grid-template-columns:minmax(0,1fr) 380px;align-items:center;column-gap:28px;row-gap:10px;max-width:none;margin-bottom:20px}
.cj-site .cj-team-heading-copy>p:not(.cj-eyebrow){font-size:1rem;line-height:1.5;color:#505050;margin:0;max-width:52ch}
.cj-team-network{width:100%;max-width:340px;justify-self:start;pointer-events:none}
.cj-team-network svg{display:block;width:100%;height:auto;overflow:visible}
.cj-team-node{transform-box:fill-box;transform-origin:center}
.cj-team-thread{stroke-dasharray:100;stroke-dashoffset:0}
.cj-site .cj-team-heading-coordinated .cj-team-training{grid-column:1/-1;margin:0;padding-left:12px;border-left:2px solid #c79bb6;color:#654476;font-size:.9375rem;line-height:1.5}
@media(min-width:900px){.cj-team-heading-coordinated .cj-team-heading-copy{grid-column:1;grid-row:1}.cj-team-heading-coordinated .cj-team-network{grid-column:2;grid-row:1/3}.cj-site .cj-team-heading-coordinated .cj-team-training{grid-column:1}}
@media(max-width:899px){.cj-team .cj-team-heading-coordinated{grid-template-columns:minmax(0,1fr) 164px;column-gap:16px}}
@media(max-width:599px){.cj-team .cj-team-heading-coordinated{grid-template-columns:minmax(0,1fr) 144px;column-gap:12px;row-gap:8px}.cj-team-heading-copy{display:contents}.cj-team-heading-copy .cj-eyebrow{grid-column:1/-1;grid-row:1}.cj-team-heading-copy h2{grid-column:1/-1;grid-row:2}.cj-team-heading-coordinated .cj-team-network{grid-column:2;grid-row:3;align-self:center}.cj-site .cj-team-heading-copy>p:not(.cj-eyebrow){grid-column:1;grid-row:3;font-size:.96875rem}.cj-site .cj-team-heading-coordinated .cj-team-training{grid-row:4;font-size:.9375rem}}
@media(prefers-reduced-motion:no-preference){
 .cj-team-network.is-animating .cj-team-node{animation:cj-team-arrive 1.2s cubic-bezier(.2,.65,.3,1) var(--cj-team-delay) both}
 .cj-team-network.is-animating .cj-team-thread{animation:cj-team-connect 1.8s ease-out var(--cj-team-delay) both}
}
@keyframes cj-team-arrive{from{opacity:0;transform:translateY(5px) scale(.94)}to{opacity:1;transform:none}}
@keyframes cj-team-connect{from{stroke-dashoffset:100;opacity:.2}to{stroke-dashoffset:0;opacity:1}}
@media(prefers-reduced-motion:reduce){.cj-team-network *{animation:none!important}}
@media print{.cj-team-network *{animation:none!important}}


/* Los destinos de Inicio llegan bajo la cabecera compacta de 87 px, también desde arriba. */
@media(min-width:1200px){.cj-site.cj-wide-header main [id]{scroll-margin-top:103px}}

/* Orientación opcional: las ocho tarjetas mantienen su disposición y su interacción. */
#areas .cj-areas-heading {
  margin-bottom: 12px;
}

.cj-service-guide {
  margin: 0 0 12px;
  border: 1px solid #d8c8df;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}

.cj-service-guide > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding: 8px 16px;
  cursor: pointer;
  list-style: none;
  color: #654476;
  background: #f7f1f8;
}
.cj-service-guide>summary::-webkit-details-marker{display:none}
.cj-service-guide>summary>span{display:flex;flex-wrap:wrap;column-gap:14px;row-gap:3px;align-items:baseline}
.cj-service-guide>summary strong{font-size:1rem;line-height:1.4}
.cj-service-guide>summary>span>span{font-size:.9375rem;line-height:1.4;color:#595159}
.cj-service-guide>summary>svg{flex:0 0 20px;transition:transform .18s ease}
.cj-service-guide[open]>summary{border-bottom:1px solid #e5dce9}
.cj-service-guide[open]>summary>svg{transform:rotate(180deg)}
.cj-service-guide>summary:hover{background:#eee3f1}
.cj-service-guide>summary:focus-visible{outline:3px solid #765287;outline-offset:-4px}
.cj-guide-content{padding:20px}
.cj-guide-controls{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,.8fr) minmax(0,1fr);gap:8px;max-width:650px;margin-bottom:20px;padding:5px;background:#f1eaf3;border-radius:12px}
.cj-site .cj-guide-controls>a{display:flex;align-items:center;justify-content:center;min-height:46px;padding:10px 12px;color:#654476;background:#fff;border-radius:8px;font-size:.9375rem;font-weight:700;line-height:1.35;text-align:center;text-decoration:none;hyphens:none;overflow-wrap:normal}
.cj-site .cj-guide-controls>a[aria-selected="true"]{background:#765287;color:#fff;text-decoration:underline;text-underline-offset:4px}
.cj-service-guide a:focus-visible{outline:3px solid #a83f78;outline-offset:3px}
.cj-guide-panels>section{padding:0;border:0;background:transparent}
.cj-guide-panels>section+section{margin-top:22px}
.cj-guide-content.is-ready .cj-guide-panels>section{margin:0}
.cj-guide-panels>section[hidden]{display:none}
.cj-site .cj-guide-panels h3{font-size:1.125rem;line-height:1.4;color:#553462;margin:0 0 10px;hyphens:none}
.cj-site .cj-guide-panels p{font-size:1rem;line-height:1.55;color:#505050;max-width:78ch;margin:0 0 14px}
.cj-site .cj-guide-panels p:last-child{margin-bottom:0}
.cj-guide-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 28px;list-style:none;margin:0 0 16px;padding:0}
.cj-guide-options li{min-width:0;margin:0;padding:0;border-bottom:1px solid #e9e1ed}
.cj-guide-options a{display:block;padding:13px 0;min-height:44px;text-decoration:none}
.cj-guide-options a>span{display:block;color:#505050;font-size:.9375rem;line-height:1.45;margin-bottom:4px}
.cj-guide-options strong{display:block;color:#654476;font-size:1rem;line-height:1.4;font-weight:700;text-decoration:underline;text-underline-offset:3px}
.cj-guide-options a:hover strong{color:#943b6c}
.cj-guide-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px 22px}
.cj-guide-actions>a{display:inline-flex;align-items:center;min-height:44px;color:#654476;font-size:.96875rem;font-weight:700;text-underline-offset:4px}
.cj-site .cj-guide-actions .cj-guide-contact{padding:11px 16px;background:#765287;color:#fff;border-radius:9px;text-decoration:none}
@media(max-width:699px){.cj-guide-content{padding:16px}.cj-guide-options{grid-template-columns:minmax(0,1fr);gap:0}.cj-guide-controls{gap:5px;padding:4px}.cj-site .cj-guide-controls>a{font-size:.875rem;padding:9px 7px}.cj-site .cj-guide-panels p{font-size:.96875rem}.cj-guide-actions{gap:8px}.cj-guide-actions>a{width:100%}}
@media(max-width:379px){.cj-guide-controls{grid-template-columns:minmax(0,1fr)}.cj-site .cj-guide-controls>a{min-height:44px}}
@media(prefers-reduced-motion:reduce){.cj-service-guide>summary>svg{transition:none}}
@media print{.cj-service-guide{display:block}.cj-service-guide>summary{display:none}.cj-guide-controls{display:none}.cj-guide-content{display:block}.cj-guide-panels>section[hidden]{display:block}.cj-guide-panels>section{margin-bottom:20px!important}}

/* Equipo y primera visita — 27/10/2026: ampliación nativa, sin scripts nuevos. */
.cj-team .cj-directors{align-items:start}
.cj-director-profile{grid-template-areas:"portrait copy" "portrait cv";row-gap:0}
.cj-director-profile>img{grid-area:portrait}
.cj-team-profile-copy{grid-area:copy;min-width:0}
.cj-director-profile > .cj-team-credentials {
  grid-area: cv;
  align-self: start;
  min-width: 0;
  margin-top: 12px;
  padding: 10px 0 0 17px;
  border-top: 1px solid #e2d4e6;
  font-size: .875rem;
  line-height: 1.45;
}

.cj-team-credentials li::marker {
  color: #765287;
}
.cj-site .cj-team-members .cj-team-member-role{color:#654476;font-weight:700;margin-bottom:5px}
.cj-team-contact{display:inline-flex;align-items:center;gap:8px;min-height:44px;margin-top:12px;color:#654476;font-size:.9375rem;line-height:1.5;text-underline-offset:3px}
.cj-team-contact:focus-visible,.cj-first-visit-location a:focus-visible{outline:3px solid #a83f78;outline-offset:3px}
.cj-site .cj-first-visit-intro>p:not(.cj-eyebrow){max-width:38ch;font-size:1rem;line-height:1.55;color:#505050;margin:14px 0 0}
.cj-first-visit-location{margin-top:20px;padding-left:14px;border-left:3px solid #b393b8;font-size:.9375rem;color:#505050}
.cj-first-visit-location strong{color:#654476}
.cj-site .cj-first-visit-location p{font-size:.9375rem;line-height:1.5;margin:5px 0 0}
.cj-first-visit-location a{display:inline-flex;align-items:center;gap:5px;min-height:44px;color:#654476;font-size:.9375rem;text-underline-offset:3px}
.cj-site .cj-first-visit details .cj-first-visit-fact{margin:0 16px 16px;padding:12px 14px;border-left:3px solid #b393b8;background:#fff;border-radius:0 8px 8px 0}
.cj-contact-hours{max-width:58ch;margin:0 auto 20px;padding:14px 0;border-block:1px solid #b393b8}
.cj-site .cj-contact-hours p{color:#f2edf4;font-size:.9375rem;line-height:1.55;margin:0}
.cj-contact-hours p+p{margin-top:8px!important}
.cj-contact-hours strong{display:block;color:#fff;font-size:1rem}
.cj-contact-hours .cj-hours-line{display:flex;flex-wrap:wrap;justify-content:center;gap:0 5px;margin-top:4px}
.cj-contact-hours .cj-hours-line>span{display:inline;margin:0;white-space:nowrap}
@media(max-width:599px){.cj-director-profile{grid-template-areas:"portrait copy" "cv cv"}.cj-first-visit-location{margin-top:14px}}
@media(max-width:379px){.cj-director-profile{grid-template-areas:"portrait" "copy" "cv";row-gap:10px}}

/* Cierre de Inicio a todo el ancho, con contenido legible y horario compacto. */
.cj-site.cj-home-page .cj-closing{width:100%;max-width:none;border-radius:0;margin:8px 0 0}
.cj-site.cj-home-page .cj-closing-content{box-sizing:border-box;max-width:980px;padding:32px 28px}
.cj-site.cj-home-page .cj-closing-content>p:not(.cj-eyebrow){max-width:70ch;margin-bottom:16px}
.cj-site.cj-home-page .cj-closing-photo{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:center 45%;z-index:-2}
.cj-site.cj-home-page .cj-closing::before{display:block;background:rgb(30 24 34 / 82%)}
.cj-contact-hours{max-width:760px;margin-bottom:18px;padding:12px 0}
@media(max-width:699px){
 .cj-site.cj-home-page .cj-closing-content{padding:26px 20px}
 .cj-site.cj-home-page .cj-closing-content>p:not(.cj-eyebrow){margin-bottom:14px}
 .cj-contact-hours{padding:10px 0;margin-bottom:16px}
 .cj-site.cj-home-page .cj-closing-links{max-width:calc(100% - 72px);margin-inline:auto;column-gap:18px}
}

/* Separación horizontal entre el contacto panorámico y el pie. */
.cj-site.cj-home-page .cj-footer{border-top:1px solid #92799d}




/* Equipo con retratos y textos alineados en una misma cuadrícula. */
.cj-team-members {
  gap: 28px 20px;
}
.cj-site .cj-team-members > li {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.cj-team-photo-frame {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 14px;
  background: #f3edf5;
}
.cj-team-members .cj-team-member-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cj-team-photo-maria .cj-team-member-photo {
  transform: scale(1.18);
  transform-origin: 50% 8%;
}
.cj-team-photo-placeholder {
  display: grid;
  place-items: center;
}
.cj-team-placeholder-icon {
  width: 56px;
  height: 56px;
}
.cj-team-member-copy {
  min-width: 0;
}
.cj-site .cj-team-members h4 {
  margin: 0 0 5px;
  color: #3f3446;
  font-weight: 700;
}
.cj-site .cj-team-member-copy p {
  font-size: .9375rem;
  line-height: 1.5;
}
@media (min-width: 800px) {
  .cj-team-members {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 1000px) {
  .cj-team-members {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
@media (max-width: 599px) {
  .cj-team-members {
    gap: 22px;
  }
  .cj-site .cj-team-members > li {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    align-items: start;
    gap: 16px;
  }
  .cj-team-photo-frame {
    margin-bottom: 0;
  }
}
@media (max-width: 359px) {
  .cj-site .cj-team-members > li {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 14px;
  }
}


/* Separación entre secciones de Inicio, incluida la vista compacta. */
.cj-site.cj-home-page main#contenido > section:where(:not(.cj-hero, .cj-trust, .cj-closing)) {
  padding-block: 32px;
}
.cj-site.cj-home-page #contenido > .cj-team {
  padding-bottom: 20px;
}
.cj-site.cj-home-page .cj-team-contact {
  margin-top: 6px;
}
.cj-site.cj-home-page #contenido > .cj-home-faq {
  margin-bottom: 0;
}
@media (min-width: 900px) {
  .cj-site.cj-home-page #contenido > .cj-trust {
    padding-block: 28px;
  }
}
@media (max-width: 899px) {
  .cj-site.cj-home-page main#contenido > section:where(:not(.cj-hero, .cj-trust, .cj-closing)) {
    padding-block: 24px;
  }
  .cj-site.cj-home-page #contenido > .cj-team {
    padding-bottom: 20px;
  }
}

/* Dirección con retratos de presencia comparable al resto del equipo. */
.cj-site .cj-director-profile {
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 0 20px;
  padding: 16px;
}
.cj-site .cj-director-profile > img {
  width: 240px;
  height: 300px;
  object-fit: cover;
  object-position: center top;
}
.cj-site .cj-directors { margin-bottom: 24px; }
.cj-site .cj-team-members { margin-top: 0; }
@media (min-width: 800px) and (max-width: 1199px) {
  .cj-site .cj-director-profile { grid-template-columns: 190px minmax(0, 1fr); gap: 0 16px; }
  .cj-site .cj-director-profile > img { width: 190px; height: 238px; }
}
@media (max-width: 799px) {
  .cj-site .cj-directors { grid-template-columns: 1fr; gap: 16px; }
  .cj-site .cj-director-profile { grid-template-columns: 180px minmax(0, 1fr); }
  .cj-site .cj-director-profile > img { width: 180px; height: 225px; }
}
@media (max-width: 479px) {
  .cj-site .cj-director-profile { grid-template-columns: 140px minmax(0, 1fr); padding: 12px; gap: 0 12px; grid-template-areas: "portrait copy" "cv cv"; }
  .cj-site .cj-director-profile > img { width: 140px; height: 175px; }
  .cj-site .cj-director-profile h4 { font-size: 1.1rem; }
  .cj-site .cj-director-profile .cj-team-profile-copy > p { font-size: .875rem; }
}
@media (max-width: 359px) {
  .cj-site .cj-director-profile { grid-template-columns: 116px minmax(0, 1fr); }
  .cj-site .cj-director-profile > img { width: 116px; height: 145px; }
}


.cj-site .cj-director-profile { grid-template-rows: min-content minmax(0, 1fr); }

@media (min-width: 800px) {
  .cj-team .cj-directors {
    align-items: stretch;
  }
}

@media (min-width: 800px) and (max-width: 1099px) {
  .cj-site .cj-director-profile {
    grid-template-columns: 150px minmax(0, 1fr);
    grid-template-areas: "portrait copy" "cv cv";
  }

  .cj-site .cj-director-profile > img {
    width: 150px;
    height: 188px;
  }
}

@media (min-width: 1200px) {
  .cj-site.cj-home-page .cj-hero-photos { background: #e7e4e0; }
  .cj-site.cj-home-page .cj-hero-photo:not(.cj-hero-photo-brain):not(.cj-hero-photo-tomatis) {
    left: 35%;
    width: 65%;
    object-position: center center;
    transform: none;
  }
}


.cj-guide-close{display:flex;align-items:center;gap:10px;margin-top:18px;min-height:44px;padding:9px 14px;border:1px solid #b99ec8;border-radius:8px;background:#fff;color:#654476;font:700 .9375rem/1.4 var(--cj-font,system-ui);cursor:pointer}.cj-guide-close:hover{background:#f5edf7}.cj-guide-close:focus-visible{outline:3px solid #a83f78;outline-offset:3px}


/* Equipo: composición y encuadres armonizados — 09/11/2026. */

.cj-team-balanced .cj-team-member-photo{transform:none;transform-origin:50% 0%}
.cj-team-balanced .cj-team-person-irene .cj-team-member-photo{transform:scale(1.30);transform-origin:50% 3%}
.cj-team-balanced .cj-team-person-maria .cj-team-member-photo{transform:scale(1.20);transform-origin:56% 8%}
.cj-team-balanced .cj-team-member-copy{padding-top:1px}
.cj-team-balanced .cj-team-member-role{min-height:1.5em}
.cj-site .cj-team-balanced .cj-team-function{margin-top:5px;font-size:.9375rem;line-height:1.5}
@media(min-width:1000px) and (max-width:1199px){.cj-team-balanced .cj-team-member-role{min-height:3em}}
