/* ===========================================================
   v3/sobrenosotros.css
   =========================================================== */


/* =========================================================
   HISTORIA
   ========================================================= */

.historia-sec {
    padding: 96px 24px;
    background: var(--bg);
}

.historia-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.historia-text .sec-heading {
    margin-top: 14px;
}

.historia-text p {
    font-size: 15.5px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 16px;
    text-align: justify;
}

.historia-badges {
    display: flex;
    gap: 20px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.hist-badge {
    text-align: center;
}

.hist-badge strong {
    display: block;
    font-family: var(--font-titulo);
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
}

.hist-badge span {
    font-size: 13px;
    color: var(--text-muted);
}

.historia-img {
    position: relative;
}

.historia-img img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: var(--r-lg);
}

.hist-since-badge {
    position: absolute;
    top: -16px;
    right: -16px;

    background: var(--primary);
    color: #fff;

    width: 96px;
    height: 96px;

    border-radius: 50%;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    font-family: var(--font-texto);
    font-size: 11px;
    font-weight: 700;
    text-align: center;

    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 1.3;

    box-shadow: 0 4px 20px rgba(26, 60, 40, .35);
}

.hist-since-badge strong {
    font-size: 22px;
    display: block;
}


/* =========================================================
   HISTORIA Y TRAYECTORIA
   ========================================================= */

.tl-sec {
    padding: 40px 0 0 0;
    background: var(--bg);
    text-align: center;
    overflow: hidden;
}

.tl-header {
    max-width: 620px;
    margin: 0 auto 30px;
}

.tl-image {
    width: 100%;
    max-width: 2000px;
    margin: 0 auto;
    padding: 0;

    display: flex;
    justify-content: center;
    align-items: center;
}

.tl-image img {
    width: 100%;
    max-width: 2000px;
    height: auto;
    display: block;
    object-fit: contain;
}
/* =========================================================
   MISIÓN / VISIÓN / VALORES
   ========================================================= */

.mvv-sec {
    padding: 96px 24px;
    background: var(--bg-soft);
    border-top: 1px solid var(--border);
}


/* =========================================================
   ENCABEZADO
   ========================================================= */

.mvv-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 56px;
}

.mvv-header .eyebrow {
    color: var(--text);
    font-family: var(--font-titulo);
    font-weight: 700;
}

.mvv-header .sec-body {
    color: #527a5b;
}


/* =========================================================
   TARJETAS
   ========================================================= */

.mvv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;

    max-width: 1100px;
    margin: 0 auto 48px;
}


/* =========================================================
   TARJETA TOTALMENTE BLANCA
   ========================================================= */

.mvv-card {
    position: relative;
    overflow: hidden;

    background: #ffffff;

    /* SIN BORDE */
    border: none;

    border-radius: 32px;

    padding: 48px 44px;

    transition:
        transform .35s ease,
        box-shadow .35s ease;
}


/* =========================================================
   QUITAR LÍNEA SUPERIOR
   ========================================================= */

.mvv-card::before {
    display: none;
}


/* =========================================================
   QUITAR EFECTOS EXTRA
   ========================================================= */

.mvv-card::after {
    display: none;
}


/* =========================================================
   EFECTO AL PASAR EL MOUSE
   ========================================================= */

.mvv-card:hover {
    transform: translateY(-7px) scale(1.015);

    box-shadow:
        0 20px 45px rgba(0, 0, 0, 0.10);
}


/* =========================================================
   ICONO
   ========================================================= */

.mvv-icon {
    width: auto;
    height: auto;

    background: transparent;
    border-radius: 0;

    display: flex;
    align-items: center;
    justify-content: flex-start;

    font-size: 32px;

    color: #000000;

    margin-bottom: 28px;

    transition:
        transform .35s ease,
        filter .35s ease;
}


.mvv-card:hover .mvv-icon {
    transform: translateY(-3px) scale(1.08);

    filter: drop-shadow(
        0 5px 8px rgba(0, 0, 0, 0.12)
    );
}


/* =========================================================
   TÍTULOS
   ========================================================= */

.mvv-card h3 {
    position: relative;
    z-index: 3;

    font-family: var(--font-titulo);

    font-size: 22px;
    font-weight: 800;

    color: #000000;

    margin-bottom: 14px;

    transition:
        color .3s ease,
        transform .3s ease;
}


.mvv-card:hover h3 {
    color: #000000;
    transform: translateX(3px);
}


/* =========================================================
   TEXTOS
   ========================================================= */

.mvv-card p {
    position: relative;
    z-index: 3;

    font-size: 15px;

    color: #000000;

    line-height: 1.8;

    transition: color .3s ease;
}


.mvv-card:hover p {
    color: #000000;
}


/* =========================================================
   TODAS LAS TARJETAS BLANCAS
   ========================================================= */

.mvv-card:nth-child(1),
.mvv-card:nth-child(2),
.mvv-card:nth-child(3) {
    background: #ffffff;
}


/* =========================================================
   BARRA FINAL BLANCA
   ========================================================= */

.mvv-cta-bar {
    background: #ffffff;

    border-radius: var(--r-md);

    padding: 28px 44px;

    max-width: 1100px;

    margin: 0 auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 24px;

    flex-wrap: wrap;

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}


.mvv-cta-bar:hover {
    transform: translateY(-3px);

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.08);
}


/* =========================================================
   TEXTO DE LA BARRA
   ========================================================= */

.mvv-cta-bar p {
    font-family: var(--font-texto);

    font-size: 20px;

    font-weight: 700;

    color: #000000;
}


.mvv-cta-bar p span {
    color: #000000;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {

    .mvv-grid {
        grid-template-columns: 1fr;

        max-width: 600px;
    }

}


/* =========================================================
   MÓVILES
   ========================================================= */

@media (max-width: 600px) {

    .mvv-sec {
        padding: 70px 18px;
    }

    .mvv-card {
        padding: 36px 28px;

        border-radius: 26px;
    }

    .mvv-card h3 {
        font-size: 20px;
    }

    .mvv-card p {
        font-size: 14px;
    }

    /* En celular evitamos exagerar el movimiento */

    .mvv-card:hover {
        transform: translateY(-4px);
    }

    .mvv-cta-bar {
        padding: 24px 28px;
    }

    .mvv-cta-bar p {
        font-size: 18px;
    }

}


/* =========================================================
   REDUCIR ANIMACIONES SI EL USUARIO LAS DESACTIVA
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .mvv-card,
    .mvv-card::before,
    .mvv-card::after,
    .mvv-card h3,
    .mvv-card p,
    .mvv-icon,
    .mvv-cta-bar {
        transition: none;
    }

    .mvv-card:hover {
        transform: none;
    }

}
/* =========================================================
   EQUIPO
   ========================================================= */

.equipo-sec {
    padding: 96px 24px;
    background: var(--bg);
    text-align: center;
}

.equipo-header {
    max-width: 640px;
    margin: 0 auto 56px;
}

.equipo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;

    max-width: 1152px;
    margin: 0 auto;
}

.equipo-card {
    border-radius: var(--r-md);
    overflow: hidden;

    text-align: left;

    transition:
        box-shadow .3s,
        transform .3s;

    background: var(--bg);
    border: 1px solid var(--border);
}

.equipo-card:hover {
    box-shadow: var(--sh-md);
    transform: translateY(-4px);
}

.equipo-photo {
    position: relative;
    height: 260px;
    overflow: hidden;
}

.equipo-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s;
}

.equipo-card:hover .equipo-photo img {
    transform: scale(1.05);
}

.equipo-photo-ov {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to bottom,
            transparent 45%,
            rgba(10, 22, 14, .88) 100%
        );
}

.equipo-photo-info {
    position: absolute;
    bottom: 16px;
    left: 16px;
    right: 16px;
}

.equipo-photo-info strong {
    display: block;

    font-family: var(--font-texto);
    font-size: 15px;
    font-weight: 700;

    color: #fff;
    margin-bottom: 2px;
}

.equipo-photo-info span {
    font-size: 12px;
    color: rgba(255,255,255,.75);
    font-weight: 500;
}

.equipo-desc {
    padding: 16px 18px 20px;

    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.65;
}


/* =========================================================
   ORGANIGRAMA
   ========================================================= */

.org-sec {
    padding: 96px 24px;

    background: var(--bg);

    text-align: center;

    border-top: 1px solid var(--border);
}

.org-header {
    max-width: 640px;
    margin: 0 auto 56px;
}

.org-wrap {
    max-width: 100%;
    overflow-x: auto;
    padding-bottom: 12px;
}

.org-chart,
.org-chart ul {
    list-style: none;
    padding: 0;

    position: relative;

    display: table;

    margin: 0 auto;
}

.org-chart {
    padding: 0 24px;
}

.org-chart li {
    display: inline-table;
    vertical-align: top;

    text-align: center;

    padding: 20px 8px 0 8px;

    position: relative;
}

.org-chart li::before,
.org-chart li::after {
    content: '';

    position: absolute;
    top: 0;
    right: 50%;

    width: 50%;
    height: 20px;

    border-top: 2px solid var(--border);
}

.org-chart li::after {
    right: auto;
    left: 50%;

    border-left: 2px solid var(--border);
}

.org-chart li:only-child {
    padding-top: 0;
}

.org-chart li:only-child::before,
.org-chart li:only-child::after {
    display: none;
}

.org-chart li:first-child::before,
.org-chart li:last-child::after {
    border: 0 none;
}

.org-chart li:last-child::before {
    border-right: 2px solid var(--border);
}

.org-chart > li {
    padding-top: 0;
}

.org-chart > li::before,
.org-chart > li::after {
    display: none;
}

.org-chart ul::before {
    content: '';

    position: absolute;
    top: 0;
    left: 50%;

    border-left: 2px solid var(--border);

    width: 0;
    height: 20px;
}

.org-card {
    display: inline-flex;

    align-items: stretch;

    gap: 10px;

    position: relative;

    text-align: left;

    background: var(--bg);

    border: 1px solid var(--border);

    border-radius: var(--r-sm);

    padding: 10px 0 10px 14px;

    min-width: 168px;

    box-shadow: var(--sh-sm);

    transition:
        box-shadow .25s,
        transform .25s;

    overflow: hidden;
}

.org-card:hover {
    box-shadow: var(--sh-md);
    transform: translateY(-2px);
}

.org-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.org-card strong {
    font-family: var(--font-texto);

    font-size: 11.5px;
    font-weight: 700;

    color: var(--text);

    line-height: 1.25;
}

.org-info span {
    font-size: 10.5px;
    color: var(--text-muted);
    margin-top: 3px;
}

.org-photo {
    width: 50px;

    align-self: stretch;

    margin-left: auto;

    flex-shrink: 0;

    border-radius: 0;

    background: var(--bg-green);
    color: var(--primary);

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 18px;

    overflow: hidden;
}

.org-photo img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;
}

.org-card--top {
    background: var(--primary);
    border-color: var(--primary);
}

.org-card--top strong,
.org-card--top .org-info span {
    color: #fff;
}

.org-card--top .org-info span {
    color: rgba(255,255,255,.75);
}

.org-card--top .org-photo {
    width: 60px;

    background: rgba(255,255,255,.15);

    color: #fff;

    font-size: 22px;

    border-radius: 12%;
}

.org-photo img {
    width: 60px;
    border-radius: 12%;
}

.org-card--sm {
    min-width: 148px;

    padding: 8px 0 8px 12px;

    gap: 8px;
}

.org-card--sm strong {
    font-size: 10.5px;
}

.org-card--sm .org-info span {
    font-size: 10px;
}

.org-card--sm .org-photo {
    width: 38px;
    font-size: 13px;
}

.org-card--accent {
    border-color: var(--accent);

    box-shadow:
        0 0 0 3px var(--accent-light);
}


/* =========================================================
   CERTIFICACIONES — UNA SOLA LÍNEA
   ========================================================= */

.cert-sec {
    padding: 70px 24px 90px;
    background: var(--bg-soft);
    text-align: center;
    position: relative;
    z-index: 1;
}

.cert-header {
    max-width: 560px;
    margin: 0 auto 40px;
}

.cert-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;

    max-width: 1150px;
    margin: 0 auto;

    flex-wrap: nowrap;
}

.cert-card {
    flex: 1 1 0;

    min-width: 0;
    height: 140px;

    background: var(--bg);

    border: 1px solid var(--border);
    border-radius: var(--r-md);

    padding: 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    box-sizing: border-box;

    overflow: hidden;

    transition:
        box-shadow .25s,
        transform .25s,
        border-color .25s;
}

.cert-card:hover {
    box-shadow: var(--sh-sm);
    transform: translateY(-3px);
    border-color: var(--accent);
}

.cert-card img {
    display: block;

    width: 100%;
    max-width: 130px;

    height: 85px;

    object-fit: contain;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .cert-sec {
        padding: 60px 16px 80px;
    }

    .cert-grid {
        gap: 12px;
        overflow-x: auto;
        justify-content: flex-start;

        padding: 5px 5px 15px;

        scrollbar-width: thin;
    }

    .cert-card {
        flex: 0 0 150px;
        height: 130px;
    }

    .cert-card img {
        max-width: 110px;
        height: 75px;
    }
}


/* =========================================================
   CELULAR
   ========================================================= */

@media (max-width: 520px) {

    .cert-grid {
        justify-content: flex-start;
        gap: 12px;

        overflow-x: auto;

        padding-bottom: 15px;
    }

    .cert-card {
        flex: 0 0 140px;
        height: 120px;
    }

    .cert-card img {
        max-width: 105px;
        height: 70px;
    }
}
/* =========================================================
   IMPACTO SOCIAL
   ========================================================= */

.impacto-sec {
    padding: 96px 24px;

    background: var(--primary);

    text-align: center;
}

.impacto-header {
    max-width: 600px;

    margin: 0 auto 56px;
}

.impacto-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 24px;

    max-width: 1000px;

    margin: 0 auto;
}

.impacto-card {
    background: rgba(255,255,255,.07);

    border: 1px solid rgba(255,255,255,.15);

    border-radius: var(--r-md);

    padding: 32px 20px;

    transition:
        background .3s,
        transform .3s;
}

.impacto-card:hover {
    background: rgba(255,255,255,.12);

    transform: translateY(-4px);
}

.impacto-icon {
    font-size: 32px;

    margin-bottom: 16px;
}

.impacto-num {
    font-family: var(--font-titulo);

    font-size: 38px;
    font-weight: 800;

    color: var(--accent);

    display: block;

    margin-bottom: 6px;
}

.impacto-card p {
    font-size: 13px;

    color: rgba(255,255,255,.7);

    line-height: 1.5;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1024px) {

    .historia-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .historia-img img {
        height: 360px;
    }

    .equipo-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cert-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 700px;
    }

    .impacto-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hist-since-badge {
        right: 10px;
    }

    .tl-sec {
        padding: 80px 20px;
    }

    .tl-header {
        margin-bottom: 40px;
    }

    .tl-image {
        width: 100vw;
        max-width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
    }

    .tl-image img {
        max-width: 100%;
    }
}


@media (max-width: 900px) {

    .tl-grid {
        display: flex;
        flex-direction: column;
        align-items: center;

        max-width: 420px;
    }

    .tl-line {
        display: none;
    }

    .tl-item {
        display: flex;
        flex-direction: column;
        align-items: center;

        margin-bottom: 36px;
    }

    .tl-item:last-child {
        margin-bottom: 0;
    }

    .tl-year {
        order: -1;

        margin-bottom: 16px;
    }

    .tl-cell--top,
    .tl-cell--bottom {
        padding: 0;
    }

    .mvv-grid {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 768px) {

    .tl-sec {
        padding: 70px 16px;
    }

    .tl-header {
        margin-bottom: 35px;
    }

    .mvv-grid {
        grid-template-columns: 1fr;
    }

    .mvv-card {
        padding: 32px 28px;
    }

    .mvv-cta-bar {
        flex-direction: column;

        text-align: center;

        padding: 28px 24px;
    }

    .equipo-grid {
        grid-template-columns: 1fr 1fr;
    }

    .org-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .cert-sec {
        padding: 70px 20px 90px;
    }

    .cert-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .cert-card {
        min-height: 145px;
    }

    .cert-card img {
        height: 85px;
    }
}


@media (max-width: 520px) {

    .equipo-grid,
    .cert-grid,
    .impacto-grid {
        grid-template-columns: 1fr;
    }

    .hist-since-badge {
        top: 10px;
        right: 10px;

        width: 80px;
        height: 80px;
    }

    .cert-sec {
        padding: 60px 18px 80px;
    }

    .cert-header {
        margin-bottom: 35px;
    }

    .cert-grid {
        grid-template-columns: 1fr;

        gap: 18px;
    }

    .cert-card {
        min-height: 140px;

        padding: 20px;
    }

    .cert-card img {
        height: 80px;
    }
}


/* =========================================================
   MENÚ MÓVIL
   ========================================================= */

.nav-toggle {
    display: none;
}

.nav-overlay {
    display: none;

    position: fixed;

    inset: 0;

    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.45);

    z-index: 9998;

    cursor: pointer;
}

.nav-overlay.active {
    display: block;
}


/* =========================================================
   TABLET / CELULAR
   ========================================================= */

@media (max-width: 768px) {

    .v3-nav {
        position: fixed !important;

        top: 0;
        left: 0;

        width: 100%;

        z-index: 10001 !important;
    }


    /* BOTÓN HAMBURGUESA */

    .nav-toggle {
        display: flex !important;

        position: relative;

        width: 45px;
        height: 45px;

        margin: 0;
        padding: 8px;

        border: none;
        outline: none;

        background: transparent;

        cursor: pointer;

        flex-direction: column;

        justify-content: center;
        align-items: center;

        gap: 5px;

        z-index: 10002;

        -webkit-tap-highlight-color: transparent;
    }

    .nav-toggle span {
        display: block;

        width: 27px;
        height: 3px;

        background: #ffffff;

        border-radius: 5px;

        transition: all 0.3s ease;

        pointer-events: none;
    }

    .v3-nav.scrolled .nav-toggle span {
        background: #1A3C28;
    }


    /* SIDEBAR */

    .nav-links {
        position: fixed !important;

        top: 0;

        right: -300px;

        width: 280px;

        height: 100vh;
        height: 100dvh;

        margin: 0;

        padding: 120px 25px 30px;

        box-sizing: border-box;

        background: #ffffff;

        display: flex !important;

        flex-direction: column;

        align-items: stretch;

        box-shadow:
            -8px 0 25px rgba(0, 0, 0, 0.18);

        z-index: 10000 !important;

        transition: right 0.35s ease;

        overflow-y: auto;

        overflow-x: hidden;
    }

    .nav-links.active {
        right: 0 !important;
    }


    /* ENLACES */

    .nav-links a {
        display: flex !important;

        align-items: center;

        width: 100%;

        min-height: 70px;

        margin: 0;

        padding: 15px 18px;

        box-sizing: border-box;

        color: #1A3C28 !important;

        font-size: 17px;

        font-family: 'Inter', sans-serif;

        text-decoration: none;

        cursor: pointer;

        border-bottom: 1px solid #eeeeee;

        transition: all 0.25s ease;
    }

    .nav-links a:hover {
        background: #f3f7f3;

        padding-left: 25px;
    }

    .nav-links a.active {
        color: #297A10 !important;

        font-weight: 700;
    }


    /* BOTÓN CONTACTO */

    .nav-links .nav-cta-btn {
        margin-top: 20px;

        min-height: 65px;

        justify-content: center;

        text-align: center;

        background: #0F291D;

        color: #ffffff !important;

        border: none;

        border-radius: 35px;

        padding: 15px;
    }

    .nav-links .nav-cta-btn:hover {
        background: #16452e;

        padding-left: 15px;
    }


    /* HAMBURGUESA → X */

    .nav-toggle.active span:nth-child(1) {
        transform:
            rotate(45deg)
            translate(6px, 6px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;

        transform: scale(0);
    }

    .nav-toggle.active span:nth-child(3) {
        transform:
            rotate(-45deg)
            translate(5px, -5px);
    }


    /* BLOQUEAR SCROLL */

    body.menu-abierto {
        overflow: hidden;
    }
}


/* =========================================================
   CELULAR PEQUEÑO
   ========================================================= */

@media (max-width: 480px) {

    .nav-links {
        width: 280px;

        right: -300px;

        padding-left: 20px;
        padding-right: 20px;
    }

    .nav-links a {
        font-size: 16px;

        min-height: 65px;
    }
}
/* ===========================================================
   MVV — EFECTO "GRANO"
   Reemplaza en v3/sobrenosotros.css el bloque que va desde
   "TARJETA TOTALMENTE BLANCA" (aprox. línea 190) hasta
   "TODAS LAS TARJETAS BLANCAS" (aprox. línea 340).
   El resto del archivo no se toca.
   =========================================================== */


/* ---------- LA TARJETA ---------- */

.mvv-card {
    position: relative;
    overflow: hidden;

    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 32px;

    /* el padding ahora vive en .mvv-contenido */
    padding: 0;

    transition:
        transform .35s ease,
        box-shadow .35s ease;
}

.mvv-card:hover,
.mvv-card:focus-within {
    transform: translateY(-7px) scale(1.015);
    box-shadow: 0 24px 50px rgba(0, 0, 0, .16);
}


/* ---------- LA FOTO (entra con zoom lento) ---------- */

.mvv-foto {
    position: absolute;
    inset: 0;
    z-index: 0;

    width: 100%;
    height: 100%;
    object-fit: cover;

    opacity: 1;
    transform: scale(1);

    transition:
        opacity   .40s ease,
        transform .80s cubic-bezier(.2, .7, .3, 1);
}

.mvv-card:hover .mvv-foto,
.mvv-card:focus-within .mvv-foto {
    opacity: 0;
    transform: scale(1.16);
}


/* ---------- VELO EN DIAGONAL ----------
   más oscuro del lado del texto, para que el
   párrafo se lea sobre la foto en reposo */

.mvv-velo {
    position: absolute;
    inset: 0;
    z-index: 1;

    opacity: 1;
    transition: opacity .40s ease;

    background: linear-gradient(
        10deg,
        rgba(12, 42, 24, .88) ,
        rgba(12, 42, 24, .01)
    );
}

.mvv-card:hover .mvv-velo,
.mvv-card:focus-within .mvv-velo {
    opacity: 0;
}


/* ---------- CONTENIDO ---------- */

.mvv-contenido {
    position: relative;
    z-index: 3;

    padding: 48px 44px;
    min-height: 360px;

    display: flex;
    flex-direction: column;
}


/* ---------- SELLO NUMERADO ---------- */

.mvv-sello {
    position: absolute;
    top: 26px;
    right: 26px;
    z-index: 4;

    width: 38px;
    height: 38px;
    border-radius: 50%;

    border: 2px solid #EFE9DC;

    display: grid;
    place-items: center;

    font-family: var(--font-titulo);
    font-size: 12px;
    font-weight: 700;
    color: #EFE9DC;

    transition:
        border-color .35s ease,
        color        .35s ease,
        transform    .45s ease;
}

.mvv-card:hover .mvv-sello,
.mvv-card:focus-within .mvv-sello {
    border-color: var(--border);
    color: #2e7d32;
    transform: rotate(-12deg);
}


/* ---------- TÍTULO ---------- */

.mvv-card h3 {
    position: relative;
    z-index: 3;

    font-family: var(--font-titulo);
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;

    margin: 0 0 14px;

    transition:
        color     .35s ease,
        transform .35s ease;
}

.mvv-card:hover h3,
.mvv-card:focus-within h3 {
    color: #000000;
    transform: translateX(3px);
}


/* ---------- PÁRRAFO ---------- */

.mvv-card p {
    position: relative;
    z-index: 3;

    font-size: 15px;
    line-height: 1.8;
    color: #EFE9DC;
    text-align: justify;

    margin: 0;

    transition: color .35s ease;
}

.mvv-card:hover p,
.mvv-card:focus-within p {
    color: #000000;
}


/* ---------- TODAS BLANCAS EN REPOSO ---------- */

.mvv-card:nth-child(1),
.mvv-card:nth-child(2),
.mvv-card:nth-child(3) {
    background: #ffffff;
}


/* ===========================================================
   AÑADIR AL FINAL DEL ARCHIVO
   (o junto a los otros @media del MVV)
   =========================================================== */


/* --- CELULAR: no existe el hover, la foto se muestra fija (estado por defecto) --- */

@media (hover: none) {

    .mvv-foto  { opacity: 1; transform: scale(1); }
    .mvv-velo  { opacity: 1; }

    .mvv-card h3 { color: #ffffff; }
    .mvv-card p  { color: #EFE9DC; }

    .mvv-sello {
        border-color: #EFE9DC;
        color: #EFE9DC;
    }
}



/* --- ACCESIBILIDAD --- */

@media (prefers-reduced-motion: reduce) {

    .mvv-card,
    .mvv-foto,
    .mvv-velo,
    .mvv-sello,
    .mvv-card h3,
    .mvv-card p {
        transition: none;
    }

    .mvv-card:hover {
        transform: none;
    }
}