/* =========================================================
   COACHING.CSS — Páginas de coaching y terapia ACT
   Paleta aprobada por cliente (coherente con home):
     Marca:   morado     #604474
     Acento:  morado     #7A5C9E
     Lavanda: conexión   #C8B6E2
     Salvia:  apunte     #A3BFA8
     Fondo:   blanco roto #F7F5F9
     Texto:   gris cálido #6E6A73, oscuro #2E2E2E
   ========================================================= */

body.coaching-theme,
body.coaching-theme #body-wrapper {
    background: #F7F5F9;
}
body.coaching-theme #body-wrapper {
    color: #2E2E2E;
    padding: 0;
}

/* Scrollbar acorde con la paleta (Firefox + Webkit) */
body.coaching-theme {
    scrollbar-color: rgba(122, 92, 158, 0.35) #F7F5F9;
    scrollbar-width: thin;
}
body.coaching-theme::-webkit-scrollbar {
    width: 10px;
    background: #F7F5F9;
}
body.coaching-theme::-webkit-scrollbar-thumb {
    background: rgba(122, 92, 158, 0.35);
    border-radius: 5px;
}
body.coaching-theme::-webkit-scrollbar-thumb:hover {
    background: rgba(122, 92, 158, 0.55);
}

.coaching-page {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 1.8rem 4rem;
    color: #2E2E2E;
    align-items: start;
}
.coaching-page.has-related {
    grid-template-columns: 200px 1fr 240px;
    max-width: 1240px;
}

/* =========================================================
   ZONA DERECHA — ENLACES RELACIONADOS
   ========================================================= */
.coaching-related {
    position: sticky;
    top: 6rem;
    background: #FFFFFF;
    border: 1px solid rgba(122, 92, 158, 0.25);
    border-radius: 8px;
    padding: 1.2rem 1rem;
}
.coaching-related h3 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #7A5C9E;
    margin: 0 0 0.9rem;
    font-weight: 700;
}
.coaching-related ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}
.coaching-related li {
    padding: 0;
    margin: 0;
}
.coaching-related a,
.coaching-related a:visited {
    display: block;
    text-decoration: none !important;
    color: #2E2E2E;
    padding: 0.6rem 0.7rem;
    border-radius: 6px;
    transition: background 0.2s;
}
.coaching-related a:hover {
    background: rgba(200, 182, 226, 0.22);
    color: #604474;
}
.coaching-related a strong {
    display: block;
    color: #604474;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}
.coaching-related a span {
    display: block;
    color: #6E6A73;
    font-size: 0.82rem;
    line-height: 1.45;
}

.coaching-content h1 {
    font-size: 2rem;
    color: #604474;          /* morado marca */
    margin-bottom: 1.2rem;
    letter-spacing: -0.01em;
}

.coaching-content h2 {
    font-size: 1.3rem;
    color: #7A5C9E;          /* acento morado */
    margin-top: 2.2rem;
    margin-bottom: 0.6rem;
}

.coaching-content p {
    color: #6E6A73;          /* gris cálido */
    line-height: 1.65;
    font-size: 1rem;
}

.coaching-content strong {
    color: #2E2E2E;
}

.coaching-content a {
    color: #7A5C9E;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.coaching-content a:hover {
    color: #604474;
}

.coaching-content ul {
    list-style: none;
    padding: 0;
    margin: 0.6rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.coaching-content ul li {
    color: #6E6A73;
    padding-left: 1.2rem;
    position: relative;
}
.coaching-content ul li::before {
    content: "▸";
    color: #A3BFA8;          /* salvia, igual que en home */
    position: absolute;
    left: 0;
}

/* =========================================================
   IMÁGENES INLINE EN EL CONTENIDO
   (scope p > img para no afectar a las tarjetas de titulaciones)
   ========================================================= */
.coaching-content p > img {
    display: block;
    max-width: 100%;
    max-height: 60vh;
    width: auto;
    height: auto;
    margin: 1.8rem auto;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(96, 68, 116, 0.18);
}

/* =========================================================
   CITA / LEMA / TESTIMONIOS
   ========================================================= */
.coaching-content blockquote {
    border-left: 3px solid #C8B6E2;   /* lavanda conexión */
    background: rgba(200, 182, 226, 0.10);
    padding: 1rem 1.2rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #2E2E2E;
    font-size: 0.98rem;
    border-radius: 0 6px 6px 0;
}
.coaching-content blockquote p {
    color: #2E2E2E;
    margin: 0 0 0.6rem;
}
.coaching-content blockquote p:last-child {
    margin-bottom: 0;
}
.coaching-content blockquote strong {
    color: #604474;
    font-style: normal;
}

/* =========================================================
   GRID DE TITULACIONES
   ========================================================= */
.titulaciones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}
.titulacion-card {
    background: #FFFFFF;
    border: 1px solid rgba(122, 92, 158, 0.18);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s, transform 0.2s;
}
.titulacion-card:hover {
    box-shadow: 0 4px 16px rgba(96, 68, 116, 0.12);
    transform: translateY(-2px);
}
.titulacion-thumb {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #F7F5F9;
}
.titulacion-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.titulacion-info {
    padding: 1.2rem 1.2rem 1.4rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.titulacion-info h3 {
    color: #604474;
    font-size: 1.1rem;
    margin: 0 0 0.4rem;
    line-height: 1.3;
}
.titulacion-meta {
    color: #7A5C9E;
    font-size: 0.82rem;
    font-weight: 600;
    margin: 0 0 0.6rem;
}
.titulacion-info p {
    color: #6E6A73;
    font-size: 0.92rem;
    line-height: 1.5;
    margin: 0 0 1rem;
}
.titulacion-link,
.titulacion-link:visited {
    display: inline-block;
    margin-top: auto;
    color: #7A5C9E;
    font-weight: 600;
    text-decoration: none !important;
    font-size: 0.92rem;
    align-self: flex-start;
}
.titulacion-link:hover {
    color: #604474;
}

/* =========================================================
   BOTÓN CTA RESERVA — coherente con .btn-coaching del home
   ========================================================= */
.coaching-cta,
.coaching-cta:visited {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.85rem 1.6rem;
    background: #7A5C9E;
    color: #FFFFFF !important;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none !important;
    transition: background 0.2s;
}
.coaching-cta:hover {
    background: #604474;
    color: #FFFFFF !important;
}

/* =========================================================
   SUBNAV ENTRE SOBRE MÍ / ACT / WALK & TALK / CONTACTO
   ========================================================= */
.coaching-subnav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: sticky;
    top: 6rem;
}

.coaching-chip,
.coaching-chip:visited {
    display: block;
    padding: 0.6rem 1rem;
    border: 1px solid rgba(122, 92, 158, 0.45);
    border-radius: 6px;
    color: #7A5C9E;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none !important;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.coaching-chip:hover {
    background: rgba(200, 182, 226, 0.25);   /* lavanda muy suave */
    border-color: #7A5C9E;
    color: #604474 !important;
}
.coaching-chip.active {
    background: #604474;                     /* morado marca */
    border-color: #604474;
    color: #FFFFFF !important;
    cursor: default;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
    .coaching-page.has-related {
        grid-template-columns: 220px 1fr;
    }
    .coaching-related {
        grid-column: 1 / -1;
        position: static;
    }
}

@media (max-width: 768px) {
    .coaching-page,
    .coaching-page.has-related {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .coaching-subnav {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
    }
    .coaching-chip { flex: 1 1 auto; text-align: center; }
}

@media (max-width: 600px) {
    .coaching-page { padding: 2rem 1.2rem 3rem; }
    .coaching-content h1 { font-size: 1.6rem; }
    .coaching-content h2 { font-size: 1.15rem; }
}
