
/* Quitar hueco del hero del tema (Kadence) en páginas donde se use el shortcode */
.entry-hero .entry-header{
    min-height:0 !important;
    padding-top:0 !important;
    padding-bottom:0 !important;
}

/* CONTENEDOR GLOBAL */
.neuro-exp-wrapper{
    font-family:inherit;
    color:#1f2721;
    padding-bottom:56px;
}

/* HERO */
.neuro-exp-hero{
    text-align:center;
    padding:80px 28px 72px;
    background:#f4f6f2;
    border-radius:18px;
    max-width:1100px;
    margin:0 auto 40px;
}
.neuro-exp-hero-eyebrow{
    text-transform:uppercase;
    letter-spacing:.2em;
    font-size:11px;
    color:#7a8777;
    margin-bottom:10px;
}
.neuro-exp-hero-title{
    font-size:44px;
    margin:0 0 10px;
}
.neuro-exp-hero-subtitle{
    margin:0 0 24px;
    color:#5f6e5f;
    max-width:720px;
    margin-left:auto;
    margin-right:auto;
    font-size:15px;
}
.neuro-exp-hero-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    background:#24533a;
    color:#fff;
    padding:12px 28px;
    border-radius:999px;
    text-decoration:none;
    font-size:14px;
}
.neuro-exp-hero-btn::before{
    content:"\f345";
    font-family:dashicons;
    font-size:15px;
}

/* SECCIONES */
.neuro-exp-section{
    max-width:1100px;
    margin:32px auto;
    padding:0 28px;
}
.neuro-exp-section-header h2{
    font-size:26px;
    margin-bottom:6px;
}
.neuro-exp-section-header p{
    color:#6e7b6e;
    margin:0;
}

/* TIMELINE */
.neuro-exp-timeline{
    position:relative;
    margin-top:22px;
    padding-left:18px;
}
.neuro-exp-timeline:before{
    content:"";
    position:absolute;
    left:32px;
    top:4px;
    bottom:4px;
    width:2px;
    background:#dde5dd;
}
.neuro-exp-timeline-item{
    display:grid;
    grid-template-columns:80px 1fr;
    column-gap:24px;
    margin-bottom:24px;
    position:relative;
}
.neuro-exp-timeline-col-year{
    position:relative;
}
.neuro-exp-year-badge{
    display:inline-flex;
    align-items:center;
    padding:4px 12px;
    border-radius:999px;
    background:#e8efe6;
    font-size:11px;
    color:#435343;
}
.neuro-exp-timeline-col-year:before{
    content:"";
    position:absolute;
    top:11px;
    left:32px;
    width:9px;
    height:9px;
    border-radius:50%;
    background:#fff;
    border:2px solid #24533a;
    transform:translateX(-50%);
}
.neuro-exp-timeline-col-card{
    background:#ffffff;
    border-radius:16px;
    border:1px solid #e2e7e1;
    padding:16px 20px;
}
.neuro-exp-item-title{
    margin:0 0 4px;
    font-size:15px;
}
.neuro-exp-item-subtitle{
    margin:0 0 6px;
    font-size:13px;
    color:#4e614e;
}
.neuro-exp-item-description{
    margin:0;
    font-size:13px;
    color:#6b786b;
}

/* INVESTIGACIÓN */
.neuro-exp-section--research{
    margin-top:44px;
}
.neuro-exp-research-list{
    margin-top:22px;
}
.neuro-exp-research-item{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:18px;
    background:#ffffff;
    border-radius:16px;
    border:1px solid #e2e7e1;
    padding:16px 20px;
    margin-bottom:14px;
}
.neuro-exp-badge-row{
    margin-bottom:8px;
}
.neuro-exp-pill{
    display:inline-block;
    padding:4px 11px;
    border-radius:999px;
    background:#e7efe5;
    font-size:11px;
    text-transform:uppercase;
    letter-spacing:.08em;
    margin-right:6px;
}
.neuro-exp-pill--muted{
    background:#f2f4f1;
}
.neuro-exp-research-title{
    margin:0;
    font-size:14px;
}
.neuro-exp-research-actions{
    display:flex;
    gap:8px;
    flex-wrap:wrap;
}
.neuro-exp-btn-outline,
.neuro-exp-btn-ghost{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    font-size:12px;
    padding:7px 14px;
    border-radius:999px;
    text-decoration:none;
    white-space:nowrap;
}
.neuro-exp-btn-outline{
    border:1px solid #24533a;
    color:#24533a;
    background:#f7faf7;
}
.neuro-exp-btn-ghost{
    border:1px solid #dde3dc;
    color:#24533a;
    background:#f7f9f6;
}

/* COMPETENCIAS */
.neuro-exp-section--competencias{
    padding-bottom:40px;
}
.neuro-exp-competencias-inner{
    background:linear-gradient(135deg,#274e39,#345f46);
    border-radius:28px;
    padding:28px 32px 32px;
    color:#f5f7f3;
    box-shadow:0 30px 80px rgba(0,0,0,0.35);
}
.neuro-exp-section-header--inverted h2{
    color:#f5f7f3;
}
.neuro-exp-competencias-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:18px;
    margin-top:18px;
}
.neuro-exp-competencia-card{
    border-radius:18px;
    border:1px solid rgba(255,255,255,0.28);
    padding:18px 20px 20px;
    background:rgba(0,0,0,0.10);
    box-shadow:0 16px 45px rgba(0,0,0,0.35);
}
.neuro-exp-competencia-card h3{
    margin:0 0 6px;
    font-size:15px;
}
.neuro-exp-competencia-card p{
    margin:0;
    font-size:13px;
    color:#e5eee6;
}

/* CV */
.neuro-exp-cv-wrapper{
    text-align:center;
    margin:28px 0 10px;
}
.neuro-exp-cv-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:#24533a;
    color:#fff;
    padding:11px 24px;
    border-radius:999px;
    text-decoration:none;
    font-size:14px;
}
.neuro-exp-cv-btn::before{
    content:"\f316";
    font-family:dashicons;
    margin-right:6px;
}
.neuro-exp-cv-btn--disabled{
    opacity:.6;
}

/* RESPONSIVE */
@media (max-width:768px){
    .neuro-exp-hero{
        margin:0 16px 28px;
        padding:56px 18px 44px;
    }
    .neuro-exp-section{
        padding:0 16px;
        margin:24px auto;
    }
    .neuro-exp-timeline-item{
        grid-template-columns:70px 1fr;
    }
    .neuro-exp-research-item{
        flex-direction:column;
        align-items:flex-start;
    }
    .neuro-exp-competencias-inner{
    background:linear-gradient(135deg,#274e39,#345f46);
    border-radius:28px;
    padding:28px 32px 32px;
    color:#f5f7f3;
    box-shadow:0 30px 80px rgba(0,0,0,0.35);
}
    .neuro-exp-competencias-grid{
        grid-template-columns:1fr;
    }
}


/* Ajuste de alineación de los años en la línea de tiempo */

.neuro-exp-year-badge{
    margin-left:16px;
}



/* FIX DEFINITIVO TIMELINE: badge a la izquierda de la línea */
.neuro-exp-timeline-item{
    position:relative;
}
.neuro-exp-year-badge{
    position:absolute;
    left:-6px;
    transform:translateX(-100%);
    margin-left:0;
}



/* --- TIMELINE REPLICA ESTILO ORIGINAL --- */
.neuro-exp-timeline{
    position:relative;
    margin-top:22px;
    padding-left:0;
}
.neuro-exp-timeline:before{
    content:"";
    position:absolute;
    left:95px;
    top:4px;
    bottom:4px;
    width:2px;
    background:#dde5dd;
}
.neuro-exp-timeline-item{
    display:grid;
    grid-template-columns:120px 1fr;
    column-gap:24px;
    margin-bottom:24px;
    position:relative;
}
.neuro-exp-timeline-col-year{
    position:relative;
    text-align:center;
}
.neuro-exp-timeline-col-year:before{
    content:"";
    position:absolute;
    top:50%;
    left:95px;
    width:9px;
    height:9px;
    border-radius:50%;
    background:#fff;
    border:2px solid #24533a;
    transform:translate(-50%,-50%);
}
.neuro-exp-year-badge{
    position:relative;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:4px 12px;
    border-radius:999px;
    background:#e8efe6;
    font-size:11px;
    color:#435343;
    margin:0 auto;
    transform:none;
}



/* Caja general investigación como en la maqueta */
.neuro-exp-section--research{
    background:#f9fbf8;
    border-radius:18px;
    border:1px solid #e1e7df;
    padding:22px 26px 24px;
    margin-top:40px;
}

/* Filas de investigación con botones a la derecha */
.neuro-exp-research-item{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:18px;
    background:#ffffff;
    border-radius:14px;
    border:1px solid #e2e7e1;
    padding:14px 18px;
    margin-bottom:10px;
}
.neuro-exp-research-main{
    flex:1 1 auto;
}
.neuro-exp-research-actions{
    flex:0 0 auto;
    display:flex;
    gap:8px;
    align-items:center;
}
.neuro-exp-btn-outline,
.neuro-exp-btn-ghost{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    font-size:12px;
    padding:6px 12px;
    border-radius:999px;
    text-decoration:none;
    white-space:nowrap;
}
.neuro-exp-btn-outline{
    border:1px solid #24533a;
    color:#24533a;
    background:#f7faf7;
}
.neuro-exp-btn-ghost{
    border:1px solid #dde3dc;
    color:#24533a;
    background:#f7f9f6;
}
.neuro-exp-btn-icon{
    font-size:14px;
}
.neuro-exp-btn--disabled{
    opacity:.5;
    cursor:default;
    pointer-events:none;
}

.neuro-exp-research-footer{
    text-align:center;
    margin-top:10px;
    font-size:13px;
}



/* --- BLOQUE COMPETENCIAS: AJUSTE ESTILO PREMIUM --- */
.neuro-exp-section--competencias{
    max-width:1100px;
    margin:40px auto 32px;
    padding:0 24px;
}

.neuro-exp-competencias-inner{
    background:linear-gradient(135deg,#274e39,#345f46);
    border-radius:28px;
    padding:28px 32px 32px;
    color:#f5f7f3;
    box-shadow:0 30px 80px rgba(0,0,0,0.35);
}

.neuro-exp-section-header--inverted h2{
    font-size:28px;
    margin-bottom:16px;
}

.neuro-exp-competencias-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:20px;
    margin-top:6px;
}

.neuro-exp-competencia-card{
    border-radius:18px;
    border:1px solid rgba(255,255,255,0.28);
    padding:18px 20px 20px;
    background:rgba(0,0,0,0.10);
    box-shadow:0 16px 45px rgba(0,0,0,0.35);
}

.neuro-exp-competencia-card h3{
    font-size:16px;
    margin-bottom:8px;
}

.neuro-exp-competencia-card p{
    font-size:13px;
    color:#e8f0e9;
}

/* Botón CV centrado con más aire */
.neuro-exp-cv-wrapper{
    text-align:center;
    margin:34px 0 16px;
}
.neuro-exp-cv-btn{
    padding:12px 28px;
    border-radius:999px;
    box-shadow:0 18px 40px rgba(0,0,0,0.30);
}


/* MODAL CALENDLY - versión limpia sin marco extra */
.neuro-exp-modal-open {
    overflow: hidden;
}

.neuro-exp-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.neuro-exp-modal.is-open {
    display: flex;
}

/* Fondo oscurecido detrás del calendario */
.neuro-exp-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.65);
}

/* Contenedor directo del Calendly, sin tarjeta extra */
.neuro-exp-modal-body {
    position: relative;
    z-index: 1;
    max-width: 1024px;
    width: 100%;
    margin: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

/* Botón cerrar flotando arriba a la derecha */
.neuro-exp-modal-close {
    position: absolute;
    top: -18px;
    right: -10px;
    border: none;
    background: transparent;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #ffffff;
}

/* Calendly ocupa todo el ancho disponible */
.neuro-exp-modal-body .calendly-inline-widget {
    width: 100% !important;
    min-width: 0 !important;
    height: 700px !important;
}

@media (max-width: 768px) {
    .neuro-exp-modal {
        padding: 12px;
    }
    .neuro-exp-modal-body {
        max-width: 100%;
    }
}

/* ===== FIX DEFINITIVO CALENDLY (SIN DOBLE MODAL) ===== */

/* Desactivar cualquier overlay propio de Calendly */
.calendly-overlay,
.calendly-popup,
.calendly-overlay iframe {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* El modal del plugin solo muestra el inline widget */
.neuro-exp-modal-dialog {
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

/* ===== TARJETAS COMPETENCIAS ===== */
.neuro-exp-competencias-inner h3,
.neuro-exp-competencias-inner h4,
.neuro-exp-card-title {
    color: #ffffff !important;
}

/* Titulos de tarjetas de competencias en blanco */
.neuro-exp-competencias-inner h3,
.neuro-exp-competencias-inner h4,
.neuro-exp-competencias-inner .neuro-exp-card-title {
    color: #ffffff;
}
