@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --blanco: #fcfcfc;
    --negro: rgb(63, 63, 62);
    --gris: #757575;
    --grisOscuro: rgb(63, 63, 62);
    --rojo: rgb(199, 19, 49);
    --rojoIconos: rgb(194, 19, 48);
    --rojoIconosClaro: rgb(219, 5, 40);
}

body {
    font-family: 'Montserrat';
    /* max-width: 140rem; */
}


/* IMAGEN PRINCIPAL */

.imagenPrincipal {
    padding: 0 2rem;
    height: 43rem;
    overflow: hidden;
}

.imagenPrincipal img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 20% 73%;
    display: block;
}

/* ANIMACIÓN PARA IMAGENES */

/* Estado base - necesario para la transición */
.kenburns-top-left {
    transform-origin: 16% 16%;
    transform: scale(1) translate(0, 0);
    will-change: transform;
}

/* Estado activo - aplica la animación */
.kenburns-top-left-active {
    animation: kenburns-top-left 5s ease-out forwards;
}

@keyframes kenburns-top-left {
    0% {
        transform: scale(1) translate(0, 0);
        transform-origin: 16% 16%;
    }

    100% {
        transform: scale(1.2) translate(-20px, -15px);
        transform-origin: top left;
    }
}

@media (min-width: 961px) {
    .imagenPrincipal img {
        border-radius: 4rem 4rem 0 0;
    }
}

@media (min-width: 961px) {
    .imagenPrincipal img {
        border-radius: 4rem 4rem 0 0;
        opacity: 0; /* oculta hasta que cargue */
        transition: opacity 5s ease;
    }

    .imagenPrincipal img.cargada {
        opacity: 1;
    }
}

/* PRESENTACION Y CONTACTO */

/* IMAGEN */

.presentacionYContacto {
    display: grid;
    width: 100%;
    padding: 0 2rem;
    margin-top: 3rem;
}

@media (max-width: 980px) {
    .presentacionYContacto__imagen {
        display: none;
    }
}

@media (min-width: 981px) {
    .presentacionYContacto {
        grid-template-columns: repeat(2, 50%);
    }

    .presentacionYContacto__imagen {
        padding: 0 1rem;
        /* height: 62.5rem; */
        overflow: hidden;
        display: block;
    }

    .presentacionYContacto__imagen img {
        width: 100%;
        height: 100%;
        border-radius: .5rem;
        object-fit: cover;
        object-position: 60% 73%;
    }
}

@media (min-width: 1181px) {
    .presentacionYContacto__imagen {
        height: 62.5rem;
    }
}

/* CONTACTO */

@media (min-width: 961px) {
    .contactoTAR {
        margin-left: 5rem;
    }
}

@media (min-width: 511px) {
    .contactoTAR__numeroYCorreo {
        display: grid;
        grid-template-columns: repeat(2, 50%);
    }

    .contactoTAR__footer {
        display: grid;
        grid-template-columns: repeat(2, 50%);
    }

    .contactoTAR__logoPlantaTratamiento {
        justify-content: end;
        display: block;
    }
}

@media (max-width: 510px) {

    .contactoTAR__titulo,
    .contactoTAR__nombre {
        text-align: center;
    }

    .contactoTAR__numeroYCorreo {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: left;
        margin: 2rem 0;
    }

    .contactoTAR__footer {
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin: 2rem 0;
    }

    .contactoTAR__logoPlantaTratamiento {
        margin: 3rem 0;
        justify-content: center;
        margin-right: 1rem;
        margin-left: 5rem;
    }

    .contactoTAR__ubicacionYHorarios div {
        justify-self: left;
    }
}


.contactoTAR svg:not(.contactoTAR__logoPlantaTratamiento svg) {
    height: 2rem !important;
}

.contactoTAR__titulo {
    font-size: 4rem;
    font-weight: 700;
    color: var(--grisOscuro);
    line-height: 4.5rem;
    margin-bottom: 1rem;
}

.contactoTAR__nombre {
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--grisOscuro);
    margin: 1rem 0 .5rem 0;
}

.contactoTAR__separador {
    border-bottom: .2rem var(--rojoIconos) solid;
}

/* .contactoTAR__numeroYCorreo {
    display: grid;
} */

.contactoTAR__telefono,
.contactoTAR__correo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0;
    margin-left: 3rem;
    color: var(--grisOscuro);
}

.contactoTAR__correo {
    justify-content: left;
}


.contactoTAR__presentacion {
    color: var(--grisOscuro);
    font-size: 1.2em;
    text-align: justify;
    margin: 4rem 3rem;
}

/* .contactoTAR__footer {
    display: grid;
    grid-template-columns: repeat(2, 50%);
} */

.contactoTAR__ubicacionYHorarios div {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0;
    margin-left: 3rem;
    color: var(--grisOscuro);
}

.contactoTAR__logoPlantaTratamiento {
    display: flex;
    align-items: end;
    /* justify-content: end; */
    /* margin-right: 1rem; */
    margin-bottom: 2rem;
}

.contactoTAR__logoPlantaTratamiento svg {
    max-height: 6rem;
}

/* PTAR */

@media (min-width: 1140px) {
    .PTARcelular {
        display: none;
    }

    .PTAR {
        display: block;
    }
}

@media (max-width: 1139px) {
    .PTARcelular {
        display: block;
    }

    .PTAR {
        display: none;
    }
}

.PTAR__titulo {
    min-height: 15rem;
    margin-top: 6rem;
    margin-bottom: 6rem;
    background-image: url(../IMAGES/SolicitudAD/plantas.png);
    position: relative;
}

.PTAR__titulo p {
    font-weight: 700;
    font-size: 2em;
    color: var(--grisOscuro);
    position: absolute;
    top: 5rem;
    left: 8rem;
    background-color: white;
    border-radius: 4rem;
    padding: 0 1rem;
}

@media (min-width: 535px) {
    .PTARcelular__titulo {
        margin-bottom: 6rem;
    }
}


@media (max-width: 534px) {
    .PTARcelular__titulo {
        margin-bottom: 12rem;
        text-align: center;
    }
}

.PTARcelular__titulo {
    min-height: 8rem;
    margin-top: -5rem;
    position: relative;
}


.PTARcelular__titulo p {
    font-weight: 700;
    font-size: 2em;
    color: var(--grisOscuro);
    position: absolute;
    top: 5rem;
    background-color: white;
    border-radius: 4rem;
    padding: 0 1rem;
}

@media (min-width: 920px) {
    .PTARcelular__titulo p {
        left: 4rem;
    }
}

/* @media (max-width: 920px) {
    .PTARcelular__titulo p {}
} */


/* TARJETAS */

.PTAR__tarjetas {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 50%);
    margin: 0 4rem;
    column-gap: 1rem;
    row-gap: 2rem;
}

.tarjetas__izquierda,
.tarjetas__derecha {
    display: grid;
    grid-template-columns: repeat(2, 50%);
    height: 38rem;
    overflow: hidden;
    position: relative;
}

.informacion__izquierda {
    /* border: .1rem  solid red; */
    position: absolute;
    width: 45%;
    min-height: 50%;
    background-color: white !important;
    padding: 1.5rem;
    border-radius: 2rem;
    top: 22%;
    left: 35%;
}

.informacion__derecha {
    /* border: .1rem  solid red; */
    position: absolute;
    width: 45%;
    min-height: 50%;
    background-color: white !important;
    padding: 1.5rem;
    border-radius: 2rem;
    top: 22%;
    left: 25%;
}

.informacion__titulo {
    font-size: 1.5em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--grisOscuro);
    text-transform: uppercase;

}

.informacion__texto {
    color: var(--gris);
    font-size: 1em;
    margin-top: 1rem;
}

.tarjetas__izquierda img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1rem;
}

.tarjetas__2 img {
    object-position: 40% 0;
}

.tarjetas__derecha img {
    grid-column: 2/3;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1rem;
}

.tarjetas__3 img {
    object-position: 38% 10%;
}

.tarjetas__4 img {
    object-position: 18% 10%;
}


/*       TARJETAS__CELULAR      */

.PTARcelular__tarjetas {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    /* border: red solid .1rem; */
    margin: auto;
}

@media (min-width: 1090px) {
    .PTARcelular__tarjeta {
        height: 60rem;
    }
}

@media (min-width: 980px) and (max-width:1089px) {
    .PTARcelular__tarjeta {
        height: 59rem;
    }
}

@media (min-width: 940px) and (max-width:979px) {
    .PTARcelular__tarjeta {
        height: 55rem;
    }
}

@media (min-width: 850px) and (max-width:939px) {
    .PTARcelular__tarjeta {
        height: 50rem;
    }
}

@media (min-width: 809px) and (max-width:849px) {
    .PTARcelular__tarjeta {
        height: 40rem;
    }
}

@media (min-width: 650px) and (max-width:808px) {
    .PTARcelular__tarjeta {
        height: 38rem;
    }
}

@media (min-width: 600px) and (max-width: 649px) {
    .PTARcelular__tarjeta {
        height: 35rem;
    }
}

@media (min-width: 430px) and (max-width: 599px) {
    .PTARcelular__tarjeta {
        height: 30rem;
    }
}


@media (min-width: 320px) and (max-width: 429px) {
    .PTARcelular__tarjeta {
        height: 34rem;
    }
}

@media (min-width: 360px) {
    .PTARcelular__tarjeta {
        grid-template-columns: 60% 40%;
    }
}

.PTARcelular__tarjeta {
    display: grid;
    grid-template-rows: 1fr;
    width: 100%;
    overflow: hidden;
    position: relative;
    margin: auto;
}

.PTARcelular__tarjeta img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1rem;
}

@media (min-width: 650px) {
    .informacionCelular {
        width: 65%;
        min-height: 50%;
        top: 22%;
        left: 35%;
    }
}

@media (min-width: 550px) and (max-width: 649px) {
    .informacionCelular {
        width: 65%;
        min-height: 30%;
        top: 17%;
        left: 35%;
    }
}

@media (min-width: 500px) and (max-width: 549px) {
    .informacionCelular {
        width: 65%;
        min-height: 30%;
        top: 7%;
        left: 35%;
    }
}

@media (min-width: 400px) and (max-width: 499px) {
    .informacionCelular {
        width: 70%;
        min-height: 30%;
        top: 10%;
        left: 30%;
    }
}

@media (min-width: 360px) and (max-width: 399px) {
    .informacionCelular {
        width: 70%;
        min-height: 30%;
        top: 6%;
        left: 30%;
    }
}

@media (max-width: 359px) {
    .informacionCelular {
        width: 86%;
        min-height: 30%;
        top: 7%;
        left: 7%;
    }
}

.informacionCelular {
    position: absolute;
    background-color: white !important;
    border-radius: 2rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.informacionCelular__titulo {
    text-transform: uppercase;
    font-weight: 700;
    color: var(--grisOscuro);
}


@media (min-width: 320px) and (max-width: 428px) {
    .informacionCelular__titulo {
        font-size: 1.1em;
    }
}

@media (max-width: 429px) {
    .informacionCelular__titulo {
        font-size: 1.2em;
    }
}

@media (min-width: 500px) {
    .informacionCelular__titulo {
        font-size: 1.5em;
    }
}

/* ANIMACIÓN TEXTO */

/* Estado INICIAL (requerido para la animación) */
.focus-in-contract-bck {
    opacity: 1;
    display: inline-block;
    /* Necesario para letter-spacing en elementos inline */
}

/* Estado ACTIVO (aquí va la animación) */
.focus-in-contract-bck-active {
    -webkit-animation: focus-in-contract-bck 1.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
    animation: focus-in-contract-bck 1.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

/* Keyframes (igual que los tuyos) */
@-webkit-keyframes focus-in-contract-bck {
    0% {
        letter-spacing: 2em;
        -webkit-transform: translateX(100px);
        transform: translateX(100px);
        -webkit-filter: blur(0px);
        filter: blur(0px);
        opacity: 0;
    }

    100% {
        -webkit-transform: translateZ(12px);
        transform: translateZ(12px);
        -webkit-filter: blur(0);
        filter: blur(0);
        opacity: 1;
    }
}

@keyframes focus-in-contract-bck {
    0% {
        letter-spacing: 2em;
        -webkit-transform: translateX(100px);
        transform: translateX(100px);
        -webkit-filter: blur(0px);
        filter: blur(0px);
        opacity: 0;
    }

    100% {
        -webkit-transform: translateZ(12px);
        transform: translateZ(12px);
        -webkit-filter: blur(0);
        filter: blur(0);
        opacity: 1;
    }
}


/* ANIMACIÓN TEXTO DESDE ENMEDIO */

.focus-in-expand-fwd {
    opacity: 1;
    display: inline-block;
    will-change: transform, filter, opacity;
}

.focus-in-expand-fwd-active {
    -webkit-animation: focus-in-expand-fwd 1.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) forwards;
    animation: focus-in-expand-fwd 1.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) forwards;
}

@-webkit-keyframes focus-in-expand-fwd {
    0% {
        letter-spacing: -0.5em;
        -webkit-transform: translateZ(-800px);
        transform: translateZ(-800px);
        opacity: 0;
    }

    100% {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        opacity: 1;
    }
}

@keyframes focus-in-expand-fwd {
    0% {
        letter-spacing: -0.5em;
        transform: translateZ(-800px);
        opacity: 0;
    }

    100% {
        transform: translateZ(0);
        opacity: 1;
    }
}


/* Estado INICIAL - obligatorio */
.focus-in-contract {
    opacity: 1;
    display: inline-block;
    /* Necesario para letter-spacing */
    will-change: opacity, letter-spacing;
    /* Optimización */
}

/* Estado ACTIVO - contiene la animación */
.focus-in-contract-active {
    letter-spacing: 1em;
    animation: focus-in-contract 1.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) forwards;
}

/* Keyframes (mejorados) */
@keyframes focus-in-contract {
    to {
        letter-spacing: normal;
        opacity: 1;
    }
}



.informacionCelular__texto {
    color: var(--gris);
    margin-top: 1rem;
}

.PTARcelular__boton {
    display: flex;
    align-items: center;
    align-self: center;
    justify-content: center;

}

.PTARcelular__prevBtn,
.PTARcelular__nextBtn {
    display: flex;
    justify-self: center;
    align-self: center;
}

@media (min-width: 809px) {
    .PTARcelular__boton svg {
        min-width: 7rem;
    }

    .informacionCelular__texto {
        font-size: 1.3em;
    }
}

@media (min-width: 750px) and (max-width:808px) {
    .PTARcelular__boton svg {
        min-width: 6rem;
    }

    .informacionCelular__texto {
        font-size: 1.1em;
    }
}

@media (min-width: 320px) and (max-width:749px) {
    .informacionCelular__texto {
        font-size: 1em;
    }
}

@media (min-width: 430px) and (max-width:749px) {
    .PTARcelular__boton svg {
        min-width: 5rem;
    }
}

@media (min-width: 320px) and (max-width: 429px) {
    .PTARcelular__boton svg {
        min-width: 4rem;
    }
}

@media (min-width: 600px) {
    .PTARcelular__prevBtn {
        padding: 10rem 2rem;
    }

    .PTARcelular__nextBtn {
        padding: 8rem 2rem;
    }
}

@media (min-width: 499px) and (max-width: 599px) {
    .PTARcelular__prevBtn {
        padding: 10rem .5rem;
    }

    .PTARcelular__nextBtn {
        padding: 8rem .5rem;
    }
}

@media (min-width: 320px) and (max-width: 429px) {

    .PTARcelular__prevBtn,
    .PTARcelular__nextBtn {
        padding: 10rem .5rem;
    }
}

.PTARcelular__boton:hover {
    cursor: pointer;
}

.PTARcelular__boton:hover .PTARcelular__svg {
    fill: var(--rojoIconosClaro);
}

.PTARcelular__boton svg {
    fill: var(--rojoIconos);
}

/* .tarjetasCelular__1 img {} */

.tarjetasCelular__2 img {
    object-position: 40% 0;
}

.tarjetasCelular__3 img {
    object-position: 38% 10%;
}

.tarjetasCelular__4 img {
    object-position: 18% 10%;
}

/* ═══════════════════════════════════════════════════════
   PTAR — Barra de navegación inferior (flechas + dots)
   Pegar al final del CSS principal.
═══════════════════════════════════════════════════════ */
 
/* Ocultar los botones en su posición original dentro del flex
   (el JS los mueve al navBar, pero por si acaso) */
.PTARcelular__tarjetas .PTARcelular__prevBtn,
.PTARcelular__tarjetas .PTARcelular__nextBtn {
    display: none !important;
}
 
/* ── Barra inferior ── */
.ptar-nav-bar {
    display:         flex;
    align-items:     center;
    justify-content: center;
    gap:             1.2rem;
    margin-top:      1.5rem;
    margin-bottom:   1rem;
    padding:         0 1rem;
}
 
/* ── Dots ── */
.ptar-dots {
    display:     flex;
    gap:         0.6rem;
    align-items: center;
}
 
.ptar-dot {
    width:         0.75rem;
    height:        0.75rem;
    border-radius: 50%;
    background:    #d6d0d0;
    border:        0.12rem solid transparent;
    cursor:        pointer;
    transition:    background 0.2s ease, transform 0.2s ease;
    flex-shrink:   0;
}
 
.ptar-dot.activo {
    background:  var(--rojo, rgb(199, 19, 49));
    transform:   scale(1.2);
    border-color: var(--rojo, rgb(199, 19, 49));
}
 
.ptar-dot:hover:not(.activo) {
    background: #bbb;
}
 
/* ── Botones en el navBar — heredan .btn-nav-ptar ── */
.ptar-nav-bar .btn-nav-ptar {
    /* Asegurar que no lleven padding heredado */
    padding: 0 !important;
    /* Tamaño estándar del proyecto */
    width:   2.8rem !important;
    height:  2.8rem !important;
}

.PTARcelular__tarjetas {
    padding: 0 1.5rem;
    box-sizing: border-box;
}


/* ═══════════════════════════════════════════════
   PARCHE PTAR — flechas unificadas
   Pegar al final del CSS principal, después de
   los estilos de .PTARcelular existentes.
   Sobreescribe los estilos de botón anteriores.
═══════════════════════════════════════════════ */
 
/* Anular todos los min-width por breakpoint del svg antiguo */
.PTARcelular__boton svg,
.btn-nav-ptar svg {
    min-width: unset !important;
    width:     1.2rem !important;
    height:    1.2rem !important;
    stroke:    currentColor;
    fill:      none;
    display:   block;
    flex-shrink: 0;
}
 
/* Anular paddings laterales heredados que separaban el svg grande */
.PTARcelular__prevBtn,
.PTARcelular__nextBtn {
    padding: 0 !important;
}
 
/* Estilo del botón — igual que .proyectos__nav-btn */
.btn-nav-ptar {
    width:         2.8rem;
    height:        2.8rem;
    border-radius: 50%;
    border:        0.15rem solid var(--rojo);
    background:    white;
    color:         var(--rojo);
    cursor:        pointer;
    display:       flex;
    align-items:   center;
    justify-content: center;
    transition:    background var(--transicion), color var(--transicion);
    flex-shrink:   0;
    /* Eliminar fill heredado del svg antiguo */
    fill:          none;
}
 
.btn-nav-ptar:hover {
    background: var(--rojo);
    color:      white;
}

/* ===== SECCIÓN REQUISITOS ===== */

.requisitos {
    padding: 20px 6%;
}

.requisitos h2 {
    font-size: 36px;
    color: #333;
    margin-bottom: 40px;
}

.requisitos-contenedor {
    display: flex;
    justify-content: space-between; 
    gap: 30px;
}


.requisito-item {
    display: flex;
    align-items: flex-start; 
    flex: 1;
    gap:15px;
}


.numero {
    background-color: #d9d9d9; 
    color: var(--blanco);
    min-width: 50px;
    height: 50px;
    border-radius: 50%; 
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 20px;
    margin-right: 15px; 
    flex-shrink: 0; 
    background-color: var(--rojo);
}

.requisito p {
    margin: 0;
    font-size: 16px;
    line-height: 1.4;
    color: #444;
}

@media (max-width: 800px) {
    .requisitos {
        padding: 20px 5%;
    }
 
    .requisitos h2 {
        font-size: 28px;
        margin-bottom: 28px;
    }
 
    .requisitos-contenedor {
        flex-direction: column;
        gap: 20px;
    }
 
    .requisito-item {
        align-items: flex-start;
    }
}
 
@media (max-width: 480px) {
    .requisitos h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }
 
    .requisitos-contenedor {
        gap: 16px;
    }
 
    .numero {
        min-width: 42px;
        height: 42px;
        font-size: 18px;
    }
 
    .requisito p {
        font-size: 15px;
    }
}

/* ===== SECCIÓN CARRUSEL ===== */
.seccion-carrusel {                /* ← nombre único, no .servicio-social */
    padding: 50px 0;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #ffffff;
}

.carrusel-header {
    display: flex;
    align-items: baseline;
    gap: 20px;
    margin-bottom: 40px;
    padding: 0;
}

.carrusel-header h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--grisOscuro);
    line-height: 1.1;
}

.carrusel-tag {
    color: #7b68ee;
    font-weight: 500;
    font-size: 15px;
    white-space: nowrap;
}

.carrusel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0;
}

.btn-flecha {
    background-color: #a51d2d;
    color: white;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    flex-shrink: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transition: background 0.2s;
}

.btn-flecha:hover { background-color: #8a1724; }


.carrusel-track {
    display: flex;
    gap: 40px;
    overflow: hidden;
    scroll-behavior: smooth;
    padding: 10px 20px;
    flex: 1;
}

.tarjeta-actividad {
    flex: 0 0 calc(50% - 20px);
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.tarjeta-actividad .foto-circulo {  /* ← clase específica, no .foto-placeholder */
    width: 200px;
    height: 200px;
    background-color: #d4d4d4;
    border-radius: 50%;
    margin: 0 auto 28px auto;
    align-self: center;
}

.contenido-tarjeta {
    width: 100%;
}

.tarjeta-actividad h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--grisOscuro);
    margin-bottom: 10px;
    line-height: 1.3;
}

.divisor-rojo {
    height: 3px;
    background-color: #a51d2d;
    width: 100%;
    margin-bottom: 18px;
}

.tarjeta-actividad p {
    font-size: 15px;
    line-height: 1.65;
    color: #333;
    text-align: justify;
    margin-bottom: 14px;
}

.tarjeta-actividad p:last-child { margin-bottom: 0; }

@media (max-width: 800px) {
    .seccion-carrusel { padding: 30px 20px; }
    .tarjeta-actividad { flex: 0 0 100%; }
    .carrusel-header { flex-direction: column; gap: 6px; }
}

/* ── Ocultar / mostrar según breakpoint ── */
@media (min-width: 801px) {
    /* En escritorio: muestra el carrusel original, oculta el móvil */
    .carrusel-wrapper { display: flex; }
    .carrusel-movil   { display: none; }
}
 
@media (max-width: 800px) {
    /* En tablet/móvil: oculta el carrusel de escritorio, muestra el responsivo */
    .carrusel-wrapper { display: none; }
    .carrusel-movil   { display: block; }
}
 
 
/* ── Contenedor del carrusel móvil ── */
.carrusel-movil {
    width: 100%;
    padding: 0 4px;
    box-sizing: border-box;
}
 
 
/* ── Track: apila las tarjetas, solo la activa es visible ── */
.carrusel-movil__track {
    position: relative;
    min-height: 200px;          /* evita salto de layout mientras JS carga */
}
 
 
/* ── Tarjeta en modo móvil ── */
.tarjeta-actividad--movil {
    display: none;              /* ocultas por defecto */
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    box-sizing: border-box;
    animation: fadeInTarjeta 0.35s ease;
}
 
/* Única tarjeta visible */
.tarjeta-actividad--movil.activa {
    display: flex;
}
 
@keyframes fadeInTarjeta {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0);   }
}
 
/* Círculo de foto — centrado y con tamaño adaptado */
.tarjeta-actividad--movil .foto-circulo {
    width: 160px;
    height: 160px;
    margin: 0 auto 24px auto;
    align-self: center;
}
 
/* Textos dentro de la tarjeta móvil */
.tarjeta-actividad--movil h3 {
    font-size: 18px;
    text-align: center;
}
 
.tarjeta-actividad--movil p {
    font-size: 14px;
}
 
/* Ajuste fino para pantallas muy pequeñas */
@media (max-width: 400px) {
    .tarjeta-actividad--movil .foto-circulo {
        width: 130px;
        height: 130px;
    }
 
    .tarjeta-actividad--movil h3 {
        font-size: 16px;
    }
 
    .tarjeta-actividad--movil p {
        font-size: 13px;
    }
}
 
 
/* ── Barra de navegación ── */
.carrusel-movil__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 28px;
}
 
 
/* ── Dots indicadores ── */
.carrusel-movil__dots {
    display: flex;
    align-items: center;
    gap: 8px;
}
 
.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #d4d4d4;
    transition: background-color 0.25s ease, transform 0.25s ease;
    flex-shrink: 0;
}
 
.dot.activo {
    background-color: #a51d2d;
    transform: scale(1.3);
}
 
 
/* ── Ajuste del header en responsivo ── */
@media (max-width: 800px) {
    .seccion-carrusel {
        padding: 30px 20px;
    }
 
    .carrusel-header {
        flex-direction: column;
        gap: 6px;
        margin-bottom: 28px;
    }
 
    .carrusel-header h2 {
        font-size: 28px;
    }
}
 
@media (max-width: 480px) {
    .carrusel-header h2 {
        font-size: 24px;
    }
}

/* ═══════════════════════════════════════════════════════
   PARCHE — Efecto tarjeta en Actividades del Servicio Social
   + padding en móvil/tablet para que el texto no toque el borde
   Pegar al FINAL del CSS principal.
═══════════════════════════════════════════════════════ */
 
/* ── Tarjeta escritorio: borde, sombra, radio y padding ── */
.tarjeta-actividad {
    background:    #fff;
    border:        0.5px solid #e0e0e0;
    border-radius: 1rem;
    box-shadow:    0 0.2rem 1rem rgba(0, 0, 0, 0.07);
    padding:       1.8rem 1.8rem 2rem;
    transition:    box-shadow 0.2s ease, transform 0.2s ease;
}
 
.tarjeta-actividad:hover {
    box-shadow: 0 0.4rem 1.6rem rgba(0, 0, 0, 0.11);
    transform:  translateY(-2px);
}
 
/* ── Tarjeta móvil/tablet: misma apariencia ── */
.tarjeta-actividad--movil {
    background:    #fff;
    border:        0.5px solid #e0e0e0;
    border-radius: 1rem;
    box-shadow:    0 0.2rem 1rem rgba(0, 0, 0, 0.07);
    padding:       1.8rem 1.8rem 2rem;
}
 
/* ── Padding lateral en móvil y tablet para que el
      texto y la tarjeta no toquen los bordes ── */
@media (max-width: 800px) {
 
    /* El contenedor del carrusel móvil tiene padding lateral */
    .carrusel-movil {
        padding: 0 1.2rem;
    }
 
    /* La sección también necesita margen lateral coherente */
    .seccion-carrusel {
        padding-left:  1.2rem;
        padding-right: 1.2rem;
    }
}
 
@media (max-width: 480px) {
    .carrusel-movil {
        padding: 0 1rem;
    }
 
    .seccion-carrusel {
        padding-left:  1rem;
        padding-right: 1rem;
    }
}
 
/* ===== SECCIÓN PROCEDIMIENTO ===== */
.seccion-procedimiento {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 40px;
}

.proc-header {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 50px;
}

.proc-header h2 {
  font-size: 36px;
  font-weight: 800;
  color: var(--grisOscuro);
}

.proc-tag {
  color: #7b68ee;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
}

/* --- Paneles de pasos --- */
.paso-panel {
  display: none;
  animation: fadeInPaso 0.3s ease;
}

.paso-panel.activo {
  display: block;
}

@keyframes fadeInPaso {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0);   }
}

/* --- Layout dos columnas --- */
.paso-contenido {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  padding-bottom: 40px;
}

.col-texto p {
  font-size: 15px;
  line-height: 1.75;
  color: #444;
  text-align: justify;
}

.col-texto p strong { color: #111; }

.col-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* --- Tarjeta de contacto --- */
.contacto-card {
  border-bottom: 2px solid #a51d2d;
  padding-bottom: 14px;
}

.contacto-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--grisOscuro);
  margin-bottom: 6px;
}

.contacto-card .nombre {
  font-size: 15px;
  color: #444;
  margin-bottom: 8px;
}

.contacto-card .emails {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.contacto-card .emails a {
  font-size: 13px;
  color: #444;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
}

.contacto-card .emails a:hover { color: #a51d2d; }

/* --- Ícono SVG genérico --- */
.ico {
  width: 14px;
  height: 14px;
  fill: #c21330;
  flex-shrink: 0;
}

/* --- Links universidades --- */
.links-lista {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 40px;
}

.link-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.link-row .sigla {
  font-weight: 700;
  color: var(--grisOscuro);
  min-width: 44px;
  text-align: right;
}

.link-row a {
  color: #a51d2d;
  text-decoration: none;
  word-break: break-all;
}

.link-row a:hover { text-decoration: underline; }

/* --- Tarjeta de oficina --- */
.oficina-card {
  border-bottom: 1.5px solid #ddd;
  padding-bottom: 12px;
}

.oficina-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: #111;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.oficina-card .datos {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
  color: #555;
}

.oficina-card .dato {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* --- Centro de Acopio --- */
.acopio-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: #111;
  margin-bottom: 10px;
  border-bottom: 2px solid #a51d2d;
  padding-bottom: 8px;
}

.acopio-card .datos {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 14px;
  color: #444;
}

.acopio-card .dato {
  display: flex;
  align-items: center;
  gap: 8px;
}

.acopio-card .fila-doble {
  display: flex;
  gap: 30px;
}

/* --- Línea con botones numerados --- */
.nav-pasos {
  display: flex;
  align-items: center;
  margin-top: 10px;
}

.linea-izq,
.linea-der {
  flex: 1;
  height: 2px;
  background-color: #a51d2d;
}

.botones-pasos {
  display: flex;
  gap: 12px;
  padding: 0 16px;
}

.btn-paso {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #a51d2d;
  background: #fff;
  color: #a51d2d;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-paso:hover {
  background: #f5e0e3;
  transform: scale(1.08);
}

.btn-paso.activo {
  background: #a51d2d;
  color: #fff;
}

/* --- Responsive --- */
@media (max-width: 750px) {
  .seccion-procedimiento { padding: 40px 20px; }
  .paso-contenido { grid-template-columns: 1fr; gap: 30px; }
  .proc-header { flex-direction: column; gap: 6px; }
}

/*Elemento de Separacion*/
.SeparacionPlantas {
    min-height: 15rem;
    margin-bottom: 6rem;
    background-image: url(../IMAGES/SolicitudAD/plantas.png);
}

/*Comentarios*/
/* --- Estilos Generales --- */

/* --- Sección Testimonios (Cuadrícula de tres) --- */
.seccion-testimonios {
    background-color: #f4f4f4;
    padding: 60px 40px;
    max-width: 100%;
}

.contenedor-testimonios {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
/* --- Tarjeta Testimonio Individual --- */
.tarjeta-testimonio {
    background-color: #ffffff;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 0.3rem 1rem rgba(0,0,0,0.07);
    display: flex;
    flex-direction: column;
    align-items: flex-start;   /* alineación izquierda */
    text-align: left;
    justify-content: space-between;   /* empuja el botón al fondo */
}

.cabecera-tarjeta {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-bottom: 1.2rem;
}

.anio-testimonio {
    align-self: flex-start;
    font-size: 0.82em;
    font-weight: 700;
    color: var(--grisOscuro);
    margin-bottom: 1rem;
}

.placeholder-foto {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background-color: #d4d4d4;
    margin-bottom: 0.6rem;
    object-fit: cover;          /* si es <img> recorta bien */
    display: block;
}

/* Nombre centrado */
.tarjeta-testimonio h3 {
    font-size: 0.95em;
    font-weight: 700;
    color: var(--grisOscuro);
    text-align: center;
    margin: 0 0 0.15rem 0;
}

/* Línea roja bajo el nombre */
.tarjeta-testimonio h3::after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    background-color: #c02d41;
    margin-top: 0.5rem;
}

/* Subtítulo de carrera (si lo añades como <p class="testimonio__carrera">) */
.testimonio__carrera {
    font-size: 0.75em;
    color: #888;
    font-style: italic;
    text-align: center;
    margin-bottom: 0.8rem;
}

.cuerpo-tarjeta {
    width: 100%;
    display: flex;
    flex-direction: column;
    flex: 1;                          /* ocupa todo el espacio disponible */
}
 
/* Texto del testimonio en itálica */
.cuerpo-tarjeta p {
    font-size: 0.82em;
    line-height: 1.65;
    color: #555;
    font-style: italic;
    margin-bottom: 1.2rem;
    flex: 1;
}

/* Botón rojo */
.btn-ver-mas {
    display: inline-block;
    padding: 0.45rem 1.6rem;
    background-color: #fff;
    color: #c02d41;
    border: red;
    border: 1px solid var(--rojo);
    border-radius: 0.4rem;
    font-size: 0.78em;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    transition: background-color 0.2s ease;
    align-self: center;
    margin-top: 1rem;
    display: block;
    width: fit-content;
}
 
.btn-ver-mas:hover { 
    background-color: #9e1e30; 
    color: #fff;
}

/* --- ESTILOS DEL MODAL (POP-UP) --- */

.modal {
    display: none; /* Oculto por defecto */
    position: fixed; /* Posicionado relativo a la ventana del navegador */
    z-index: 1000; /* Asegura que esté por encima de todo */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* Habilita el desplazamiento si el contenido es demasiado largo */
    background-color: rgba(0,0,0,0.6); /* Fondo semi-transparente */
    opacity: 0; /* Para la animación de aparición */
    transition: opacity 0.4s ease;
    align-items: center; /* Centrado vertical con flex */
    justify-content: center; /* Centrado horizontal con flex */
}

/* Clase para mostrar el modal */
.modal.mostrar {
    display: flex;
    opacity: 1;
}

.modal-contenido {
    background-color: #fff;
    border-radius: 1rem;
    padding: 3rem 3rem 2.5rem;   /* más espacio arriba para el botón X */
    width: 75%;
    max-width: 820px;
    box-shadow: 0 1.5rem 4rem rgba(0,0,0,0.22);
    position: relative;
    animation: modalEntrada 0.28s ease;
}

@keyframes modalEntrada {
    from { opacity: 0; transform: scale(0.95) translateY(10px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* Animación de escalado al mostrar el modal */
.modal.mostrar .modal-contenido {
    transform: scale(1);
}

/* Botón cerrar — subido y alejado del contenido */
.btn-cerrar {
    position: absolute;
    top: 1rem;          /* sale un poco por encima del modal */
    right: 1rem;
    width: 3rem;
    height: 3rem;
    border-radius: 100%;
    background-color: #c02d41;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 2;
    transition: background-color 0.2s ease, transform 0.15s ease;
    z-index: 10;
}

.btn-cerrar:hover {
    background-color: #9e1e30;
    transform: scale(1.1);
}


/* Grid del modal */
.grid-modal {
    display: grid;
    grid-template-columns: 28% 1fr;
    gap: 2.5rem;
    align-items: start;
}

/* Columna izquierda */
.modal-columna-izq {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}

.modal-columna-izq .anio-testimonio {
    align-self: flex-start;
    font-size: 0.8em;
    font-weight: 700;
    color: #444;
    margin-bottom: 0.6rem;
}

/* Foto grande en el modal */
.placeholder-foto-grande {
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background-color: #d4d4d4;
    object-fit: cover;
    display: block;
    margin-bottom: 0.8rem;
}

.modal-columna-izq h3 {
    font-size: 0.95em;
    font-weight: 700;
    color: #222;
    text-align: center;
    margin: 0;
}

/* Divisor punteado */
.divisor-punteado {
    width: 100%;
    border-top: 2px dashed #ddd;
    color: transparent;
    margin-top: 0.6rem;
}

.modal-columna-izq .placeholder-foto-grande {
    width: 200px;
    height: 200px;
    background-color: #ccc;
    border-radius: 50%;
    margin-bottom: 20px;
}


/* Columna derecha */
.modal-columna-der {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 0.5rem;
}

.modal-columna-der p {
    font-size: 0.88em;
    line-height: 1.85;
    color: #555;
    font-style: italic;
}
.btn-cerrar:hover { color: #c02d41; }

/* --- Responsive --- */
@media (max-width: 768px) {
    .contenedor-testimonios {
        grid-template-columns: 1fr; /* Una columna en dispositivos pequeños */
    }
    .grid-modal {
        grid-template-columns: 1fr;
    }
    .modal-columna-izq .anio-testimonio {
        align-self: center; /* Centra el año en el modal para móviles */
    }
}

/* Responsive */
@media (max-width: 600px) {
    .grid-modal { grid-template-columns: 1fr; }
    .modal-columna-izq { align-items: center; }
    .modal-columna-izq .anio-testimonio { align-self: center; }
}

/*Elemento de Separacion*/
.SeparacionPlantas {
    min-height: 15rem;
    margin-bottom: 6rem;
    background-image: url(../IMAGES/SolicitudAD/plantas.png);
}

/* ── MODAL MÁS ANCHO + SCROLL INTERNO ───────────────────── */
.modal-contenido {
    width: 85%;           /* antes: 75% */
    max-width: 1000px;    /* antes: 820px */
    max-height: 85vh;     /* limita la altura a 85% de la pantalla */
    overflow-y: auto;     /* scroll interno cuando el texto es largo */
    padding: 3rem 3.5rem 2.5rem;
}

/* El grid de columnas también se ajusta al nuevo ancho */
.grid-modal {
    grid-template-columns: 22% 1fr;   /* columna izq un poco más estrecha */
    gap: 3rem;
    align-items: start;
}

/* La columna derecha queda bien legible con el scroll */
.modal-columna-der p {
    font-size: 0.86em;
    line-height: 1.9;
    color: #555;
    font-style: italic;
    text-align: justify;
}

/* Scrollbar discreta dentro del modal */
.modal-contenido::-webkit-scrollbar {
    width: 5px;
}
.modal-contenido::-webkit-scrollbar-track {
    background: transparent;
}
.modal-contenido::-webkit-scrollbar-thumb {
    background: #b80505;
    border-radius: 3px;
}

/* ── 1. UNIFICACIÓN DE FONDO ──────────────────────────
   Cambia el fondo gris a blanco para que sea consistente
   con el resto de secciones de la página.
   ──────────────────────────────────────────────────── */
.seccion-testimonios {
    background-color: #ffffff;
    padding: 60px 40px;
}
 
/* El contenedor interno hereda el blanco */
.contenedor-testimonios {
    background-color: #ffffff;
}
 
 
/* ── 2. ESCRITORIO vs MÓVIL: visibilidad ─────────────
   En escritorio (> 900px): cuadrícula original visible,
   carrusel móvil oculto.
   En tablet/móvil (≤ 900px): cuadrícula oculta,
   carrusel visible.
   ──────────────────────────────────────────────────── */
@media (min-width: 901px) {
    .contenedor-testimonios   { display: grid; }   /* restaura el grid de escritorio */
    .testimonios-carrusel     { display: none;  }
}
 
@media (max-width: 900px) {
    /* Oculta la cuadrícula original */
    .contenedor-testimonios   { display: none;  }
 
    /* Ajuste de padding de la sección en tablet/móvil */
    .seccion-testimonios {
        padding: 40px 20px;
    }
 
    /* Muestra el carrusel */
    .testimonios-carrusel     { display: block; }
}
 
 
/* ── 3. CARRUSEL DE TESTIMONIOS (móvil/tablet) ───────  */
 
.testimonios-carrusel {
    width: 100%;
    max-width: 560px;       /* limita el ancho en tablets grandes */
    margin: 0 auto;
    box-sizing: border-box;
}
 
/* Track: apila las tarjetas, solo la activa es visible */
.testimonios-carrusel__track {
    position: relative;
    min-height: 300px;
}
 
/* Tarjeta en modo carrusel: oculta por defecto */
.tarjeta-testimonio--movil {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    box-sizing: border-box;
    background-color: #ffffff;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 0.3rem 1rem rgba(0, 0, 0, 0.07);
    animation: fadeInTestimonio 0.35s ease;
}
 
/* Única tarjeta visible */
.tarjeta-testimonio--movil.activa {
    display: flex;
}
 
@keyframes fadeInTestimonio {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0);   }
}
 
/* Barra de navegación */
.testimonios-carrusel__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 28px;
}
 
/* Dots específicos para testimonios (clase dot-t para no colisionar con .dot del carrusel de actividades) */
.testimonios-carrusel__dots {
    display: flex;
    align-items: center;
    gap: 8px;
}
 
.dot-t {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #d4d4d4;
    transition: background-color 0.25s ease, transform 0.25s ease;
    flex-shrink: 0;
    cursor: pointer;
}
 
.dot-t.activo {
    background-color: #a51d2d;
    transform: scale(1.3);
}
 
 
/* ── 4. MODAL RESPONSIVO (acomodo vertical) ──────────
   En pantallas ≤ 768px el grid de 2 columnas del modal
   se convierte en columna única con orden: año → foto
   → nombre → carrera → divisor → texto.
   ──────────────────────────────────────────────────── */
@media (max-width: 768px) {
 
    /* El modal ocupa casi toda la pantalla */
    .modal-contenido {
        width: 92%;
        max-width: 420px;
        padding: 2.5rem 1.8rem 2rem;
        max-height: 88vh;
        overflow-y: auto;
    }
 
    /* Una sola columna */
    .grid-modal {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
 
    /* Columna izquierda: todo centrado */
    .modal-columna-izq {
        align-items: center;
        text-align: center;
    }
 
    .modal-columna-izq .anio-testimonio {
        align-self: center;
        margin-bottom: 1rem;
    }
 
    /* Foto más pequeña en móvil */
    .placeholder-foto-grande {
        width: 140px;
        height: 140px;
        margin-bottom: 0.6rem;
    }
 
    .modal-columna-izq h3 {
        text-align: center;
    }
 
    /* Carrera centrada si existe */
    #modal-carrera {
        text-align: center;
    }
 
    /* Columna derecha: texto justificado */
    .modal-columna-der {
        padding-top: 0;
    }
 
    .modal-columna-der p {
        font-size: 0.85em;
        line-height: 1.8;
        text-align: justify;
    }
}
 
@media (max-width: 480px) {
    .modal-contenido {
        width: 96%;
        padding: 2rem 1.4rem 1.8rem;
    }
 
    .placeholder-foto-grande {
        width: 120px;
        height: 120px;
    }
 
    .modal-columna-der p {
        font-size: 0.82em;
    }
}

/* ═══════════════════════════════════════════════════════
   PARCHE FLECHAS v2 — servicio social
   Pegar al final del CSS principal.
   Anula completamente .btn-flecha y aplica
   el estilo idéntico a .btn-nav-ptar / .proyectos__nav-btn
═══════════════════════════════════════════════════════ */
 
.btn-flecha.btn-nav-unificado {
    /* Anular estilos heredados de .btn-flecha */
    background-color: white !important;
    background:       white !important;
    box-shadow:       none !important;
    font-size:        unset !important;
 
    /* Estilo unificado — idéntico a .btn-nav-ptar */
    width:            2.8rem !important;
    height:           2.8rem !important;
    border-radius:    50% !important;
    border:           0.15rem solid var(--rojo) !important;
    color:            var(--rojo) !important;
    cursor:           pointer;
    display:          flex !important;
    align-items:      center !important;
    justify-content:  center !important;
    flex-shrink:      0;
    transition:       background var(--transicion, 0.2s ease),
                      color var(--transicion, 0.2s ease);
    padding:          0;
}
 
.btn-flecha.btn-nav-unificado:hover {
    background-color: var(--rojo) !important;
    background:       var(--rojo) !important;
    color:            white !important;
}
 
.btn-flecha.btn-nav-unificado svg {
    width:       1.2rem !important;
    height:      1.2rem !important;
    stroke:      currentColor !important;
    fill:        none !important;
    display:     block;
    flex-shrink: 0;
    min-width:   unset !important;
}