
.mv-portfolio{position:relative;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:13px;isolation:isolate;padding:12px 0}
.mv-portfolio-frame{position:relative;width:min(100%,540px);height:clamp(360px,36vw,450px);border:1px solid #3b7aa8;border-radius:23px;overflow:hidden;background:linear-gradient(145deg,#092746,#061326);box-shadow:0 25px 75px #0008,0 0 55px #12a8ff16}
.mv-project-slide{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;padding:20px 20px 0;opacity:0;visibility:hidden;transform:translateY(18px);transition:opacity .7s ease,transform .7s ease,visibility .7s;pointer-events:none;overflow:hidden}
.mv-project-slide.is-active{opacity:1;visibility:visible;transform:translateY(0);pointer-events:auto}
.mv-project-tag{align-self:flex-start;display:inline-flex;align-items:center;gap:8px;padding:7px 12px;border:1px solid #42c8ff5c;border-radius:20px;background:#0c3153;color:#a8eaff;font-size:10px;letter-spacing:1.4px;font-weight:800;z-index:2}
.mv-project-xv{width:225px;max-width:85%;height:292px;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;background:linear-gradient(145deg,#fff1e7,#ffe4d8);border:7px solid #111723;border-radius:25px;transform:rotate(-6deg);box-shadow:0 16px 30px #0008;margin:auto auto 0;color:#85543c;font-family:Georgia,serif}
.mv-project-xv-stars{font-size:22px;color:#be8b85}.mv-project-xv small{font-style:italic;font-size:12px}.mv-project-xv h3{font-size:24px;font-weight:400;margin:0;color:#9a654c}.mv-project-xv strong{font-size:26px;font-weight:400}.mv-project-xv>span{font-size:10px;letter-spacing:3px}.mv-project-xv>.fa-qrcode{font-size:55px;color:#272323}.mv-project-xv em{font-size:9px;font-style:normal;border:1px solid #b99183;border-radius:14px;padding:6px 9px;letter-spacing:1px}
.mv-project-screen{width:100%;margin:auto 0 0;border:6px solid #101c2d;border-bottom-width:12px;border-radius:13px 13px 0 0;box-shadow:0 12px 35px #0009;background:#f7f8fa;overflow:hidden;transform:perspective(1100px) rotateY(-3deg)}
.mv-project-browser{height:25px;display:flex;align-items:center;gap:5px;padding:0 10px;background:#1b2b43;color:#a9c9e4;font-size:10px}.mv-project-browser i{height:6px;width:6px;border-radius:50%;background:#4e7491}.mv-project-browser i:first-child{background:#fb6c7a}.mv-project-browser i:nth-child(2){background:#ffcf70}.mv-project-browser i:nth-child(3){background:#5ee1ad}.mv-project-browser span{margin:auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mv-project-screen img{display:block;width:100%;height:255px;object-fit:cover;object-position:top left}
.mv-project-caption{position:relative;z-index:2;width:calc(100% + 40px);margin-top:auto;padding:13px 20px 17px;background:linear-gradient(90deg,#07182cf5,#0c3052f5);border-top:1px solid #4abefc45;color:#fff;display:flex;flex-direction:column;gap:3px;text-align:left}.mv-project-caption strong{font-size:18px}.mv-project-caption span{font-size:12px;color:#c9e5f9}
.mv-portfolio-controls{display:flex;align-items:center;justify-content:center;gap:22px}.mv-project-arrow{width:35px;height:35px;display:grid;place-items:center;border-radius:50%;background:#103b5b;border:1px solid #52b7ef;color:white;cursor:pointer}.mv-project-arrow:hover{background:#1686c5}.mv-project-dots{display:flex;gap:9px}.mv-project-dots button{border:0;border-radius:20px;width:10px;height:10px;background:#4c7394;cursor:pointer;padding:0;transition:width .2s,background .2s}.mv-project-dots button.is-active{width:29px;background:#27c7ff}.mv-portfolio-footnote{color:#b4d7ef;font-size:11px;display:flex;align-items:center;gap:7px}.mv-portfolio-footnote i{color:#23d9ad}
@media(max-width:980px){.mv-portfolio-frame{height:410px}.mv-project-screen img{height:265px}}
@media(max-width:600px){.mv-portfolio{width:100%;padding:0}.mv-portfolio-frame{width:100%;height:390px}.mv-project-slide{padding:14px 14px 0}.mv-project-screen img{height:240px}.mv-project-caption{width:calc(100% + 28px);padding:12px 14px 14px}.mv-project-xv{height:268px;width:206px}.mv-project-caption strong{font-size:16px}}
@media(prefers-reduced-motion:reduce){.mv-project-slide{transition:none}}
.hero-project-card {
    min-height: 480px;
}

.hero-project-card img {
    width: 100%;
    height: 370px;
    object-fit: cover;
    object-position: center top;
}

@media (max-width: 768px) {
    .hero-project-card {
        min-height: 380px;
    }

    .hero-project-card img {
        height: 270px;
    }
}
/* Carrusel dinámico de imágenes completas */
.mv-portfolio-frame {
    width: min(100%, 620px);
    height: 600px;
    min-height: 600px;
}
.mv-project-slide.mv-project-image-slide {
    inset: 0;
    padding: 12px;
    align-items: center;
    justify-content: center;
}
.mv-project-full-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 12px;
}
.mv-portfolio-empty {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #d8edff;
    text-align: center;
}
.mv-portfolio-empty i { font-size: 45px; color: #2ac6ff; }
.mv-portfolio-empty span { font-size: 13px; }
@media (max-width: 980px) {
    .mv-portfolio-frame { height: 520px; min-height: 520px; }
}
@media (max-width: 600px) {
    .mv-portfolio-frame { height: 430px; min-height: 430px; }
    .mv-project-slide.mv-project-image-slide { padding: 8px; }
    .mv-project-full-image { border-radius: 9px; }
}

@media (max-width: 768px) {
    .mv-portfolio-frame {
        height: 310px !important;
        min-height: 0 !important;
        max-height: 310px !important;
    }
    .mv-project-slide.mv-project-image-slide { padding: 8px; }
    .mv-project-full-image { width: 100%; height: 100%; object-fit: contain; }
    .mv-portfolio-controls { margin-top: 12px; }
}
@media (max-width: 400px) {
    .mv-portfolio-frame {
        height: 260px !important;
        min-height: 0 !important;
        max-height: 260px !important;
    }
}
@media (min-width: 769px) {
    .hero-visual.mv-portfolio {
        align-self: center;
        transform: translateY(-18px);
    }

    .mv-portfolio-frame {
        height: 410px !important;
        min-height: 0 !important;
        max-height: 410px !important;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mv-project-slide {
        height: 100%;
        min-height: 0;
        padding: 12px;
        box-sizing: border-box;
    }

    .mv-project-screen {
        width: 100%;
        height: 100%;
        min-height: 0;
        margin: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mv-project-screen img {
        width: 100%;
        height: 100%;
        max-height: 385px;
        object-fit: contain;
        object-position: center;
    }

    .mv-portfolio-controls {
        margin-top: 10px;
    }

    .mv-portfolio-footnote {
        margin-top: 6px;
    }
}