

.valores-app{
    width:100%;
    padding:0 24px 60px;
}

.valores-contenedor{
    width:100%;
    max-width:880px;
    margin:0 auto;
}

.valores-portada{
    padding:48px 0 30px;
    text-align:center;
}

.valores-etiqueta{
    margin:0 0 10px;
    color:var(--anaranjado,#C9784A);
    font-size:12px;
    font-weight:800;
    letter-spacing:.12em;
    text-transform:uppercase;
}

.valores-portada h1{
    margin:0 0 18px;
    color:var(--verde-bosque,#26382F);
    font-family:Georgia,"Times New Roman",serif;
    font-size:clamp(38px,7vw,58px);
    font-weight:400;
    line-height:1.05;
}

.valores-portada p:last-child{
    max-width:650px;
    margin:0 auto;
    color:var(--verde-bosque,#26382F);
    font-size:17px;
    line-height:1.7;
}

.exercise-progress{
    margin:0 auto 24px;
    text-align:center;
}

.embudo{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:5px;
    min-height:130px;
}

.barra{
    max-width:100%;
    border-radius:999px;
    background:rgba(116,136,120,.25);
    transition:.25s ease;
}

.barra.pasada{
    background:var(--verde-salvia,#748878);
}

.barra.activa{
    background:var(--anaranjado,#C9784A);
}

.nota{
    color:var(--verde-oliva,#465B4D);
    font-size:13px;
    line-height:1.5;
}

.centrado{
    text-align:center;
}

.pantalla{
    display:none;
}

.pantalla.visible{
    display:block;
    animation:entradaValores .35s ease both;
}

@keyframes entradaValores{
    from{
        opacity:0;
        transform:translateY(7px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

.exercise-panel{
    padding:28px;
    border-radius:22px;
    background:var(--marfil,#E7E9E2);
    color:var(--verde-bosque,#26382F);
    box-shadow:0 12px 30px rgba(38,56,47,.08);
}

.exercise-title{
    margin:0 0 12px;
    color:var(--verde-bosque,#26382F);
    font-family:Georgia,"Times New Roman",serif;
    font-size:clamp(28px,5vw,38px);
    font-weight:400;
    line-height:1.2;
}

.exercise-description{
    max-width:680px;
    margin:0 auto 22px;
    line-height:1.65;
}

.grid-3{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:12px;
}

.mt-2{
    margin-top:22px;
}

.mb-2{
    margin-bottom:24px;
}

.summary-card{
    min-height:115px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding:18px;
    border-radius:18px;
    background:#CDD6CB;
    text-align:center;
}

.summary-card strong{
    display:block;
    color:var(--verde-bosque,#26382F);
    font-family:Georgia,"Times New Roman",serif;
    font-size:34px;
    font-weight:400;
}

.summary-card span{
    margin-top:5px;
    color:var(--verde-oliva,#465B4D);
    font-size:13px;
}

.button{
    min-height:48px;
    padding:12px 22px;
    border:0;
    border-radius:999px;
    background:var(--anaranjado,#C9784A);
    color:var(--marfil,#E7E9E2);
    font:inherit;
    font-weight:700;
    cursor:pointer;
}

.button-secondary{
    background:var(--verde-oliva,#465B4D);
}

.button:disabled{
    opacity:.42;
    cursor:not-allowed;
}

.exercise-actions{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:12px;
    margin-top:24px;
}

/* =========================================================
   BUSCADOR Y VALORES PERSONALIZADOS
========================================================= */

.values-tools{
    max-width:720px;
    margin:0 auto 22px;
}

.values-search{
    width:100%;
    min-height:48px;
    padding:12px 16px;
    border:1px solid rgba(38,56,47,.15);
    border-radius:14px;
    outline:none;
    background:var(--marfil,#E7E9E2);
    color:var(--verde-bosque,#26382F);
    font:inherit;
}

.values-search:focus,
.custom-value-input:focus,
.reflection-card textarea:focus{
    border-color:var(--verde-oliva,#465B4D);
    box-shadow:0 0 0 3px rgba(70,91,77,.10);
}

.custom-value-box{
    display:flex;
    gap:10px;
    margin-top:12px;
}

.custom-value-input{
    flex:1;
    min-width:0;
    min-height:46px;
    padding:11px 14px;
    border:1px solid rgba(38,56,47,.15);
    border-radius:14px;
    outline:none;
    background:var(--marfil,#E7E9E2);
    color:var(--verde-bosque,#26382F);
    font:inherit;
}

.custom-help{
    margin:9px 2px 0;
    color:var(--verde-oliva,#465B4D);
    font-size:13px;
    line-height:1.5;
}

/* =========================================================
   VALORES
========================================================= */

.values-grid{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:9px;
}

.chip{
    min-height:42px;
    padding:9px 15px;
    border:1px solid rgba(38,56,47,.16);
    border-radius:999px;
    background:#CDD6CB;
    color:var(--verde-bosque,#26382F);
    font:inherit;
    font-size:14px;
    font-weight:700;
    cursor:pointer;
    transition:.18s ease;
}

.chip:hover{
    transform:translateY(-1px);
}

.chip.elegido{
    border-color:var(--verde-oliva,#465B4D);
    background:var(--verde-oliva,#465B4D);
    color:var(--marfil,#E7E9E2);
}

.chip.personalizado::after{
    content:" +";
    opacity:.6;
}

.aviso{
    min-height:24px;
    margin-top:16px;
    color:#8a3e2f;
    text-align:center;
    font-size:14px;
    font-weight:700;
}

.contador{
    margin-top:18px;
    color:var(--verde-oliva,#465B4D);
    text-align:center;
}

.contador.completo{
    color:var(--verde-bosque,#26382F);
}

/* =========================================================
   REFLEXIONES
========================================================= */

.reflection-list{
    display:grid;
    gap:15px;
    max-width:720px;
    margin:0 auto;
}

.reflection-card{
    padding:20px;
    border-radius:18px;
    background:#CDD6CB;
}

.reflection-card h3{
    margin:0 0 8px;
    color:var(--verde-bosque,#26382F);
    font-family:Georgia,"Times New Roman",serif;
    font-size:25px;
    font-weight:400;
}

.reflection-card p{
    margin:0 0 10px;
    line-height:1.55;
}

.reflection-card textarea{
    width:100%;
    min-height:100px;
    resize:vertical;
    padding:12px 14px;
    border:1px solid rgba(38,56,47,.15);
    border-radius:14px;
    outline:none;
    background:var(--marfil,#E7E9E2);
    color:var(--verde-bosque,#26382F);
    font:inherit;
    line-height:1.55;
}

/* =========================================================
   TARJETA
========================================================= */

.result-canvas{
    display:block;
    width:100%;
    max-width:720px;
    height:auto;
    margin:22px auto 0;
    border-radius:18px;
    background:var(--marfil,#E7E9E2);
    box-shadow:0 10px 26px rgba(38,56,47,.08);
}

/* =========================================================
   MÓVIL
========================================================= */

@media(max-width:699px){

    .valores-app{
        padding:0 16px 40px;
    }

    .valores-portada{
        padding-top:34px;
    }

    .exercise-panel{
        padding:20px;
    }

    .grid-3{
        grid-template-columns:1fr;
    }

    .summary-card{
        min-height:90px;
    }

    .custom-value-box{
        flex-direction:column;
    }

    .custom-value-box .button{
        width:100%;
    }
}

