/* Imágenes generales dentro del main */
main img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}

#hacemos_2 {
    margin-bottom: 0.5rem;
}

/* Ajustamos margen entre párrafo anterior y lista */
.evaluation-list {
    list-style: none;
    padding-left: 1.5rem;
    margin-top: 0rem;
    margin-bottom: 2.5rem;
    max-width: 720px;
    color: #4b5563;
    font-size: clamp(1rem, 2.5dvw, 1.15rem);
    line-height: 1.75;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.evaluation-list li {
    position: relative;
    margin-bottom: 0.6rem;
    padding-left: 1.5rem;
}

.evaluation-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.8em;
    width: 0.6rem;
    height: 0.6rem;
    background-color: #287271;
    border-radius: 50%;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100dvw;
    height: 100dvh;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90dvw;
    max-height: 80dvh;
    border-radius: 8px;
    box-shadow: 0 0 20px #000;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #bbb;
}

.carousel-container {
    position: relative;
    max-width: 85dvw;
    margin: 2rem auto;
    overflow: hidden;
    border-radius: 10px;
}

.carousel-track {
    position: relative;
    height: 60dvh;
    /* limitamos altura máxima */
}

.carousel-track img {
    position: absolute;
    top: 50%;
    left: 50%;
    max-width: 100%;
    max-height: 60dvh;
    transform: translate(-50%, -50%);
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.8s ease;
    cursor: pointer;
    user-select: none;
}

.carousel-track img.active {
    opacity: 1;
    z-index: 2;
}

/* Botones prev/next contenedor */
.carousel-btn-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 0.5rem;
}

.carousel-btn {
    background-color: #287271;
    border: none;
    color: #fff;
    font-size: 2rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.3s;
    user-select: none;
}

.carousel-btn:hover {
    background-color: #1f5959;
}

/* Dots */
.carousel-dots {
    text-align: center;
    margin-top: 10px;
}

.carousel-dots span {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 5px;
    background: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.carousel-dots span.active {
    background: #287271;
    transform: scale(1.3);
}

/* Media queries para móviles */
@media(max-width:600px) {
    .carousel-btn {
        display: none;
    }
}