.essences{
    padding:80px 8%;
    background:#fff;
}

.essences-title {
    font-family: 'Quicksand', sans-serif;
    font-size: 46px;
    font-weight: 700;
    text-align: center; 
    text-decoration: underline;
    text-decoration-color: #e3ab46;
    margin-bottom: 50px;
    color: #333;
    display: block;
}

/* COLLAGE */
.essences-grid{
    display:grid;
    grid-template-columns:repeat(4, 1fr);
    grid-auto-rows:260px;
    gap:18px;
}

.essence-item{
    position:relative;
    overflow:hidden;
    border-radius:10px;
    cursor:pointer;
    transition:transform .35s ease;
}

.essence-item.tall{
    grid-row:span 2;
}

.essence-item img{
    width:100%;
    height:100%;
    object-fit:cover;
    filter:brightness(0.7);
    transition:all .45s ease;
}

/* TEXTO SOBRE LA IMAGEN */
.essence-overlay{
    position:absolute;
    inset:0;
    display:flex;
    flex-direction:column;
    justify-content:flex-end;
    padding:22px;
    background:linear-gradient(
        to top,
        rgba(0,0,0,.55),
        rgba(0,0,0,0)
    );
    color:#fff;
    font-family:'Quicksand', sans-serif;
    transition:opacity .35s ease;
}

.essence-overlay span{
    font-size:20px;
    font-weight:600;
}

.essence-overlay small{
    font-size:14px;
    font-weight:300;
}

/* HOVER */
.essence-item:hover img{
    filter:brightness(1);
    transform:scale(1.05);
}

.essence-item:hover .essence-overlay{
    opacity:0;
}

/* CLICK */
.essence-item:active{
    transform:scale(0.97);
}

/* CIRCULO + */
.essence-item .plus-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #e3ab46; 
    color: #e3ab46;
    font-weight: bold;
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    background: transparent;
    cursor: pointer;
    z-index: 5;
}

.essence-item .plus-btn:hover {
    background: #000; 
    color: #e3ab46; 
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(227,171,70,0.6);
}

/* Tablets: hasta 768px */
@media (max-width: 768px) {
    .essences {
        padding: 60px 5%;
        margin-top: 35px;
    }

    .essences-title {
        font-size: 36px;
        margin-bottom: 40px;
    }

    .essences-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 220px;
        gap: 15px;
    }

    .essence-item.tall {
        grid-row: span 2;
    }

    .essence-item img {
        object-fit: cover;
    }

    .essence-overlay span {
        font-size: 18px;
    }

    .essence-overlay small {
        font-size: 12px;
    }

    .essence-item .plus-btn {
        width: 32px;
        height: 32px;
        font-size: 18px;
    }
}

/* Móviles: hasta 480px */
@media (max-width: 480px) {
    .essences {
        padding: 50px 3%;
        margin-top: 55px;
    }

    .essences-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .essences-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
        gap: 12px;
    }

    .essence-item.tall {
        grid-row: span 1;
    }

    .essence-overlay span {
        font-size: 16px;
    }

    .essence-overlay small {
        font-size: 11px;
    }

    .essence-item .plus-btn {
        width: 28px;
        height: 28px;
        font-size: 16px;
        top: 8px;
        right: 8px;
    }
}