:root {
    --teal: #0097a7;
    --red: #d50000;
    --dark: #071433;
    --gray: #666;
}

.wrap_qz81 {
    max-width: 1200px;
    margin: auto;
    padding: 40px 20px;
    font-family: 'Poppins', sans-serif;
    background: #f9f9f9;
}

/* Sección 1 */
.sec1_qz81 {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
    margin-bottom: 80px;
}

.sec1_qz81 .imgs_qz81 {
    flex: 1 1 45%;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    position: relative;
}

.sec1_qz81 .imgs_qz81 img {
    width: 220px;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    border: 4px solid var(--teal);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    position: absolute;
    transition: transform .4s ease;
}

/* Posiciones superpuestas */
.sec1_qz81 .imgs_qz81 img:nth-child(1) {
    top: 0;
    left: 10%;
    transform: rotate(-4deg);
}

.sec1_qz81 .imgs_qz81 img:nth-child(2) {
    top: 30%;
    right: 5%;
    transform: rotate(3deg);
}

.sec1_qz81 .imgs_qz81 img:nth-child(3) {
    bottom: 0;
    left: 20%;
    transform: rotate(-2deg);
}

.sec1_qz81 .imgs_qz81 img:hover {
    transform: scale(1.05) rotate(0deg);
    z-index: 2;
}

.sec1_qz81 .txt_qz81 {
    flex: 1 1 45%;
}

.sec1_qz81 h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.sec1_qz81 p {
    color: var(--gray);
    margin-bottom: 25px;
}

.card_qz81 {
    background: #fff;
    padding: 18px;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: transform .3s ease, box-shadow .3s ease;
}

.card_qz81:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.card_qz81 svg {
    width: 34px;
    height: 34px;
    margin-right: 15px;
    flex-shrink: 0;
}

.card_qz81.red svg {
    fill: var(--red);
}

.card_qz81.teal svg {
    fill: var(--teal);
}

.card_qz81 strong {
    display: block;
    color: var(--dark);
    margin-bottom: 5px;
}

.btn_qz81 {
    margin-top: 15px;
    background: var(--teal);
    color: #fff;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background .3s ease;
}

.btn_qz81:hover {
    background: #00acc1;
}

/* Sección 2 */
.sec2_qz81 {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
}

.sec2_qz81 .list_qz81 {
    flex: 1 1 45%;
}

.sec2_qz81 h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: var(--dark);
}

.list_qz81 ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.list_qz81 li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    color: var(--gray);
}

.list_qz81 svg {
    width: 22px;
    height: 22px;
    margin-right: 12px;
    fill: var(--teal);
    flex-shrink: 0;
    margin-top: 2px;
}

.sec2_qz81 .imgs_qz81 {
    flex: 1 1 45%;
    display: flex;
    gap: 20px;
    justify-content: center;
    position: relative;
}

.sec2_qz81 .imgs_qz81 img {
    width: 240px;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    border: 4px solid var(--teal);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    position: absolute;
    transition: transform .4s ease;
}

.sec2_qz81 .imgs_qz81 img:nth-child(1) {
    top: 0;
    left: 15%;
    transform: rotate(-3deg);
}

.sec2_qz81 .imgs_qz81 img:nth-child(2) {
    bottom: 0;
    right: 15%;
    transform: rotate(2deg);
}

.sec2_qz81 .imgs_qz81 img:hover {
    transform: scale(1.05) rotate(0deg);
    z-index: 2;
}

/* Animaciones */
.animate {
    opacity: 0;
    transition: all 0.8s ease;
}

.animate.left {
    transform: translateX(-80px);
}

.animate.right {
    transform: translateX(80px);
}

.animate.top {
    transform: translateY(-80px);
}

.animate.bottom {
    transform: translateY(80px);
}

.animate.visible {
    opacity: 1;
    transform: translateX(0) translateY(0);
}

@media (max-width: 768px) {

    .sec1_qz81,
    .sec2_qz81 {
        flex-direction: column;
    }

    .sec1_qz81 .imgs_qz81 img,
    .sec2_qz81 .imgs_qz81 img {
        position: relative;
        transform: rotate(0deg) !important;
        width: 100%;
        max-width: 300px;
    }
}