* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
}

body {
    background-color: #f5f5f5;
}

.guia-contenedor {
    max-width: 1300px;
    margin: 40px auto;
    padding: 20px;
    margin-top: 80px;
}

.guia-tarjetas-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.guia-tarjeta {
    /* background-color: #e0e0e0; */
    border-radius: 20px;
    position: relative;
    width: 400px;
    height: 400px;
    overflow: hidden;
    transition: all 0.3s ease;
    /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); */
    flex: 0 0 auto;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.guia-tarjeta:hover {
    transform: translateY(-5px);
    /* box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15); */
}

.guia-contenido {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    color: #333;
    transition: all 0.3s ease;
}

.guia-tarjeta:hover .guia-contenido {
    transform: translateY(-10px);
}

.guia-titulo {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 13px;
    line-height: 1.3;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.guia-boton {
    background-color: transparent;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid white;
}

.guia-boton::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.guia-boton:hover {
    /* background-color: #d8d8d8; */
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.guia-boton:hover::before {
    left: 100%;
}

.guia-boton:active {
    transform: translateY(0);
}

@media (max-width: 900px) {
    .guia-tarjeta {
        width: 320px;
        height: 320px;
    }
}

@media (max-width: 600px) {
    .guia-tarjetas-wrapper {
        flex-direction: column;
        gap: 20px;
    }
    
    .guia-tarjeta {
        width: 100%;
        height: 300px;
        max-width: 360px;
        margin: 0 auto;
    }
    
    .guia-contenido {
        bottom: 20px;
        left: 20px;
        right: 20px;
    }
    
    .guia-titulo {
        font-size: 1.3rem;
    }
}